Documentation ¶
Overview ¶
Ginkgo is usually dot-imported via:
import . "github.com/onsi/ginkgo/v2"
however some parts of the DSL may conflict with existing symbols in the user's code.
To mitigate this without losing the brevity of dot-importing Ginkgo the various packages in the dsl directory provide pieces of the Ginkgo DSL that can be dot-imported separately.
This "core" package pulls in the core Ginkgo DSL - most test suites will only need to import this package.
Index ¶
Constants ¶
View Source
const GINKGO_VERSION = ginkgo.GINKGO_VERSION
Variables ¶
View Source
var AbortSuite = ginkgo.AbortSuite
View Source
var AfterAll = ginkgo.AfterAll
View Source
var AfterEach = ginkgo.AfterEach
View Source
var AfterSuite = ginkgo.AfterSuite
View Source
var AttachProgressReporter = ginkgo.AttachProgressReporter
View Source
var BeforeAll = ginkgo.BeforeAll
View Source
var BeforeEach = ginkgo.BeforeEach
View Source
var BeforeSuite = ginkgo.BeforeSuite
View Source
var By = ginkgo.By
View Source
var Context, FContext, PContext, XContext = Describe, FDescribe, PDescribe, XDescribe
View Source
var DeferCleanup = ginkgo.DeferCleanup
View Source
var Describe = ginkgo.Describe
View Source
var FDescribe = ginkgo.FDescribe
View Source
var FIt = ginkgo.FIt
View Source
var Fail = ginkgo.Fail
View Source
var GinkgoConfiguration = ginkgo.GinkgoConfiguration
View Source
var GinkgoHelper = ginkgo.GinkgoHelper
View Source
var GinkgoLabelFilter = ginkgo.GinkgoLabelFilter
View Source
var GinkgoLogr = ginkgo.GinkgoLogr
View Source
var GinkgoParallelProcess = ginkgo.GinkgoParallelProcess
View Source
var GinkgoRandomSeed = ginkgo.GinkgoRandomSeed
View Source
var GinkgoRecover = ginkgo.GinkgoRecover
View Source
var GinkgoT = ginkgo.GinkgoT
View Source
var GinkgoTB = ginkgo.GinkgoTB
View Source
var GinkgoWriter = ginkgo.GinkgoWriter
View Source
var It = ginkgo.It
View Source
var JustAfterEach = ginkgo.JustAfterEach
View Source
var JustBeforeEach = ginkgo.JustBeforeEach
View Source
var PDescribe = ginkgo.PDescribe
View Source
var PIt = ginkgo.PIt
View Source
var PauseOutputInterception = ginkgo.PauseOutputInterception
View Source
var PreviewSpecs = ginkgo.PreviewSpecs
View Source
var ResumeOutputInterception = ginkgo.ResumeOutputInterception
View Source
var RunSpecs = ginkgo.RunSpecs
View Source
var Skip = ginkgo.Skip
View Source
var Specify, FSpecify, PSpecify, XSpecify = It, FIt, PIt, XIt
View Source
var SynchronizedAfterSuite = ginkgo.SynchronizedAfterSuite
View Source
var SynchronizedBeforeSuite = ginkgo.SynchronizedBeforeSuite
View Source
var When, FWhen, PWhen, XWhen = Describe, FDescribe, PDescribe, XDescribe
View Source
var XDescribe = PDescribe
View Source
var XIt = PIt
Functions ¶
This section is empty.
Types ¶
type FullGinkgoTInterface ¶
type FullGinkgoTInterface = ginkgo.FullGinkgoTInterface
type GinkgoTBWrapper ¶
type GinkgoTBWrapper = ginkgo.GinkgoTBWrapper
type GinkgoTInterface ¶
type GinkgoTInterface = ginkgo.GinkgoTInterface
type GinkgoTestingT ¶
type GinkgoTestingT = ginkgo.GinkgoTestingT
type GinkgoWriterInterface ¶
type GinkgoWriterInterface = ginkgo.GinkgoWriterInterface
type SpecContext ¶
type SpecContext = ginkgo.SpecContext
Click to show internal directories.
Click to hide internal directories.