Closed kluverua closed 2 years ago
I fixed this error by upgrading this library to null safety version (fixed sorces)
For those who faced the same problem: You can take fixed exe file from archive or compile it yourself: dart compile exe bin/tojunit.dart
A null-safe version 2.0.0 has just been released.
After running this command
flutter test --machine | tojunit --output TEST-report.xml
I get an errorBad state: not started
and empty TEST-report.xml file At the same time this commandflutter test --machine
work well and writes correct results to console.This behavior appeared after flutter update flater version 2.0.3. junitreport version 1.3.1.