Documentation
¶
Overview ¶
Package coverageerrors contains error types specific to coverage analysis.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoverageBelowStandard ¶
type CoverageBelowStandard struct {
// contains filtered or unexported fields
}
CoverageBelowStandard is an error returned when unit test coverage is below a set standard.
func NewCoverageBelowStandardError ¶
func NewCoverageBelowStandardError(standardPercentage, actualPercentage float64) CoverageBelowStandard
NewCoverageBelowStandardError returns a CoverageBelowStandard error.
func (CoverageBelowStandard) Error ¶
func (e CoverageBelowStandard) Error() string
type UnitTestFailed ¶
type UnitTestFailed struct{}
UnitTestFailed represents an error that results from one or more unit tests having failed during coverage analysis.
func NewUnitTestFailedError ¶
func NewUnitTestFailedError() UnitTestFailed
NewUnitTestFailedError return a UnitTestFailed error.
func (UnitTestFailed) Error ¶
func (e UnitTestFailed) Error() string
Source Files
¶
- api.go
Click to show internal directories.
Click to hide internal directories.