test_coverage_badge 0.3.2 test_coverage_badge: ^0.3.2 copied to clipboard
This package provides a CLI tool to generate and display test coverage badges for Dart projects.
Flutter Test Coverage Badge #
Getting Started #
Install #
dart pub add dev:test_coverage_badge
flutter pub get
Run tests and generate badge image #
dart run test_coverage_badge
Or provide coverage file to generate badge for it #
dart run test_coverage_badge --file lcov.info
Show the badge #
![Coverage](https://<URL_TO_REPO>/coverage_badge.svg?sanitize=true)