2.2.1 • Published 6 years ago

badgifier v2.2.1

Weekly downloads
6
License
MIT
Repository
github
Last release
6 years ago

Badgifier

Build Status codecov dependencies Status code-style

Generate your badges without third-parties services

Why?

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.

What's supported?

Currently only clover reports. Working to bring all the standard reporters and even let you input your own.

How?

The first time you need to add a placeholder on your destination file. Can be both markdown or HTML:

![badgifier-cobertura]

Then because Badgifier is a cli command just execute it:

badgifier -i coverage/clover.xml -o README.md

What params the cli accepts:

optionaliasdefaultdescription
formatf'markdown'In which language your placeholder is (md or html)
inputi'./coverage/clover.xml'From where to read coverage report
outputoconsole.logWhere to send the badge
rater(Internal)Which formula will use to calculate the value
threshold-highth95From which value is a green situation
threshold-lowtl65Until which value is a red situation

Contributing

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

2.2.1

6 years ago

2.2.0

6 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.0

7 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.1

9 years ago