Documentation ¶
Index ¶
- type FakeStenographer
- func (stenographer *FakeStenographer) AnnounceAfterSuiteFailure(summary *types.SetupSummary, succinct bool, fullTrace bool)
- func (stenographer *FakeStenographer) AnnounceAggregatedParallelRun(nodes int, succinct bool)
- func (stenographer *FakeStenographer) AnnounceBeforeSuiteFailure(summary *types.SetupSummary, succinct bool, fullTrace bool)
- func (stenographer *FakeStenographer) AnnounceCapturedOutput(output string)
- func (stenographer *FakeStenographer) AnnounceNumberOfSpecs(specsToRun int, total int, succinct bool)
- func (stenographer *FakeStenographer) AnnounceParallelRun(node int, nodes int, succinct bool)
- func (stenographer *FakeStenographer) AnnouncePendingSpec(spec *types.SpecSummary, noisy bool)
- func (stenographer *FakeStenographer) AnnounceSkippedSpec(spec *types.SpecSummary, succinct bool, fullTrace bool)
- func (stenographer *FakeStenographer) AnnounceSpecFailed(spec *types.SpecSummary, succinct bool, fullTrace bool)
- func (stenographer *FakeStenographer) AnnounceSpecPanicked(spec *types.SpecSummary, succinct bool, fullTrace bool)
- func (stenographer *FakeStenographer) AnnounceSpecRunCompletion(summary *types.SuiteSummary, succinct bool)
- func (stenographer *FakeStenographer) AnnounceSpecTimedOut(spec *types.SpecSummary, succinct bool, fullTrace bool)
- func (stenographer *FakeStenographer) AnnounceSpecWillRun(spec *types.SpecSummary)
- func (stenographer *FakeStenographer) AnnounceSuccesfulMeasurement(spec *types.SpecSummary, succinct bool)
- func (stenographer *FakeStenographer) AnnounceSuccesfulSlowSpec(spec *types.SpecSummary, succinct bool)
- func (stenographer *FakeStenographer) AnnounceSuccesfulSpec(spec *types.SpecSummary)
- func (stenographer *FakeStenographer) AnnounceSuite(description string, randomSeed int64, randomizingAll bool, succinct bool)
- func (stenographer *FakeStenographer) AnnounceTotalNumberOfSpecs(total int, succinct bool)
- func (stenographer *FakeStenographer) Calls() []FakeStenographerCall
- func (stenographer *FakeStenographer) CallsTo(method string) []FakeStenographerCall
- func (stenographer *FakeStenographer) Reset()
- func (stenographer *FakeStenographer) SummarizeFailures(summaries []*types.SpecSummary)
- type FakeStenographerCall
- type Stenographer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeStenographer ¶
type FakeStenographer struct {
// contains filtered or unexported fields
}
func NewFakeStenographer ¶
func NewFakeStenographer() *FakeStenographer
func (*FakeStenographer) AnnounceAfterSuiteFailure ¶
func (stenographer *FakeStenographer) AnnounceAfterSuiteFailure(summary *types.SetupSummary, succinct bool, fullTrace bool)
func (*FakeStenographer) AnnounceAggregatedParallelRun ¶
func (stenographer *FakeStenographer) AnnounceAggregatedParallelRun(nodes int, succinct bool)
func (*FakeStenographer) AnnounceBeforeSuiteFailure ¶
func (stenographer *FakeStenographer) AnnounceBeforeSuiteFailure(summary *types.SetupSummary, succinct bool, fullTrace bool)
func (*FakeStenographer) AnnounceCapturedOutput ¶
func (stenographer *FakeStenographer) AnnounceCapturedOutput(output string)
func (*FakeStenographer) AnnounceNumberOfSpecs ¶
func (stenographer *FakeStenographer) AnnounceNumberOfSpecs(specsToRun int, total int, succinct bool)
func (*FakeStenographer) AnnounceParallelRun ¶
func (stenographer *FakeStenographer) AnnounceParallelRun(node int, nodes int, succinct bool)
func (*FakeStenographer) AnnouncePendingSpec ¶
func (stenographer *FakeStenographer) AnnouncePendingSpec(spec *types.SpecSummary, noisy bool)
func (*FakeStenographer) AnnounceSkippedSpec ¶
func (stenographer *FakeStenographer) AnnounceSkippedSpec(spec *types.SpecSummary, succinct bool, fullTrace bool)
func (*FakeStenographer) AnnounceSpecFailed ¶
func (stenographer *FakeStenographer) AnnounceSpecFailed(spec *types.SpecSummary, succinct bool, fullTrace bool)
func (*FakeStenographer) AnnounceSpecPanicked ¶
func (stenographer *FakeStenographer) AnnounceSpecPanicked(spec *types.SpecSummary, succinct bool, fullTrace bool)
func (*FakeStenographer) AnnounceSpecRunCompletion ¶
func (stenographer *FakeStenographer) AnnounceSpecRunCompletion(summary *types.SuiteSummary, succinct bool)
func (*FakeStenographer) AnnounceSpecTimedOut ¶
func (stenographer *FakeStenographer) AnnounceSpecTimedOut(spec *types.SpecSummary, succinct bool, fullTrace bool)
func (*FakeStenographer) AnnounceSpecWillRun ¶
func (stenographer *FakeStenographer) AnnounceSpecWillRun(spec *types.SpecSummary)
func (*FakeStenographer) AnnounceSuccesfulMeasurement ¶
func (stenographer *FakeStenographer) AnnounceSuccesfulMeasurement(spec *types.SpecSummary, succinct bool)
func (*FakeStenographer) AnnounceSuccesfulSlowSpec ¶
func (stenographer *FakeStenographer) AnnounceSuccesfulSlowSpec(spec *types.SpecSummary, succinct bool)
func (*FakeStenographer) AnnounceSuccesfulSpec ¶
func (stenographer *FakeStenographer) AnnounceSuccesfulSpec(spec *types.SpecSummary)
func (*FakeStenographer) AnnounceSuite ¶
func (stenographer *FakeStenographer) AnnounceSuite(description string, randomSeed int64, randomizingAll bool, succinct bool)
func (*FakeStenographer) AnnounceTotalNumberOfSpecs ¶ added in v1.3.0
func (stenographer *FakeStenographer) AnnounceTotalNumberOfSpecs(total int, succinct bool)
func (*FakeStenographer) Calls ¶
func (stenographer *FakeStenographer) Calls() []FakeStenographerCall
func (*FakeStenographer) CallsTo ¶
func (stenographer *FakeStenographer) CallsTo(method string) []FakeStenographerCall
func (*FakeStenographer) Reset ¶
func (stenographer *FakeStenographer) Reset()
func (*FakeStenographer) SummarizeFailures ¶
func (stenographer *FakeStenographer) SummarizeFailures(summaries []*types.SpecSummary)
type FakeStenographerCall ¶
type FakeStenographerCall struct { Method string Args []interface{} }
func NewFakeStenographerCall ¶
func NewFakeStenographerCall(method string, args ...interface{}) FakeStenographerCall
type Stenographer ¶
type Stenographer interface { AnnounceSuite(description string, randomSeed int64, randomizingAll bool, succinct bool) AnnounceAggregatedParallelRun(nodes int, succinct bool) AnnounceParallelRun(node int, nodes int, succinct bool) AnnounceTotalNumberOfSpecs(total int, succinct bool) AnnounceNumberOfSpecs(specsToRun int, total int, succinct bool) AnnounceSpecRunCompletion(summary *types.SuiteSummary, succinct bool) AnnounceSpecWillRun(spec *types.SpecSummary) AnnounceBeforeSuiteFailure(summary *types.SetupSummary, succinct bool, fullTrace bool) AnnounceAfterSuiteFailure(summary *types.SetupSummary, succinct bool, fullTrace bool) AnnounceCapturedOutput(output string) AnnounceSuccesfulSpec(spec *types.SpecSummary) AnnounceSuccesfulSlowSpec(spec *types.SpecSummary, succinct bool) AnnounceSuccesfulMeasurement(spec *types.SpecSummary, succinct bool) AnnouncePendingSpec(spec *types.SpecSummary, noisy bool) AnnounceSkippedSpec(spec *types.SpecSummary, succinct bool, fullTrace bool) AnnounceSpecTimedOut(spec *types.SpecSummary, succinct bool, fullTrace bool) AnnounceSpecPanicked(spec *types.SpecSummary, succinct bool, fullTrace bool) AnnounceSpecFailed(spec *types.SpecSummary, succinct bool, fullTrace bool) SummarizeFailures(summaries []*types.SpecSummary) }
Click to show internal directories.
Click to hide internal directories.