Skip to content

Calculate total coverage from a Go coverage profile, excluding generated files

License

Notifications You must be signed in to change notification settings

neilgarb/covertool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

covertool

Calculate total coverage from a Go coverage profile, excluding generated files.

Example usage:

go test -coverprofile=cover.out ./...
covertool -profile=cover.out

# Example output:
total: (statements) 32.66%

Installation:

go install github.com/neilgarb/covertool@latest

Resources:

About

Calculate total coverage from a Go coverage profile, excluding generated files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages