flutter unit test 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
flutter pub getflutter pub global activate junitreport
flutter test --machine | tojunit --output <Your output file>.xml