Documentation ¶
Index ¶
- type DetailsReporter
- func (reporter *DetailsReporter) AfterSuiteDidRun(setupSummary *types.SetupSummary)
- func (reporter *DetailsReporter) BeforeSuiteDidRun(setupSummary *types.SetupSummary)
- func (reporter *DetailsReporter) SpecDidComplete(specSummary *types.SpecSummary)
- func (reporter *DetailsReporter) SpecSuiteDidEnd(summary *types.SuiteSummary)
- func (reporter *DetailsReporter) SpecSuiteWillBegin(cfg config.GinkgoConfigType, summary *types.SuiteSummary)
- func (reporter *DetailsReporter) SpecWillRun(specSummary *types.SpecSummary)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DetailsReporter ¶
##############Inspiration to create debug file######### https://github.com/onsi/ginkgo/blob/master/reporters/junit_reporter.go#L70 ################################# DetailsReporter is a ginkgo reporter which dumps information regarding the tests.
func NewDetailsReporterFile ¶
func NewDetailsReporterFile(filename string) *DetailsReporter
NewDetailsReporterFile returns a reporter which will create the file given and dump the specs to it as they complete.
func NewDetailsReporterWithWriter ¶
func NewDetailsReporterWithWriter(w io.Writer) *DetailsReporter
NewDetailsReporterWithWriter returns a reporter which will write the SpecSummary objects as tests complete to the given writer.
func (*DetailsReporter) AfterSuiteDidRun ¶
func (reporter *DetailsReporter) AfterSuiteDidRun(setupSummary *types.SetupSummary)
AfterSuiteDidRun is implemented as a noop to satisfy the reporter interface for ginkgo.
func (*DetailsReporter) BeforeSuiteDidRun ¶
func (reporter *DetailsReporter) BeforeSuiteDidRun(setupSummary *types.SetupSummary)
BeforeSuiteDidRun is implemented as a noop to satisfy the reporter interface for ginkgo.
func (*DetailsReporter) SpecDidComplete ¶
func (reporter *DetailsReporter) SpecDidComplete(specSummary *types.SpecSummary)
SpecDidComplete is invoked by Ginkgo each time a spec is completed (including skipped specs).
func (*DetailsReporter) SpecSuiteDidEnd ¶
func (reporter *DetailsReporter) SpecSuiteDidEnd(summary *types.SuiteSummary)
SpecSuiteDidEnd is implemented as a noop to satisfy the reporter interface for ginkgo.
func (*DetailsReporter) SpecSuiteWillBegin ¶
func (reporter *DetailsReporter) SpecSuiteWillBegin(cfg config.GinkgoConfigType, summary *types.SuiteSummary)
SpecSuiteWillBegin is implemented as a noop to satisfy the reporter interface for ginkgo.
func (*DetailsReporter) SpecWillRun ¶
func (reporter *DetailsReporter) SpecWillRun(specSummary *types.SpecSummary)
SpecWillRun is implemented as a noop to satisfy the reporter interface for ginkgo.