Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

shabbyrobe/gocovmerge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: This repo has moved to https://git.sr.ht/~shabbyrobe/gocovmerge. The new import path is go.shabbyrobe.org/gocovmerge.


gocovmerge

This is a fork of https://github.com/wadey/gocovmerge. It converts it into a library and introduces idiomatic error handling. The original command's functionality is provided by github.com/shabbyrobe/gocovmerge/cmd/gocovmerge.

--

gocovmerge takes the results from multiple go test -coverprofile runs and merges them into one profile.

usage

gocovmerge [coverprofiles...]

gocovmerge takes the source coverprofiles as the arguments (output from go test -coverprofile coverage.out) and outputs a merged version of the files to standard out. You can only merge profiles that were generated from the same source code. If there are source lines that overlap or do not merge, the process will exit with an error code.

About

Merge coverprofile results from multiple go cover runs. Moved to sourcehut.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%