Documentation ¶
Index ¶
- type Reporter
- func (reporter *Reporter) AfterSuiteDidRun(setupSummary *types.SetupSummary)
- func (reporter *Reporter) AllSuitesSucceed() bool
- func (reporter *Reporter) BeforeSuiteDidRun(setupSummary *types.SetupSummary)
- func (reporter *Reporter) Prepare(description string)
- func (reporter *Reporter) Report()
- func (reporter *Reporter) SpecDidComplete(specSummary *types.SpecSummary)
- func (reporter *Reporter) SpecSuiteDidEnd(summary *types.SuiteSummary)
- func (reporter *Reporter) SpecSuiteWillBegin(config config.GinkgoConfigType, summary *types.SuiteSummary)
- func (reporter *Reporter) SpecWillRun(specSummary *types.SpecSummary)
- type TestRunner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
Reporter is a custom test reporter which handles results from multiple test suites
func (*Reporter) AfterSuiteDidRun ¶
func (reporter *Reporter) AfterSuiteDidRun(setupSummary *types.SetupSummary)
AfterSuiteDidRun informs that after suite did run
func (*Reporter) AllSuitesSucceed ¶
AllSuitesSucceed returns whether tests within all suites passed
func (*Reporter) BeforeSuiteDidRun ¶
func (reporter *Reporter) BeforeSuiteDidRun(setupSummary *types.SetupSummary)
BeforeSuiteDidRun informs that before suite did run
func (*Reporter) SpecDidComplete ¶
func (reporter *Reporter) SpecDidComplete(specSummary *types.SpecSummary)
SpecDidComplete informs that spec did complete
func (*Reporter) SpecSuiteDidEnd ¶
func (reporter *Reporter) SpecSuiteDidEnd(summary *types.SuiteSummary)
SpecSuiteDidEnd informs that spec suite sis end
func (*Reporter) SpecSuiteWillBegin ¶
func (reporter *Reporter) SpecSuiteWillBegin(config config.GinkgoConfigType, summary *types.SuiteSummary)
SpecSuiteWillBegin informs that suite will begin
func (*Reporter) SpecWillRun ¶
func (reporter *Reporter) SpecWillRun(specSummary *types.SpecSummary)
SpecWillRun informs that spec will run
type TestRunner ¶
type TestRunner struct {
// contains filtered or unexported fields
}
TestRunner is a test runner for go extensions
func NewTestRunner ¶
func NewTestRunner(fileNames []string, printAllLogs bool, testFilter string, workers int) *TestRunner
NewTestRunner allocates a new TestRunner
Click to show internal directories.
Click to hide internal directories.