gocovermerge

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2017 License: MIT Imports: 8 Imported by: 0

README

gocovermerge

Travis CI AppVeyor Codecov Coveralls

Install it with go get:

go get -u github.com/AlekSi/gocovermerge

gocovermerge contains two commands: merge and test.

Merge command merges several go coverage profiles into a single file. Run gocovermerge merge -h for usage information. Example:

gocovermerge -coverprofile=cover.out merge internal/test/package1/package1.out internal/test/package2/package2.out

Test command runs go test -cover with correct flags and merges profiles. Packages list is passed as arguments; they may contain ... patterns. The list is expanded, sorted and duplicates are removed. go test -coverpkg flag is set automatically to include all packages. If tests are failing, gocovermerge exits with a correct exit code. Run gocovermerge test -h for usage information. Example:

gocovermerge -coverprofile=cover.out test -v -covermode=count github.com/AlekSi/gocovermerge/internal/test/...

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package gocovermerge implements merging of go cover profiles and running go test -cover with correct flags.
Package gocovermerge implements merging of go cover profiles and running go test -cover with correct flags.
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL