stleary / JSON-java

A reference implementation of a JSON package in Java.
http://stleary.github.io/JSON-java/index.html
Other
4.54k stars 2.56k forks source link

Suggestion: Code Coverage Badge #865

Closed Simulant87 closed 9 months ago

Simulant87 commented 9 months ago

This project has a very good unit test coverage, something to show and be proud of.

Would you like to add a code coverage badge on the Readme? There are some examples on how to do it with github actions:

https://github.com/marketplace/actions/badge-action https://stackoverflow.com/a/63765701/1515052

stleary commented 9 months ago

@Simulant87 Actually there are a lot of gaps in the unit tests, which is probably unavoidable for a non-trivial application. I would prefer not to claim code-coverage glory for the project at this time.