coverage_badge
This brick will generate the code coverage svg for your code that in turn can be used in as badge. Following are the ranges for the badge color
RED => (0, 50)
YELLOW => (50, 80)
GREEN => 80+
Getting Started š
It is easy to use:
$ mason make coverage_badge
This will prompt you to enter the percentage like below
$ Enter the your code coverage percentage? (0.0)
And that is it, you can find the coverage_badge svg file in your root project
You can also provide the output directory by:
$ mason make coverage_badge -o <output-directory>
For more info, you can also use:
$ mason -h
$ mason make -h