Package stenographer
- type FakeStenographer
- func NewFakeStenographer() *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
- func NewFakeStenographerCall(method string, args ...interface{}) FakeStenographerCall
- type Stenographer
- func New(color bool, enableFlakes bool, writer io.Writer) Stenographer
Package files
console_logging.go
fake_stenographer.go
stenographer.go
type FakeStenographer struct {
}
func NewFakeStenographer() *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 (*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 (stenographer *FakeStenographer) SummarizeFailures(summaries []*types.SpecSummary)
type FakeStenographerCall struct {
Method string
Args []interface{}
}
func NewFakeStenographerCall(method string, args ...interface{}) FakeStenographerCall
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)
}
func New(color bool, enableFlakes bool, writer io.Writer) Stenographer
Subdirectories