package
0.5.0
Repository: https://github.com/go-gremlins/gremlins.git
Documentation: pkg.go.dev

# Functions

New instantiates a Coverage element using exec.Command as execContext, actually running the command on the OS.
NewWithCmd instantiates a Coverage element given a custom execContext.

# Structs

Block holds the start and end coordinates of a section of a source file covered by tests.
Coverage is responsible for executing a Go test with coverage via the Run() method, then parsing the result coverage report file.
Result contains the Profile generated by the coverage and the time it took to generate the coverage report.

# Type aliases

Option for the Coverage initialization.
Profile is implemented as a map holding a slice of Block per each filename.