Documentation ¶
Index ¶
- Constants
- type HtmlReporter
- func (reporter *HtmlReporter) AfterSuiteDidRun(setupSummary *types.SetupSummary)
- func (reporter *HtmlReporter) BeforeSuiteDidRun(setupSummary *types.SetupSummary)
- func (reporter *HtmlReporter) SpecDidComplete(specSummary *types.SpecSummary)
- func (reporter *HtmlReporter) SpecSuiteDidEnd(summary *types.SuiteSummary)
- func (reporter *HtmlReporter) SpecSuiteWillBegin(ginkgoConfig config.GinkgoConfigType, summary *types.SuiteSummary)
- func (reporter *HtmlReporter) SpecWillRun(specSummary *types.SpecSummary)
- type HtmlTestCase
- type HtmlTestSuite
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 HtmlTestSuite ¶
type HtmlTestSuite struct { FailedTestCases []HtmlTestCase OtherTestCases []HtmlTestCase Name string TotalNum int FailedNum int SuccessNum int State string RunTime float64 Url string }
Click to show internal directories.
Click to hide internal directories.