badgifier2.2.1 • Public • Published
Generate your badges without third-parties services
You want to just plug and play something to have a cool and very meaningful test coverage badge on your README. Or you have a private repo and don't want to integrate with any SaaS.
clover reports. Working to bring all the standard reporters and even let you input your own.
The first time you need to add a placeholder on your destination file. Can be both markdown or HTML:
Then because Badgifier is a cli command just execute it:
badgifier -i coverage/clover.xml -o README.md
What params the cli accepts:
||'markdown'||In which language your placeholder is (md or html)|
||'./coverage/clover.xml'||From where to read coverage report|
||Where to send the badge|
||(Internal)||Which formula will use to calculate the value|
||95||From which value is a green situation|
||65||Until which value is a red situation|
Right now we're really interesting into knowing which reporters will you want to be supported out of the box. And also, what's broken when you use it. So, open as many issues as you feel like 🕵🏽♀️
And, of course, any PR is more than welcome :P