coverage

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(executableName string) (run bool)

Setup setups the coverage stuff.

Types

type Data

type Data struct {
	Counter int `yaml:"counter"`
}

Data holds the counter of the current coverage data file of a run. Gets incremented in each run, to accumulate multiple files. This is a go-coverage tooling workaround.

func ReadCoverData

func ReadCoverData(executableName string) (coverDir string, covDataFile string, covData Data)

ReadCoverData reads coverage data.

Jump to

Keyboard shortcuts

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