ginkgo: github.com/onsi/ginkgo/reporters/stenographer Index | Files | Directories

package stenographer

import "github.com/onsi/ginkgo/reporters/stenographer"

Index

Package Files

console_logging.go fake_stenographer.go stenographer.go

type FakeStenographer Uses

type FakeStenographer struct {
    // contains filtered or unexported fields
}

func NewFakeStenographer Uses

func NewFakeStenographer() *FakeStenographer

func (*FakeStenographer) AnnounceAfterSuiteFailure Uses

func (stenographer *FakeStenographer) AnnounceAfterSuiteFailure(summary *types.SetupSummary, succinct bool, fullTrace bool)

func (*FakeStenographer) AnnounceAggregatedParallelRun Uses

func (stenographer *FakeStenographer) AnnounceAggregatedParallelRun(nodes int, succinct bool)

func (*FakeStenographer) AnnounceBeforeSuiteFailure Uses

func (stenographer *FakeStenographer) AnnounceBeforeSuiteFailure(summary *types.SetupSummary, succinct bool, fullTrace bool)

func (*FakeStenographer) AnnounceCapturedOutput Uses

func (stenographer *FakeStenographer) AnnounceCapturedOutput(output string)

func (*FakeStenographer) AnnounceNumberOfSpecs Uses

func (stenographer *FakeStenographer) AnnounceNumberOfSpecs(specsToRun int, total int, succinct bool)

func (*FakeStenographer) AnnounceParallelRun Uses

func (stenographer *FakeStenographer) AnnounceParallelRun(node int, nodes int, succinct bool)

func (*FakeStenographer) AnnouncePendingSpec Uses

func (stenographer *FakeStenographer) AnnouncePendingSpec(spec *types.SpecSummary, noisy bool)

func (*FakeStenographer) AnnounceSkippedSpec Uses

func (stenographer *FakeStenographer) AnnounceSkippedSpec(spec *types.SpecSummary, succinct bool, fullTrace bool)

func (*FakeStenographer) AnnounceSpecFailed Uses

func (stenographer *FakeStenographer) AnnounceSpecFailed(spec *types.SpecSummary, succinct bool, fullTrace bool)

func (*FakeStenographer) AnnounceSpecPanicked Uses

func (stenographer *FakeStenographer) AnnounceSpecPanicked(spec *types.SpecSummary, succinct bool, fullTrace bool)

func (*FakeStenographer) AnnounceSpecRunCompletion Uses

func (stenographer *FakeStenographer) AnnounceSpecRunCompletion(summary *types.SuiteSummary, succinct bool)

func (*FakeStenographer) AnnounceSpecTimedOut Uses

func (stenographer *FakeStenographer) AnnounceSpecTimedOut(spec *types.SpecSummary, succinct bool, fullTrace bool)

func (*FakeStenographer) AnnounceSpecWillRun Uses

func (stenographer *FakeStenographer) AnnounceSpecWillRun(spec *types.SpecSummary)

func (*FakeStenographer) AnnounceSuccesfulMeasurement Uses

func (stenographer *FakeStenographer) AnnounceSuccesfulMeasurement(spec *types.SpecSummary, succinct bool)

func (*FakeStenographer) AnnounceSuccesfulSlowSpec Uses

func (stenographer *FakeStenographer) AnnounceSuccesfulSlowSpec(spec *types.SpecSummary, succinct bool)

func (*FakeStenographer) AnnounceSuccesfulSpec Uses

func (stenographer *FakeStenographer) AnnounceSuccesfulSpec(spec *types.SpecSummary)

func (*FakeStenographer) AnnounceSuite Uses

func (stenographer *FakeStenographer) AnnounceSuite(description string, randomSeed int64, randomizingAll bool, succinct bool)

func (*FakeStenographer) AnnounceTotalNumberOfSpecs Uses

func (stenographer *FakeStenographer) AnnounceTotalNumberOfSpecs(total int, succinct bool)

func (*FakeStenographer) Calls Uses

func (stenographer *FakeStenographer) Calls() []FakeStenographerCall

func (*FakeStenographer) CallsTo Uses

func (stenographer *FakeStenographer) CallsTo(method string) []FakeStenographerCall

func (*FakeStenographer) Reset Uses

func (stenographer *FakeStenographer) Reset()

func (*FakeStenographer) SummarizeFailures Uses

func (stenographer *FakeStenographer) SummarizeFailures(summaries []*types.SpecSummary)

type FakeStenographerCall Uses

type FakeStenographerCall struct {
    Method string
    Args   []interface{}
}

func NewFakeStenographerCall Uses

func NewFakeStenographerCall(method string, args ...interface{}) FakeStenographerCall

type Stenographer Uses

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 Uses

func New(color bool, enableFlakes bool, writer io.Writer) Stenographer

Directories

PathSynopsis
support/go-colorable
support/go-isattyPackage isatty implements interface to isatty

Package stenographer imports 6 packages (graph) and is imported by 227 packages. Updated 2018-07-11. Refresh now. Tools for package owners.