Skip to content

Generate a unified coverage file for all your Go code

License

Notifications You must be signed in to change notification settings

philwinder/gocoverage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI Coverage Status Go Report Card

gocoverage

A simple flexible tool to generate a unified coverage file for all your Go code.

Continuous Integration with coveralls.io

Use with mattn/goveralls to send metrics to coveralls.io:

go get github.com/philwinder/gocoverage
go get github.com/mattn/goveralls
gocoverage
goveralls -coverprofile=profile.cov -service=circle-ci -repotoken=${COVERALLS_TOKEN}

Options

Usage of gocoverage:
  -dir string
        Directory to start recursing for tests (default ".")
  -ignore string
        RegEx that ignores files and folders. Default ignores hidden folders and vendor folder. (default "\\/(vendor|\\.\\w+)")
  -output string
        Filename for the output coverage file. (default "profile.cov")

About

Generate a unified coverage file for all your Go code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages