grafovdenis · GitHub

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 /test repo: dart-lang/test#1760.
There we found out, that the plugin could interprete expressions like 'is $Object' incorrectly.

To Reproduce
Run 'is $Object' test.

"import 'package:test/test.dart'; class MyObj { final number = 10; bool foo() => true; } void main() { group('$MyObj', () { late MyObj myObj; setUp(() { myObj = MyObj(); }); test('is $Object', () { expect(myObj, isA

Read the original on github.com ↗