Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCoverage ¶
func GetCoverage() float64
GetCoverage returns the total coverage percentage for the test package
func InitializeCoverage ¶
InitializeCoverage initializes the runtime coverage.
Types ¶
type TestCoverage ¶
type TestCoverage interface { // CollectCoverageBeforeTestExecution collects coverage before test execution. CollectCoverageBeforeTestExecution() // CollectCoverageAfterTestExecution collects coverage after test execution. CollectCoverageAfterTestExecution() }
TestCoverage is the interface for collecting test coverage.
func NewTestCoverage ¶
func NewTestCoverage(sessionID, moduleID, suiteID, testID uint64, testFile string) TestCoverage
NewTestCoverage creates a new test coverage.
Click to show internal directories.
Click to hide internal directories.