Documentation ¶
Index ¶
- Constants
- func AfterEach(body interface{}, timeout ...float64) bool
- func BeforeEach(body interface{}, timeout ...float64) bool
- func Context(text string, body func()) bool
- func Describe(text string, body func()) bool
- func FContext(text string, body func()) bool
- func FDescribe(text string, body func()) bool
- func FIt(text string, body interface{}, timeout ...float64) bool
- func FMeasure(text string, body func(Benchmarker), samples int) bool
- func Fail(message string, callerSkip ...int)
- func It(text string, body interface{}, timeout ...float64) bool
- func JustBeforeEach(body interface{}, timeout ...float64) bool
- func Measure(text string, body func(Benchmarker), samples int) bool
- func PContext(text string, body func()) bool
- func PDescribe(text string, body func()) bool
- func PIt(text string, body interface{}, timeout ...float64) bool
- func PMeasure(text string, body func(Benchmarker), samples int) bool
- func RunSpecs(t *testing.T, description string)
- func RunSpecsWithCustomReporters(t *testing.T, description string, specReporters []Reporter)
- func RunSpecsWithDefaultAndCustomReporters(t *testing.T, description string, specReporters []Reporter)
- func XContext(text string, body func()) bool
- func XDescribe(text string, body func()) bool
- func XIt(text string, body interface{}, timeout ...float64) bool
- func XMeasure(text string, body func(Benchmarker), samples int) bool
- type Benchmarker
- type Done
- type Reporter
Constants ¶
View Source
const GINKGO_VERSION = config.VERSION
Variables ¶
This section is empty.
Functions ¶
func BeforeEach ¶
func JustBeforeEach ¶
Types ¶
type Benchmarker ¶
type Reporter ¶
type Reporter interface { SpecSuiteWillBegin(config config.GinkgoConfigType, summary *types.SuiteSummary) ExampleWillRun(exampleSummary *types.ExampleSummary) ExampleDidComplete(exampleSummary *types.ExampleSummary) SpecSuiteDidEnd(summary *types.SuiteSummary) }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.