coverageerrors

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2018 License: MIT Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL