run test flutter code example
Example 1: test reports in unit tests flutter
flutter pub getflutter pub global activate junitreport
Example 2: test reports in unit tests flutter
flutter test --machine | tojunit --output <Your output file>.xml
Example 3: flutter runApp
void runApp(Widget app) {
WidgetsFlutterBinding.ensureInitialized()
..scheduleAttachRootWidget(app)
..scheduleWarmUpFrame();
}