/cover.run

Code coverage

Primary LanguageGoMIT LicenseMIT

Build Status

cover - Generate test coverage badge for any public Go package. Supported Go versions

  • 1.11
  • 1.10
  • 1.9
  • 1.8

Supported badge styles

  • flat coverage
  • flat-square coverage

Style is specified as a query string parameter, e.g. https://cover.run/github.com/avelino/cover.run.svg?style=flat-square

Pre-requisites

  1. Docker
  2. Docker compose

How to run?

$ cd $GOPATH/src/github.com/avelino/cover.run
# build.sh builds all the required Docker images for running the tests
$ ./build.sh
$ docker-compose up