test_coverage_badge library
Functions
-
getBadgeSvg(
double lineCoverage) → String -
lineCoverage(
File file) → double - Parses the provided LCOV file to calculate the line coverage.
-
runTestsWithCoverage(
String packageRoot) → Future< bool> - Runs Flutter tests with coverage enabled in the specified package root.