Dart test coverage
SonarQube Server supports the reporting of test coverage information as part of the analysis of your Dart project.
Adjust your setup
Adding coverage to your build process
# example for a Flutter project
flutter test --coverage
# example for a Dart project
dart pub global activate coverage
dart pub global run coverage:test_with_coverageAdding the coverage analysis parameter
Coverage parameters can be set in multiple places
Related pages
Last updated
Was this helpful?

