Documentation ¶
Index ¶
- Variables
- func BeASuiteSummary(options ...interface{}) OmegaMatcher
- func BePending() OmegaMatcher
- func HaveAborted(options ...interface{}) OmegaMatcher
- func HaveBeenInterrupted(cause interrupt_handler.InterruptCause) OmegaMatcher
- func HaveBeenSkipped() OmegaMatcher
- func HaveBeenSkippedWithMessage(message string, options ...interface{}) OmegaMatcher
- func HaveFailed(options ...interface{}) OmegaMatcher
- func HavePanicked(options ...interface{}) OmegaMatcher
- func HavePassed(options ...interface{}) OmegaMatcher
- func HaveRun(run string) OmegaMatcher
- func HaveRunWithData(run string, kv ...interface{}) OmegaMatcher
- func HaveTracked(runs ...string) OmegaMatcher
- func HaveTrackedNothing() OmegaMatcher
- func LoadMarkdownHeadings(filename string) ([]string, error)
- func LoadMarkdownLinks(filename string) ([]string, error)
- func MultilneTextHelper(s string) string
- func SetUpServerAndClient(numNodes int) (parallel_support.Server, parallel_support.Client, map[int]chan interface{})
- func StatusCodePoller(url string) func() int
- type Anchors
- type CapturedGinkgoWriterOutput
- type CapturedStdOutput
- type Doc
- type Docs
- type FailureNodeType
- type FakeInterruptHandler
- func (handler *FakeInterruptHandler) ClearInterruptPlaceholderMessage()
- func (handler *FakeInterruptHandler) EmittedInterruptPlaceholderMessage() string
- func (handler *FakeInterruptHandler) Interrupt(cause interrupt_handler.InterruptCause)
- func (handler *FakeInterruptHandler) InterruptMessageWithStackTraces() string
- func (handler *FakeInterruptHandler) SetInterruptPlaceholderMessage(message string)
- func (handler *FakeInterruptHandler) Status() interrupt_handler.InterruptStatus
- func (handler *FakeInterruptHandler) Stop()
- type FakeOutputInterceptor
- func (interceptor *FakeOutputInterceptor) AppendInterceptedOutput(s string)
- func (interceptor *FakeOutputInterceptor) PauseIntercepting()
- func (interceptor *FakeOutputInterceptor) ResumeIntercepting()
- func (interceptor *FakeOutputInterceptor) Shutdown()
- func (interceptor *FakeOutputInterceptor) StartInterceptingOutput()
- func (interceptor *FakeOutputInterceptor) StartInterceptingOutputAndForwardTo(w io.Writer)
- func (interceptor *FakeOutputInterceptor) StopInterceptingAndReturnOutput() string
- type FakeReporter
- type HaveTrackedMatcher
- type NFailed
- type NFlaked
- type NPassed
- type NPending
- type NSkipped
- type NSpecs
- type NWillRun
- type NumAttempts
- type Reports
- func (s Reports) Find(name string) types.SpecReport
- func (s Reports) FindByFullText(text string) types.SpecReport
- func (s Reports) FindByLeafNodeType(nodeTypes types.NodeType) types.SpecReport
- func (s Reports) Names() []string
- func (s Reports) WithLeafNodeType(nodeTypes types.NodeType) Reports
- func (s Reports) WithState(state types.SpecState) Reports
- type RunTracker
- func (rt *RunTracker) C(text string, callback ...func()) func(args []string, additionalArgs []string)
- func (rt *RunTracker) DataFor(text string) map[string]interface{}
- func (rt *RunTracker) Reset()
- func (rt *RunTracker) Run(text string)
- func (rt *RunTracker) RunWithData(text string, kv ...interface{})
- func (rt *RunTracker) T(text string, callback ...func()) func()
- func (rt *RunTracker) TrackedRuns() []string
Constants ¶
This section is empty.
Variables ¶
View Source
var DOCS = Docs{ {"index.md", []string{"https://onsi.github.io/ginkgo/"}, "docs/index.md"}, {"MIGRATING_TO_V2.md", []string{"https://onsi.github.io/ginkgo/MIGRATING_TO_V2"}, "docs/MIGRATING_TO_V2.md"}, {"README.md", []string{"https://github.com/onsi/ginkgo", "https://github.com/onsi/ginkgo/blob/master/README.md"}, "README.md"}, }
Functions ¶
func BeASuiteSummary ¶
func BeASuiteSummary(options ...interface{}) OmegaMatcher
func HaveAborted ¶
func HaveAborted(options ...interface{}) OmegaMatcher
func HaveBeenInterrupted ¶
func HaveBeenInterrupted(cause interrupt_handler.InterruptCause) OmegaMatcher
func HaveBeenSkipped ¶
func HaveBeenSkipped() OmegaMatcher
func HaveBeenSkippedWithMessage ¶
func HaveBeenSkippedWithMessage(message string, options ...interface{}) OmegaMatcher
func HaveFailed ¶
func HaveFailed(options ...interface{}) OmegaMatcher
func HavePanicked ¶
func HavePanicked(options ...interface{}) OmegaMatcher
func HavePassed ¶
func HavePassed(options ...interface{}) OmegaMatcher
func HaveRunWithData ¶
func HaveRunWithData(run string, kv ...interface{}) OmegaMatcher
func HaveTracked ¶
func HaveTracked(runs ...string) OmegaMatcher
func HaveTrackedNothing ¶
func HaveTrackedNothing() OmegaMatcher
func LoadMarkdownHeadings ¶
func LoadMarkdownLinks ¶
func MultilneTextHelper ¶
func SetUpServerAndClient ¶
func SetUpServerAndClient(numNodes int) (parallel_support.Server, parallel_support.Client, map[int]chan interface{})
func StatusCodePoller ¶
Types ¶
type CapturedGinkgoWriterOutput ¶
type CapturedGinkgoWriterOutput string
type CapturedStdOutput ¶
type CapturedStdOutput string
type FailureNodeType ¶
type FakeInterruptHandler ¶
type FakeInterruptHandler struct {
// contains filtered or unexported fields
}
func NewFakeInterruptHandler ¶
func NewFakeInterruptHandler() *FakeInterruptHandler
func (*FakeInterruptHandler) ClearInterruptPlaceholderMessage ¶
func (handler *FakeInterruptHandler) ClearInterruptPlaceholderMessage()
func (*FakeInterruptHandler) EmittedInterruptPlaceholderMessage ¶
func (handler *FakeInterruptHandler) EmittedInterruptPlaceholderMessage() string
func (*FakeInterruptHandler) Interrupt ¶
func (handler *FakeInterruptHandler) Interrupt(cause interrupt_handler.InterruptCause)
func (*FakeInterruptHandler) InterruptMessageWithStackTraces ¶
func (handler *FakeInterruptHandler) InterruptMessageWithStackTraces() string
func (*FakeInterruptHandler) SetInterruptPlaceholderMessage ¶
func (handler *FakeInterruptHandler) SetInterruptPlaceholderMessage(message string)
func (*FakeInterruptHandler) Status ¶
func (handler *FakeInterruptHandler) Status() interrupt_handler.InterruptStatus
func (*FakeInterruptHandler) Stop ¶
func (handler *FakeInterruptHandler) Stop()
type FakeOutputInterceptor ¶
type FakeOutputInterceptor struct {
// contains filtered or unexported fields
}
func NewFakeOutputInterceptor ¶
func NewFakeOutputInterceptor() *FakeOutputInterceptor
func (*FakeOutputInterceptor) AppendInterceptedOutput ¶
func (interceptor *FakeOutputInterceptor) AppendInterceptedOutput(s string)
func (*FakeOutputInterceptor) PauseIntercepting ¶
func (interceptor *FakeOutputInterceptor) PauseIntercepting()
func (*FakeOutputInterceptor) ResumeIntercepting ¶
func (interceptor *FakeOutputInterceptor) ResumeIntercepting()
func (*FakeOutputInterceptor) Shutdown ¶
func (interceptor *FakeOutputInterceptor) Shutdown()
func (*FakeOutputInterceptor) StartInterceptingOutput ¶
func (interceptor *FakeOutputInterceptor) StartInterceptingOutput()
func (*FakeOutputInterceptor) StartInterceptingOutputAndForwardTo ¶
func (interceptor *FakeOutputInterceptor) StartInterceptingOutputAndForwardTo(w io.Writer)
func (*FakeOutputInterceptor) StopInterceptingAndReturnOutput ¶
func (interceptor *FakeOutputInterceptor) StopInterceptingAndReturnOutput() string
type FakeReporter ¶
func (*FakeReporter) DidRun ¶
func (r *FakeReporter) DidRun(report types.SpecReport)
func (*FakeReporter) SuiteDidEnd ¶
func (r *FakeReporter) SuiteDidEnd(report types.Report)
func (*FakeReporter) SuiteWillBegin ¶
func (r *FakeReporter) SuiteWillBegin(report types.Report)
func (*FakeReporter) WillRun ¶
func (r *FakeReporter) WillRun(report types.SpecReport)
type HaveTrackedMatcher ¶
type HaveTrackedMatcher struct {
// contains filtered or unexported fields
}
func (*HaveTrackedMatcher) FailureMessage ¶
func (m *HaveTrackedMatcher) FailureMessage(actual interface{}) string
func (*HaveTrackedMatcher) Match ¶
func (m *HaveTrackedMatcher) Match(actual interface{}) (bool, error)
func (*HaveTrackedMatcher) NegatedFailureMessage ¶
func (m *HaveTrackedMatcher) NegatedFailureMessage(actual interface{}) string
type NumAttempts ¶
type NumAttempts int
type Reports ¶
type Reports []types.SpecReport
func (Reports) FindByFullText ¶
func (s Reports) FindByFullText(text string) types.SpecReport
func (Reports) FindByLeafNodeType ¶
func (s Reports) FindByLeafNodeType(nodeTypes types.NodeType) types.SpecReport
func (Reports) WithLeafNodeType ¶
type RunTracker ¶
type RunTracker struct {
// contains filtered or unexported fields
}
func NewRunTracker ¶
func NewRunTracker() *RunTracker
func (*RunTracker) C ¶
func (rt *RunTracker) C(text string, callback ...func()) func(args []string, additionalArgs []string)
func (*RunTracker) DataFor ¶
func (rt *RunTracker) DataFor(text string) map[string]interface{}
func (*RunTracker) Reset ¶
func (rt *RunTracker) Reset()
func (*RunTracker) Run ¶
func (rt *RunTracker) Run(text string)
func (*RunTracker) RunWithData ¶
func (rt *RunTracker) RunWithData(text string, kv ...interface{})
func (*RunTracker) T ¶
func (rt *RunTracker) T(text string, callback ...func()) func()
func (*RunTracker) TrackedRuns ¶
func (rt *RunTracker) TrackedRuns() []string
Click to show internal directories.
Click to hide internal directories.