covadge 0.0.1 copy "covadge: ^0.0.1" to clipboard
covadge: ^0.0.1 copied to clipboard

A flutter package to generate coverage badges and adding them to your project.

Bundle Coverage

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

Generate the badge #

flutter pub run covadge {LCOV_INFO_PATH} {OUTPUT_DIRECTORY}

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)

All possible generated badges colors options #

0%5%10%

15%20%25%

30%35%40%

45%50%55%

60%65%70%

75%80%85%

90%95%1000%

To do #

We're working on making Covadge a Github Action, to avoid dependencies in your project.

0
likes
100
pub points
62%
popularity

Publisher

unverified uploader

A flutter package to generate coverage badges and adding them to your project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

args, flutter, path

More

Packages that depend on covadge