reporter

package
v0.0.0-...-6dbdb44 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: EPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DetailsReporter

type DetailsReporter struct {
	Writer io.Writer
}

##############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.

Jump to

Keyboard shortcuts

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