A brick that generates a single entrypoint for Dart tests.
Generated by mason 🧱
mason make test_optimizer --package-root ./path/to/package --on-conflict overwrite
The above command will generate a .test_optimizer.dart
in the test
directory that imports and executes all tests
// GENERATED CODE - DO NOT MODIFY BY HAND
// Consider adding this file to your .gitignore.
import 'app/view/app_test.dart' as _a;
import 'counter/cubit/counter_cubit_test.dart' as _b;
import 'counter/view/counter_page_test.dart' as _c;
void main() {
group('app_view_app_test_dart', () { _a.main(); });
group('counter_cubit_counter_cubit_test_dart', () { _b.main(); });
group('counter_view_counter_page_test_dart', () { _c.main(); });
}