0 purchases
covadge
Covadge #
A flutter package to generate coverage badges and adding them to your project.
Usage #
To use this plugin, add covadge as a dependency in your pubspec.yaml file.
Run test with coverage #
flutter test --coverage
copied to clipboard
Generate the badge #
flutter pub run covadge {LCOV_INFO_PATH} {OUTPUT_DIRECTORY}
copied to clipboard
LCOV_INFO_PATH defaults to coverage/lcov.info.
OUTPUT_DIRECTORY defaults to ./ assuming you're on your root.
Add your badge to the README.md #
![Coverage](./coverage_badge.svg)
copied to clipboard
All possible generated badges colors options #
To do #
We're working on making Covadge a Github Action, to avoid dependencies in your project.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.