Documentation ¶
Index ¶
- type FakeStenographer
- func (stenographer *FakeStenographer) AnnounceAggregatedParallelRun(nodes int, succinct bool)
- func (stenographer *FakeStenographer) AnnounceCapturedOutput(example *types.ExampleSummary)
- func (stenographer *FakeStenographer) AnnounceExampleFailed(example *types.ExampleSummary, succinct bool)
- func (stenographer *FakeStenographer) AnnounceExamplePanicked(example *types.ExampleSummary, succinct bool)
- func (stenographer *FakeStenographer) AnnounceExampleTimedOut(example *types.ExampleSummary, succinct bool)
- func (stenographer *FakeStenographer) AnnounceExampleWillRun(example *types.ExampleSummary)
- func (stenographer *FakeStenographer) AnnounceNumberOfSpecs(specsToRun int, total int, succinct bool)
- func (stenographer *FakeStenographer) AnnounceParallelRun(node int, nodes int, specsToRun int, totalSpecs int, succinct bool)
- func (stenographer *FakeStenographer) AnnouncePendingExample(example *types.ExampleSummary, noisy bool)
- func (stenographer *FakeStenographer) AnnounceSkippedExample(example *types.ExampleSummary)
- func (stenographer *FakeStenographer) AnnounceSpecRunCompletion(summary *types.SuiteSummary, succinct bool)
- func (stenographer *FakeStenographer) AnnounceSuccesfulExample(example *types.ExampleSummary)
- func (stenographer *FakeStenographer) AnnounceSuccesfulMeasurement(example *types.ExampleSummary, succinct bool)
- func (stenographer *FakeStenographer) AnnounceSuccesfulSlowExample(example *types.ExampleSummary, succinct bool)
- func (stenographer *FakeStenographer) AnnounceSuite(description string, randomSeed int64, randomizingAll bool, succinct bool)
- func (stenographer *FakeStenographer) CallsTo(method string) []FakeStenographerCall
- func (stenographer *FakeStenographer) Reset()
- 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 {
Calls []FakeStenographerCall
}
func NewFakeStenographer ¶
func NewFakeStenographer() *FakeStenographer
func (*FakeStenographer) AnnounceAggregatedParallelRun ¶
func (stenographer *FakeStenographer) AnnounceAggregatedParallelRun(nodes int, succinct bool)
func (*FakeStenographer) AnnounceCapturedOutput ¶
func (stenographer *FakeStenographer) AnnounceCapturedOutput(example *types.ExampleSummary)
func (*FakeStenographer) AnnounceExampleFailed ¶
func (stenographer *FakeStenographer) AnnounceExampleFailed(example *types.ExampleSummary, succinct bool)
func (*FakeStenographer) AnnounceExamplePanicked ¶
func (stenographer *FakeStenographer) AnnounceExamplePanicked(example *types.ExampleSummary, succinct bool)
func (*FakeStenographer) AnnounceExampleTimedOut ¶
func (stenographer *FakeStenographer) AnnounceExampleTimedOut(example *types.ExampleSummary, succinct bool)
func (*FakeStenographer) AnnounceExampleWillRun ¶
func (stenographer *FakeStenographer) AnnounceExampleWillRun(example *types.ExampleSummary)
func (*FakeStenographer) AnnounceNumberOfSpecs ¶
func (stenographer *FakeStenographer) AnnounceNumberOfSpecs(specsToRun int, total int, succinct bool)
func (*FakeStenographer) AnnounceParallelRun ¶
func (*FakeStenographer) AnnouncePendingExample ¶
func (stenographer *FakeStenographer) AnnouncePendingExample(example *types.ExampleSummary, noisy bool)
func (*FakeStenographer) AnnounceSkippedExample ¶
func (stenographer *FakeStenographer) AnnounceSkippedExample(example *types.ExampleSummary)
func (*FakeStenographer) AnnounceSpecRunCompletion ¶
func (stenographer *FakeStenographer) AnnounceSpecRunCompletion(summary *types.SuiteSummary, succinct bool)
func (*FakeStenographer) AnnounceSuccesfulExample ¶
func (stenographer *FakeStenographer) AnnounceSuccesfulExample(example *types.ExampleSummary)
func (*FakeStenographer) AnnounceSuccesfulMeasurement ¶
func (stenographer *FakeStenographer) AnnounceSuccesfulMeasurement(example *types.ExampleSummary, succinct bool)
func (*FakeStenographer) AnnounceSuccesfulSlowExample ¶
func (stenographer *FakeStenographer) AnnounceSuccesfulSlowExample(example *types.ExampleSummary, succinct bool)
func (*FakeStenographer) AnnounceSuite ¶
func (stenographer *FakeStenographer) AnnounceSuite(description string, randomSeed int64, randomizingAll bool, succinct bool)
func (*FakeStenographer) CallsTo ¶
func (stenographer *FakeStenographer) CallsTo(method string) []FakeStenographerCall
func (*FakeStenographer) Reset ¶
func (stenographer *FakeStenographer) Reset()
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, specsToRun int, totalSpecs int, succinct bool) AnnounceNumberOfSpecs(specsToRun int, total int, succinct bool) AnnounceSpecRunCompletion(summary *types.SuiteSummary, succinct bool) AnnounceExampleWillRun(example *types.ExampleSummary) AnnounceCapturedOutput(example *types.ExampleSummary) AnnounceSuccesfulExample(example *types.ExampleSummary) AnnounceSuccesfulSlowExample(example *types.ExampleSummary, succinct bool) AnnounceSuccesfulMeasurement(example *types.ExampleSummary, succinct bool) AnnouncePendingExample(example *types.ExampleSummary, noisy bool) AnnounceSkippedExample(example *types.ExampleSummary) AnnounceExampleTimedOut(example *types.ExampleSummary, succinct bool) AnnounceExamplePanicked(example *types.ExampleSummary, succinct bool) AnnounceExampleFailed(example *types.ExampleSummary, succinct bool) }
func New ¶
func New(color bool) Stenographer
Click to show internal directories.
Click to hide internal directories.