• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

cmd/gocovmerge/H07-May-2018-

LICENSEH A D07-May-20181.3 KiB

README.mdH A D07-May-2018752

gocovmerge.goH A D07-May-20182.9 KiB

README.md

1gocovmerge
2==========
3
4This is a fork of https://github.com/wadey/gocovmerge. It converts it into a
5library and introduces idiomatic error handling. The original command's
6functionality is provided by github.com/shabbyrobe/gocovmerge/cmd/gocovmerge.
7
8--
9
10gocovmerge takes the results from multiple `go test -coverprofile` runs and
11merges them into one profile.
12
13usage
14-----
15
16    gocovmerge [coverprofiles...]
17
18gocovmerge takes the source coverprofiles as the arguments (output from
19`go test -coverprofile coverage.out`) and outputs a merged version of the
20files to standard out. You can only merge profiles that were generated from the
21same source code. If there are source lines that overlap or do not merge, the
22process will exit with an error code.
23