Documentation ¶
Index ¶
- type GinkgoReporter
- func (g *GinkgoReporter) AfterSuiteDidRun(setupSummary *types.SetupSummary)
- func (g *GinkgoReporter) BeforeSuiteDidRun(setupSummary *types.SetupSummary)
- func (g *GinkgoReporter) SpecDidComplete(specSummary *types.SpecSummary)
- func (g *GinkgoReporter) SpecSuiteDidEnd(summary *types.SuiteSummary)
- func (g *GinkgoReporter) SpecSuiteWillBegin(config config.GinkgoConfigType, summary *types.SuiteSummary)
- func (g *GinkgoReporter) SpecWillRun(specSummary *types.SpecSummary)
- type SetupSummary
- type SpecSummary
- type SuiteEndSummary
- type SuiteStartSummary
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GinkgoReporter ¶
type GinkgoReporter struct {
// contains filtered or unexported fields
}
GinkgoReporter is a struct
func New ¶
func New(writer io.Writer) *GinkgoReporter
New is a function which returns GinkoReporter object
func (*GinkgoReporter) AfterSuiteDidRun ¶
func (g *GinkgoReporter) AfterSuiteDidRun(setupSummary *types.SetupSummary)
AfterSuiteDidRunis a method
func (*GinkgoReporter) BeforeSuiteDidRun ¶
func (g *GinkgoReporter) BeforeSuiteDidRun(setupSummary *types.SetupSummary)
BeforeSuiteDidRun is a method
func (*GinkgoReporter) SpecDidComplete ¶
func (g *GinkgoReporter) SpecDidComplete(specSummary *types.SpecSummary)
SpecDidComplete is a method used to check whether a spec got complete
func (*GinkgoReporter) SpecSuiteDidEnd ¶
func (g *GinkgoReporter) SpecSuiteDidEnd(summary *types.SuiteSummary)
SpecSuiteDidEnd is a method
func (*GinkgoReporter) SpecSuiteWillBegin ¶
func (g *GinkgoReporter) SpecSuiteWillBegin(config config.GinkgoConfigType, summary *types.SuiteSummary)
SpecSuiteWillBegin is a method
func (*GinkgoReporter) SpecWillRun ¶
func (g *GinkgoReporter) SpecWillRun(specSummary *types.SpecSummary)
SpecWillRun is a method
type SetupSummary ¶
type SetupSummary struct { Name string `json:"name"` State string `json:"state"` Passed bool `json:"passed"` RunTime time.Duration `json:"run_time,omitempty"` StackTrace string `json:"stack_trace,omitempty"` }
SetupSummary is a struct
type SpecSummary ¶
type SpecSummary struct { Name []string `json:"name"` Location string `json:"location"` State string `json:"state"` Passed bool `json:"passed"` RunTime time.Duration `json:"run_time"` StackTrace string `json:"stack_trace,omitempty"` }
SpecSummary is a struct
type SuiteEndSummary ¶
type SuiteEndSummary struct { SuiteDescription string `json:"description"` Passed bool NumberOfSpecsThatWillBeRun int `json:"num_specs"` NumberOfPassedSpecs int `json:"num_passed"` NumberOfFailedSpecs int `json:"num_failed"` }
SuiteEndSummary is a struct
type SuiteStartSummary ¶
type SuiteStartSummary struct { RandomSeed int64 `json:"random_seed"` SuiteDescription string `json:"description"` NumberOfSpecsThatWillBeRun int `json:"num_specs"` }
SuiteStartSummary is a struct
Click to show internal directories.
Click to hide internal directories.