Documentation
¶
Overview ¶
Package coverdata provides a registration function for files with coverage instrumentation.
This package is part of the Bazel Go rules, and its interface should not be considered public. It may change without notice.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Counters = make(map[string][]uint32) Blocks = make(map[string][]testing.CoverBlock) SrcPathMapping = make(map[string]string) )
Contains all coverage data for the program.
Functions ¶
func RegisterFile ¶
RegisterFile causes the coverage data recorded for a file to be included in program-wide coverage reports. This should be called from init functions in packages with coverage instrumentation.
func RegisterSrcPathMapping ¶ added in v0.56.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.