Documentation ¶
Overview ¶
Package printer contains setup for a friendlier Ginkgo printer that's easier to parse by test automation.
Index ¶
- type NewlineReporter
- func (NewlineReporter) AfterSuiteDidRun(setupSummary *types.SetupSummary)
- func (NewlineReporter) BeforeSuiteDidRun(setupSummary *types.SetupSummary)
- func (NewlineReporter) SpecDidComplete(specSummary *types.SpecSummary)
- func (NewlineReporter) SpecSuiteDidEnd(summary *types.SuiteSummary)
- func (NewlineReporter) SpecSuiteWillBegin(config config.GinkgoConfigType, summary *types.SuiteSummary)
- func (NewlineReporter) SpecWillRun(specSummary *types.SpecSummary)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewlineReporter ¶
type NewlineReporter struct{}
NewlineReporter is Reporter that Prints a newline after the default Reporter output so that the results are correctly parsed by test automation. See issue https://github.com/jstemmer/go-junit-report/issues/31
func (NewlineReporter) AfterSuiteDidRun ¶
func (NewlineReporter) AfterSuiteDidRun(setupSummary *types.SetupSummary)
AfterSuiteDidRun implements ginkgo.Reporter
func (NewlineReporter) BeforeSuiteDidRun ¶
func (NewlineReporter) BeforeSuiteDidRun(setupSummary *types.SetupSummary)
BeforeSuiteDidRun implements ginkgo.Reporter
func (NewlineReporter) SpecDidComplete ¶
func (NewlineReporter) SpecDidComplete(specSummary *types.SpecSummary)
SpecDidComplete implements ginkgo.Reporter
func (NewlineReporter) SpecSuiteDidEnd ¶
func (NewlineReporter) SpecSuiteDidEnd(summary *types.SuiteSummary)
SpecSuiteDidEnd Prints a newline between "35 Passed | 0 Failed | 0 Pending | 0 Skipped" and "--- PASS:"
func (NewlineReporter) SpecSuiteWillBegin ¶
func (NewlineReporter) SpecSuiteWillBegin(config config.GinkgoConfigType, summary *types.SuiteSummary)
SpecSuiteWillBegin implements ginkgo.Reporter
func (NewlineReporter) SpecWillRun ¶
func (NewlineReporter) SpecWillRun(specSummary *types.SpecSummary)
SpecWillRun implements ginkgo.Reporter