0 purchases
dart test adapter
Dart test adapter
A package for executing `dart test`/`flutter test` using plain Dart code
License
dart_test_adapter revolves two functions:
dartTest();
flutterTest();
copied to clipboard
These functions respectively execute dart test or flutter test.
Both functions return a Stream of events representing the Dart Test protocol.
As such, it is possible to write code like:
dartTest()
.where((e) => e is TestEventTestStart)
.cast<TestEventTestStart>()
.forEach((start) => print(start.test.name));
copied to clipboard
This code will run the tests of a project and print their names as they start.
Built and maintained by Invertase.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.