Overview
The testreport package processes Dart test results from JSON output generated by the Dart test runner. It provides a structured API to parse, analyze, and extract meaningful information from test outcomes, such as pass/fail status, durations, and errors. This is particularly useful for integrating test results into CI/CD pipelines, generating reports, or visualizing test performance across platforms. The library supports all major Flutter platforms, making it ideal for cross-platform testing workflows.
Use cases
- CI/CD integration
- Test result analysis
- Automated reporting
- Cross-platform testing
- Test dashboarding
Key features
- JSON result parsing
- Platform-agnostic
- Error and duration extraction
- Structured data API
- Supports all Flutter platforms
Suitable for
- CI/CD systems
- Test automation teams
- Quality assurance engineers
- Developers using Flutter
- Reporting tools
Considerations
- Requires JSON output from dart test runner
- Limited to post-test processing
- No real-time test monitoring
- Dependent on test runner output format
- Not for running tests directly