Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/natefinch/covergen
autogenerate a coverage badge for your README with with one dumb trick
https://github.com/natefinch/covergen
Last synced: 28 days ago
JSON representation
autogenerate a coverage badge for your README with with one dumb trick
- Host: GitHub
- URL: https://github.com/natefinch/covergen
- Owner: natefinch
- License: mit
- Created: 2014-06-16T20:52:40.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-17T11:58:39.000Z (over 10 years ago)
- Last Synced: 2023-04-06T02:57:22.441Z (over 1 year ago)
- Language: Go
- Size: 137 KB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Covergen ![Coverage](http://img.shields.io/badge/coverage-100.0%25-brightgreen.svg)
Autoupdate a coverage badge in your README.md with this one dumb trick!
To try it out:
```shell
go get github.com/natefinch/covergen
```Then run go test:
```shell
go test
```Now run git diff... the url for the coverage badge in README.md is updated automagically! No other commands need be run.
Check out covergen_test.go for how it works.
The only drawback is that you more than double the time it takes to run your tests...