reporter

package
v0.0.0-...-cb472e6 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HtmlTemplate = `` /* 1390-byte string literal not displayed */

	SummaryHtmlTemplate = `` /* 949-byte string literal not displayed */

	SummaryTemplate = `` /* 279-byte string literal not displayed */

	FailedTemplate = `` /* 406-byte string literal not displayed */

)

Variables

This section is empty.

Functions

This section is empty.

Types

type HtmlReporter

type HtmlReporter struct {
	// contains filtered or unexported fields
}

func NewHtmlReporter

func NewHtmlReporter(filename string, reportUrl string, generateSummary bool) *HtmlReporter

func (*HtmlReporter) AfterSuiteDidRun

func (reporter *HtmlReporter) AfterSuiteDidRun(setupSummary *types.SetupSummary)

func (*HtmlReporter) BeforeSuiteDidRun

func (reporter *HtmlReporter) BeforeSuiteDidRun(setupSummary *types.SetupSummary)

func (*HtmlReporter) SpecDidComplete

func (reporter *HtmlReporter) SpecDidComplete(specSummary *types.SpecSummary)

func (*HtmlReporter) SpecSuiteDidEnd

func (reporter *HtmlReporter) SpecSuiteDidEnd(summary *types.SuiteSummary)

func (*HtmlReporter) SpecSuiteWillBegin

func (reporter *HtmlReporter) SpecSuiteWillBegin(ginkgoConfig config.GinkgoConfigType, summary *types.SuiteSummary)

func (*HtmlReporter) SpecWillRun

func (reporter *HtmlReporter) SpecWillRun(specSummary *types.SpecSummary)

type HtmlTestCase

type HtmlTestCase struct {
	Name    string
	State   string
	Detail  string
	RunTime float64
}

type HtmlTestSuite

type HtmlTestSuite struct {
	FailedTestCases []HtmlTestCase
	OtherTestCases  []HtmlTestCase
	Name            string
	TotalNum        int
	FailedNum       int
	SuccessNum      int
	State           string
	RunTime         float64
	Url             string
}

Jump to

Keyboard shortcuts

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