flutter test dart file 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