Documentation ¶
Overview ¶
Package report parses output of "go test" tool, formats and provides information about uncovered packages and failed tests
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FailureGroup ¶
FailureGroup is a set of packages with failed tests
type Formatter ¶
type Formatter struct {
// contains filtered or unexported fields
}
Formatter creates a text coverage report from "go test" tool
func NewReportFormatter ¶
func NewReportFormatter() *Formatter
NewReportFormatter returns new "go test" tool report formatter
It reads and formats output from stdout of "go test" command
func (*Formatter) FailedTests ¶
FailedTests returns pre-formatted lines about failed tests
func (*Formatter) UncoveredPackages ¶
UncoveredPackages returns pre-formatted lines about uncovered packages
type Lines ¶
type Lines []Line
Lines is set of lines
func (*Lines) AppendData ¶
AppendData appends data to report
func (Lines) Failed ¶
func (lns Lines) Failed() FailureGroup
Failed returns packages with failed tests
func (Lines) SkippedPackages ¶
SkippedPackages returns list of packages without unit tests