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

Support fast "run tests" when the test set only includes/excludes full files #3599

Closed
DanTup opened this issue Oct 7, 2021 · 1 comment
Closed
Labels
in testing Relates to test execution of Dart/Flutter tests for end users is enhancement
Milestone

Comments

@DanTup
Copy link
Member

DanTup commented Oct 7, 2021

When running "Run All Tests" with noDebug from the VS Code runner, we will do the fast thing (run dart test test instead of sequentially running each file) only if you're running the whole set.

However, it should be possible to do the same if the selection is a complete set of files (eg. all included TestItems are suites) and any exclusions are also complete files (or groups/tests that are not in the included set).

@DanTup DanTup added is enhancement in testing Relates to test execution of Dart/Flutter tests for end users labels Oct 7, 2021
@DanTup DanTup added this to the v3.28.0 milestone Oct 7, 2021
@DanTup DanTup changed the title Support fast "run all tests" when the test set only includes/excludes full files Support fast "run tests" when the test set only includes/excludes full files Oct 7, 2021
@DanTup
Copy link
Member Author

DanTup commented Oct 7, 2021

This requires being able to pass multiple files to the DA (whereas right now we pass a single program that is the test folder).

Some comments/ideas on https://github.com/Dart-Code/Dart-Code/tree/faster-multiple-suites branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in testing Relates to test execution of Dart/Flutter tests for end users is enhancement
Projects
None yet
Development

No branches or pull requests

1 participant