Documentation
¶
Overview ¶
Package coverage collects and isolates Go, Node/V8, and source-level Istanbul browser coverage artifacts produced by framework test blocks.
Package coverage collects coverage artifacts from a block's containers.
Index ¶
Constants ¶
View Source
const EnvOut = "IT_COVERAGE_OUT"
EnvOut overrides the default coverage output directory.
View Source
const GuestDir = "/coverage"
GuestDir is the coverage directory inside instrumented containers.
Variables ¶
This section is empty.
Functions ¶
func WriteIstanbulReport ¶
WriteIstanbulReport writes one browser coverage snapshot atomically.
Types ¶
type Sink ¶
type Sink struct {
// contains filtered or unexported fields
}
Sink stores counters in separate directories for each block and service.
func (*Sink) BrowserDir ¶
BrowserDir returns a unique directory for one browser scenario.
Click to show internal directories.
Click to hide internal directories.