gocovmerge

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: BSD-2-Clause Imports: 5 Imported by: 2

README

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.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddProfile

func AddProfile(profiles []*cover.Profile, p *cover.Profile) []*cover.Profile

func DumpProfiles

func DumpProfiles(profiles []*cover.Profile, out io.Writer)

Types

This section is empty.

Directories

Path Synopsis
cmd
gocovmerge
gocovmerge takes the results from multiple `go test -coverprofile` runs and merges them into one profile
gocovmerge takes the results from multiple `go test -coverprofile` runs and merges them into one profile

Jump to

Keyboard shortcuts

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