Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundle all tests into a single app binary #1004

Closed
8 of 9 tasks
bartekpacia opened this issue Mar 1, 2023 · 3 comments
Closed
8 of 9 tasks

Bundle all tests into a single app binary #1004

bartekpacia opened this issue Mar 1, 2023 · 3 comments
Assignees
Labels
feature New feature request

Comments

@bartekpacia
Copy link
Contributor

bartekpacia commented Mar 1, 2023

We want to fix flutter/flutter#115751 in Patrol, and (hopefully) upstream it to Flutter.

The idea and implementation is described in-depth in flutter/flutter#115751 (comment) and flutter/flutter#115751 (comment).

Tasks:

Additionaly:

Except from being a significant speedup (from $O(n)$ to $O(1)$ in build time), it'll also solve:

  • better test reports (currently results from each Dart file end up in a separate report)
  • test sharding
@bartekpacia
Copy link
Contributor Author

bartekpacia commented May 25, 2023

Important caveats

General

  • cannot use setUp(), setUpAll(), tearDown(), tearDownAll()
  • cannot use group()

iOS

@bartekpacia
Copy link
Contributor Author

Problems, bugs, and shortcuts taken should be documented in #1341.

@jBorkowska jBorkowska unpinned this issue Aug 21, 2023
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature request
Projects
None yet
Development

No branches or pull requests

2 participants