-
Notifications
You must be signed in to change notification settings - Fork 342
Multiple tests execution #4150
Copy link
Copy link
Closed
Labels
in testingRelates to test execution of Dart/Flutter tests for end usersRelates to test execution of Dart/Flutter tests for end usersis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.An enhancement or improvement that should be listed in release notes but is not a bug fix.
Milestone
Metadata
Metadata
Assignees
Labels
in testingRelates to test execution of Dart/Flutter tests for end usersRelates to test execution of Dart/Flutter tests for end usersis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.An enhancement or improvement that should be listed in release notes but is not a bug fix.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
Once you're trying to run test, which description contains variable or type used in other test, multiple tests would be executed.
This could be annoying if you're using some kind of BLoC/Redux actions, which types may be located in multiple test descriptions.
Simular issue in
/testrepo: dart-lang/test#1760.There we found out, that the plugin could interprete expressions like
'is $Object'incorrectly.To Reproduce
Run
'is $Object'test.Expected behavior
Running
'is $Object'test, via IDE would execute only selected test.Screenshots


It seems like plugin runs test like this.
Where
$Objectis an empty env. Which means, that we try to run test with'is 'description, which also suits for the second test.Please complete the following information: