Skip to content

cixel/cover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coverage instrumentation program created for lightning talk at GopherCon 2024: github.com/cixel/gc2024

This is just a learning tool and should not be used seriously. If you need code coverage, please use the coverage tool built into Go.

Usage

$ go install ehden.net/cover@latest
$ go build -toolexec cover

The COVER_PATHS environment variable can contain a comma-separated list of packages which should be instrumented. If missing or empty, only the main package is instrumented.

If COVER_PATHS=*, all packages in the build will be instrumented. This is rather expensive and isn't recommended, but could be fun.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages