Versions in this module Expand all Collapse all v2 v2.0.0 Nov 16, 2021 Changes in this version + const BAILOUT_MESSAGE + const BAILOUT_TIME + const Focus + const Ordered + const Pending + const Serial + func ApplyNestedFocusPolicyToTree(tree *TreeNode) + func MakeIncrementingIndexCounter() func() (int, error) + func OrderSpecs(specs Specs, suiteConfig types.SuiteConfig) (GroupedSpecIndices, GroupedSpecIndices) + func PartitionDecorations(args ...interface{}) ([]interface{}, []interface{}) + func UniqueNodeID() uint + type Done chan<- interface + type Failer struct + func NewFailer() *Failer + func (f *Failer) AbortSuite(message string, location types.CodeLocation) + func (f *Failer) Drain() (types.SpecState, types.Failure) + func (f *Failer) Fail(message string, location types.CodeLocation) + func (f *Failer) GetFailure() types.Failure + func (f *Failer) GetState() types.SpecState + func (f *Failer) Panic(location types.CodeLocation, forwardedPanic interface{}) + func (f *Failer) Skip(message string, location types.CodeLocation) + type FlakeAttempts uint + type GroupedSpecIndices []SpecIndices + type Labels []string + type Node struct + Body func() + CodeLocation types.CodeLocation + FlakeAttempts int + ID uint + Labels Labels + MarkedFocus bool + MarkedOrdered bool + MarkedPending bool + MarkedSerial bool + NestingLevel int + NodeIDWhereCleanupWasGenerated uint + NodeType types.NodeType + ReportAfterSuiteBody func(types.Report) + ReportEachBody func(types.SpecReport) + SynchronizedAfterSuiteAllProcsBody func() + SynchronizedAfterSuiteProc1Body func() + SynchronizedBeforeSuiteAllProcsBody func([]byte) + SynchronizedBeforeSuiteProc1Body func() []byte + Text string + func NewCleanupNode(fail func(string, types.CodeLocation), args ...interface{}) (Node, []error) + func NewNode(deprecationTracker *types.DeprecationTracker, nodeType types.NodeType, ...) (Node, []error) + func NewReportAfterEachNode(body func(types.SpecReport), codeLocation types.CodeLocation) (Node, []error) + func NewReportAfterSuiteNode(text string, body func(types.Report), codeLocation types.CodeLocation) (Node, []error) + func NewReportBeforeEachNode(body func(types.SpecReport), codeLocation types.CodeLocation) (Node, []error) + func NewSynchronizedAfterSuiteNode(allProcsBody func(), proc1Body func(), codeLocation types.CodeLocation) (Node, []error) + func NewSynchronizedBeforeSuiteNode(proc1Body func() []byte, allProcsBody func([]byte), ...) (Node, []error) + func (n Node) IsZero() bool + type Nodes []Node + func (n Nodes) BestTextFor(node Node) string + func (n Nodes) CodeLocations() []types.CodeLocation + func (n Nodes) ContainsNodeID(id uint) bool + func (n Nodes) CopyAppend(nodes ...Node) Nodes + func (n Nodes) Filter(filter func(Node) bool) Nodes + func (n Nodes) FirstNodeMarkedOrdered() Node + func (n Nodes) FirstNodeWithType(nodeTypes types.NodeType) Node + func (n Nodes) HasNodeMarkedFocus() bool + func (n Nodes) HasNodeMarkedPending() bool + func (n Nodes) HasNodeMarkedSerial() bool + func (n Nodes) Labels() [][]string + func (n Nodes) Reverse() Nodes + func (n Nodes) SortedByAscendingNestingLevel() Nodes + func (n Nodes) SortedByDescendingNestingLevel() Nodes + func (n Nodes) SplitAround(pivot Node) (Nodes, Nodes) + func (n Nodes) Texts() []string + func (n Nodes) UnionOfLabels() []string + func (n Nodes) WithType(nodeTypes types.NodeType) Nodes + func (n Nodes) WithinNestingLevel(deepestNestingLevel int) Nodes + func (n Nodes) WithoutNode(nodeToExclude Node) Nodes + func (n Nodes) WithoutType(nodeTypes types.NodeType) Nodes + type NoopOutputInterceptor struct + func (interceptor NoopOutputInterceptor) PauseIntercepting() + func (interceptor NoopOutputInterceptor) ResumeIntercepting() + func (interceptor NoopOutputInterceptor) Shutdown() + func (interceptor NoopOutputInterceptor) StartInterceptingOutput() + func (interceptor NoopOutputInterceptor) StartInterceptingOutputAndForwardTo(io.Writer) + func (interceptor NoopOutputInterceptor) StopInterceptingAndReturnOutput() string + type Offset uint + type OutputInterceptor interface + PauseIntercepting func() + ResumeIntercepting func() + Shutdown func() + StartInterceptingOutput func() + StartInterceptingOutputAndForwardTo func(io.Writer) + StopInterceptingAndReturnOutput func() string + func NewOSGlobalReassigningOutputInterceptor() OutputInterceptor + func NewOutputInterceptor() OutputInterceptor + type Phase uint + const PhaseBuildTopLevel + const PhaseBuildTree + const PhaseRun + type ReportEntry = types.ReportEntry + func NewReportEntry(name string, cl types.CodeLocation, args ...interface{}) (ReportEntry, error) + type Spec struct + Nodes Nodes + Skip bool + func (s Spec) FirstNodeWithType(nodeTypes types.NodeType) Node + func (s Spec) FlakeAttempts() int + func (s Spec) Text() string + type SpecIndices []int + type Specs []Spec + func ApplyFocusToSpecs(specs Specs, description string, suiteConfig types.SuiteConfig) (Specs, bool) + func GenerateSpecsFromTreeRoot(tree *TreeNode) Specs + func (s Specs) AtIndices(indices SpecIndices) Specs + func (s Specs) CountWithoutSkip() int + func (s Specs) HasAnySpecsMarkedPending() bool + type Suite struct + func NewSuite() *Suite + func (suite *Suite) AddReportEntry(entry ReportEntry) error + func (suite *Suite) BuildTree() error + func (suite *Suite) CurrentSpecReport() types.SpecReport + func (suite *Suite) PushNode(node Node) error + func (suite *Suite) Run(description string, suitePath string, failer *Failer, ...) (bool, bool) + type TreeNode struct + Children TreeNodes + Node Node + Parent *TreeNode + func (tn *TreeNode) AncestorNodeChain() Nodes + func (tn *TreeNode) AppendChild(child *TreeNode) + type TreeNodes []*TreeNode + func (tn TreeNodes) Nodes() Nodes + func (tn TreeNodes) WithID(id uint) *TreeNode + type Writer struct + func NewWriter(outWriter io.Writer) *Writer + func (w *Writer) Bytes() []byte + func (w *Writer) ClearTeeWriters() + func (w *Writer) Print(a ...interface{}) + func (w *Writer) Printf(format string, a ...interface{}) + func (w *Writer) Println(a ...interface{}) + func (w *Writer) SetMode(mode WriterMode) + func (w *Writer) TeeTo(writer io.Writer) + func (w *Writer) Truncate() + func (w *Writer) Write(b []byte) (n int, err error) + type WriterInterface interface + Bytes func() []byte + Truncate func() + type WriterMode uint + const WriterModeBufferOnly + const WriterModeStreamAndBuffer Other modules containing this package github.com/onsi-experimental/ginkgo