View definition

type Reporter interface{AfterSuiteDidRun(setupSummary *SetupSummary); BeforeSuiteDidRun(setupSummary *SetupSummary); SpecDidComplete(specSummary *SpecSummary); SpecSuiteDidEnd(summary *SuiteSummary); SpecSuiteWillBegin(config GinkgoConfigType, summary *SuiteSummary); SpecWillRun(specSummary *SpecSummary)}

Defined in github.com/onsi/ginkgo/ginkgo_dsl.go

Description

Custom Ginkgo test reporters must implement the Reporter interface.

The custom reporter is passed in a SuiteSummary when the suite begins and ends, and a SpecSummary just before a spec begins and just after a spec ends