junitreport 2.0.2 junitreport: ^2.0.2 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 supported command line flags.