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

Don't allow invoking tests for files that may not work with pub run test #1460

Closed
DanTup opened this issue Feb 13, 2019 · 0 comments
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 Feb 13, 2019

CodeLens and "Run Test at Cursor" shouldn't appear for files that don't end with _test.dart as they're not test entry points and may error (see discussion from flutter/devtools#232 (comment)).

The best way to run a single test is to first run the entry point, then re-run it from the test explorer tree.

@DanTup DanTup added is enhancement in testing Relates to test execution of Dart/Flutter tests for end users labels Feb 13, 2019
@DanTup DanTup added this to the v2.23.0 milestone Feb 13, 2019
@DanTup DanTup closed this as completed in 650d5b7 Feb 13, 2019
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