A fork of https://github.com/pierrre/gotestcover that integrates https://github.com/wadey/gocovmerge.
- Coverage profile with multiple packages (
go test
doesn't support that) - Merges coverage profiles
- Show total coverages and statements
- Show a hot spot report of the 10 packages containing the most uncovered statements
go get github.com/crazytyper/gotestcover
gotestcover -coverprofile=cover.out mypackage
go tool cover -html=cover.out -o=cover.html
Run on multiple package with:
package1 package2
package/...
Some go test / build
flags are available.