junitreport 2.0.1 junitreport: ^2.0.1 copied to clipboard
Generate JUnit XML reports from dart test runs. Transforms the output of dart or flutter tests to JUnit style XML
Example #
dart test simple_test.dart --reporter json > example.jsonl
dart pub global run junitreport:tojunit --input example.jsonl --output TEST-report.xml
or after running dart pub global activate junitreport
:
dart test simple_test.dart --reporter json | tojunit > TEST-report.xml
See dart pub global run junitreport:tojunit --help
or simply tojunit -h
for all supprted command line flags.