Versions in this module Expand all Collapse all v2 v2.17.2 Mar 25, 2024 Changes in this version + const ContinueOnFailure + const Focus + const GINKGO_VERSION + const OncePerOrdered + const Ordered + const Pending + const ReportEntryVisibilityAlways + const ReportEntryVisibilityFailureOrVerbose + const ReportEntryVisibilityNever + const Serial + const SuppressProgressReporting + var Context = Describe ... + var FContext = Describe ... + var FSpecify = It ... + var GinkgoLogr logr.Logger + var PContext = Describe ... + var PSpecify = It ... + var Specify = It ... + var XContext = Describe ... + var XDescribe = PDescribe + var XDescribeTable = PDescribeTable + var XDescribeTableSubtree = PDescribeTableSubtree + var XEntry = PEntry + var XIt = PIt + var XSpecify = It ... + var XWhen = PWhen + func AbortSuite(message string, callerSkip ...int) + func AddReportEntry(name string, args ...interface{}) + func AfterAll(args ...interface{}) bool + func AfterEach(args ...interface{}) bool + func AfterSuite(body interface{}, args ...interface{}) bool + func AttachProgressReporter(reporter func() string) func() + func BeforeAll(args ...interface{}) bool + func BeforeEach(args ...interface{}) bool + func BeforeSuite(body interface{}, args ...interface{}) bool + func By(text string, callback ...func()) + func DeferCleanup(args ...interface{}) + func Describe(text string, args ...interface{}) bool + func DescribeTable(description string, args ...interface{}) bool + func DescribeTableSubtree(description string, args ...interface{}) bool + func FDescribe(text string, args ...interface{}) bool + func FDescribeTable(description string, args ...interface{}) bool + func FDescribeTableSubtree(description string, args ...interface{}) bool + func FIt(text string, args ...interface{}) bool + func FWhen(text string, args ...interface{}) bool + func Fail(message string, callerSkip ...int) + func GinkgoConfiguration() (types.SuiteConfig, types.ReporterConfig) + func GinkgoHelper() + func GinkgoLabelFilter() string + func GinkgoParallelNode() int + func GinkgoParallelProcess() int + func GinkgoRandomSeed() int64 + func GinkgoRecover() + func It(text string, args ...interface{}) bool + func JustAfterEach(args ...interface{}) bool + func JustBeforeEach(args ...interface{}) bool + func Measure(_ ...interface{}) bool + func PDescribe(text string, args ...interface{}) bool + func PDescribeTable(description string, args ...interface{}) bool + func PDescribeTableSubtree(description string, args ...interface{}) bool + func PIt(text string, args ...interface{}) bool + func PWhen(text string, args ...interface{}) bool + func PauseOutputInterception() + func ReportAfterEach(body any, args ...any) bool + func ReportAfterSuite(text string, body any, args ...interface{}) bool + func ReportBeforeEach(body any, args ...any) bool + func ReportBeforeSuite(body any, args ...any) bool + func ResumeOutputInterception() + func RunSpecs(t GinkgoTestingT, description string, args ...interface{}) bool + func RunSpecsWithCustomReporters(t GinkgoTestingT, description string, _ []Reporter) bool + func RunSpecsWithDefaultAndCustomReporters(t GinkgoTestingT, description string, _ []Reporter) bool + func Skip(message string, callerSkip ...int) + func SynchronizedAfterSuite(allProcessBody interface{}, process1Body interface{}, args ...interface{}) bool + func SynchronizedBeforeSuite(process1Body interface{}, allProcessBody interface{}, args ...interface{}) bool + func When(text string, args ...interface{}) bool + type Benchmarker interface + RecordValue func(name string, value float64, info ...interface{}) + RecordValueWithPrecision func(name string, value float64, units string, precision int, info ...interface{}) + Time func(name string, body func(), info ...interface{}) (elapsedTime time.Duration) + type DeprecatedGinkgoTestDescription struct + ComponentTexts []string + Duration time.Duration + Failed bool + FileName string + FullTestText string + LineNumber int + TestText string + func CurrentGinkgoTestDescription() DeprecatedGinkgoTestDescription + type Done = internal.Done + type EntryDescription string + type FlakeAttempts = internal.FlakeAttempts + type FullGinkgoTInterface interface + AddReportEntryVisibilityAlways func(name string, args ...any) + AddReportEntryVisibilityFailureOrVerbose func(name string, args ...any) + AddReportEntryVisibilityNever func(name string, args ...any) + AttachProgressReporter func(func() string) func() + DeferCleanup func(args ...any) + F func(format string, args ...any) string + Fi func(indentation uint, format string, args ...any) string + Fiw func(indentation uint, maxWidth uint, format string, args ...any) string + GinkgoRecover func() + ParallelProcess func() int + ParallelTotal func() int + Print func(a ...any) + Printf func(format string, a ...any) + Println func(a ...any) + RandomSeed func() int64 + RenderTimeline func() string + func GinkgoT(optionalOffset ...int) FullGinkgoTInterface + type GinkgoTBWrapper struct + GinkgoT FullGinkgoTInterface + func GinkgoTB(optionalOffset ...int) *GinkgoTBWrapper + func (g *GinkgoTBWrapper) Cleanup(f func()) + func (g *GinkgoTBWrapper) Error(args ...any) + func (g *GinkgoTBWrapper) Errorf(format string, args ...any) + func (g *GinkgoTBWrapper) Fail() + func (g *GinkgoTBWrapper) FailNow() + func (g *GinkgoTBWrapper) Failed() bool + func (g *GinkgoTBWrapper) Fatal(args ...any) + func (g *GinkgoTBWrapper) Fatalf(format string, args ...any) + func (g *GinkgoTBWrapper) Helper() + func (g *GinkgoTBWrapper) Log(args ...any) + func (g *GinkgoTBWrapper) Logf(format string, args ...any) + func (g *GinkgoTBWrapper) Name() string + func (g *GinkgoTBWrapper) Setenv(key, value string) + func (g *GinkgoTBWrapper) Skip(args ...any) + func (g *GinkgoTBWrapper) SkipNow() + func (g *GinkgoTBWrapper) Skipf(format string, args ...any) + func (g *GinkgoTBWrapper) Skipped() bool + func (g *GinkgoTBWrapper) TempDir() string + type GinkgoTInterface interface + Cleanup func(func()) + Error func(args ...any) + Errorf func(format string, args ...any) + Fail func() + FailNow func() + Failed func() bool + Fatal func(args ...any) + Fatalf func(format string, args ...any) + Helper func() + Log func(args ...any) + Logf func(format string, args ...any) + Name func() string + Parallel func() + Setenv func(kev, value string) + Skip func(args ...any) + SkipNow func() + Skipf func(format string, args ...any) + Skipped func() bool + TempDir func() string + type GinkgoTestDescription = DeprecatedGinkgoTestDescription + type GinkgoTestingT interface + Fail func() + type GinkgoWriterInterface interface + ClearTeeWriters func() + Print func(a ...interface{}) + Printf func(format string, a ...interface{}) + Println func(a ...interface{}) + TeeTo func(writer io.Writer) + var GinkgoWriter GinkgoWriterInterface + type GracePeriod = internal.GracePeriod + type Labels = internal.Labels + func Label(labels ...string) Labels + type MustPassRepeatedly = internal.MustPassRepeatedly + type NodeTimeout = internal.NodeTimeout + type Offset = internal.Offset + type PollProgressAfter = internal.PollProgressAfter + type PollProgressInterval = internal.PollProgressInterval + type Report = types.Report + func PreviewSpecs(description string, args ...any) Report + type ReportEntryVisibility = types.ReportEntryVisibility + type Reporter = reporters.DeprecatedReporter + type SpecContext = internal.SpecContext + type SpecReport = types.SpecReport + func CurrentSpecReport() SpecReport + type SpecTimeout = internal.SpecTimeout + type TableEntry struct + func Entry(description interface{}, args ...interface{}) TableEntry + func FEntry(description interface{}, args ...interface{}) TableEntry + func PEntry(description interface{}, args ...interface{}) TableEntry Other modules containing this package github.com/zhangzujian/ginkgo