Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Context = wrapContextFunc(ginkgo.Context, false) FContext = wrapContextFunc(ginkgo.FContext, true) PContext = wrapNilContextFunc(ginkgo.PContext) XContext = wrapNilContextFunc(ginkgo.XContext) Describe = wrapContextFunc(ginkgo.Describe, false) FDescribe = wrapContextFunc(ginkgo.FDescribe, true) PDescribe = wrapNilContextFunc(ginkgo.PDescribe) XDescribe = wrapNilContextFunc(ginkgo.XDescribe) It = wrapItFunc(ginkgo.It, false) FIt = wrapItFunc(ginkgo.FIt, true) PIt = ginkgo.PIt XIt = ginkgo.XIt By = ginkgo.By JustBeforeEach = ginkgo.JustBeforeEach BeforeSuite = ginkgo.BeforeSuite AfterSuite = ginkgo.AfterSuite Skip = ginkgo.Skip Fail = ginkgo.Fail CurrentGinkgoTestDescription = ginkgo.CurrentGinkgoTestDescription GinkgoRecover = ginkgo.GinkgoRecover GinkgoT = ginkgo.GinkgoT RunSpecs = ginkgo.RunSpecs RunSpecsWithCustomReporters = ginkgo.RunSpecsWithCustomReporters RunSpecsWithDefaultAndCustomReporters = ginkgo.RunSpecsWithDefaultAndCustomReporters )
Functions ¶
func AfterAll ¶
func AfterAll(body func()) bool
AfterAll runs the function once after any test in context
func BeAnything ¶
func BeAnything() types.GomegaMatcher
BeAnything returns matcher that matches any value
func BeforeAll ¶
func BeforeAll(body func()) bool
BeforeAll runs the function once before any test in context
func BeforeEach ¶
BeforeEach runs the function before each test in context
Types ¶
Click to show internal directories.
Click to hide internal directories.