Documentation ¶
Index ¶
Constants ¶
View Source
const ReportTemplate = `` /* 733-byte string literal not displayed */
ReportTemplate ...
Variables ¶
View Source
var ReportTable = template.Must(template.New("report").Parse(ReportTemplate))
ReportTable ...
Functions ¶
func Coverage ¶
func Coverage(tests []*testbackend.TestCase) float64
Coverage returns (100 - skipped *100 / tested)
func WriteCoverageReport ¶
WriteCoverageReport on w, the template should take []*testbackend.TestCase as pipeline
Types ¶
Click to show internal directories.
Click to hide internal directories.