ginkgo

package
v1.46.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2026 License: MIT Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AfterEach = ginkgo.AfterEach
View Source
var AfterSuite = ginkgo.AfterSuite
View Source
var BeAssignableToTypeOf = gomega.BeAssignableToTypeOf
View Source
var BeClosed = gomega.BeClosed
View Source
var BeEmpty = gomega.BeEmpty
View Source
var BeEquivalentTo = gomega.BeEquivalentTo
View Source
var BeFalse = gomega.BeFalse
View Source
var BeNil = gomega.BeNil
View Source
var BeNumerically = gomega.BeNumerically
View Source
var BeSent = gomega.BeSent
View Source
var BeTemporally = gomega.BeTemporally
View Source
var BeTrue = gomega.BeTrue
View Source
var BeZero = gomega.BeZero
View Source
var BeforeEach = ginkgo.BeforeEach
View Source
var BeforeSuite = ginkgo.BeforeSuite
View Source
var By = ginkgo.By
View Source
var ConsistOf = gomega.ConsistOf
View Source
var Consistently = gomega.Consistently
View Source
var ConsistentlyWithOffset = gomega.ConsistentlyWithOffset
View Source
var ContainElement = gomega.ContainElement
View Source
var ContainSubstring = gomega.ContainSubstring
View Source
var Context = ginkgo.Context
View Source
var ContinueOnFailure = ginkgo.ContinueOnFailure
View Source
var CurrentSpecReport = ginkgo.CurrentSpecReport
View Source
var Describe = ginkgo.Describe
View Source
var Equal = gomega.Equal

Declarations for Gomega Matchers

View Source
var Eventually = gomega.Eventually
View Source
var EventuallyWithOffset = gomega.EventuallyWithOffset
View Source
var Expect = gomega.Expect
View Source
var ExpectWithOffset = gomega.ExpectWithOffset
View Source
var FContext = ginkgo.FContext
View Source
var FDescribe = ginkgo.FDescribe
View Source
var FIt = ginkgo.FIt
View Source
var Fail = ginkgo.Fail
View Source
var GinkgoParallelProcess = ginkgo.GinkgoParallelProcess
View Source
var GinkgoRecover = ginkgo.GinkgoRecover
View Source
var GinkgoT = ginkgo.GinkgoT
View Source
var GinkgoWriter = ginkgo.GinkgoWriter

Declarations for Ginkgo DSL

View Source
var HaveKey = gomega.HaveKey
View Source
var HaveKeyWithValue = gomega.HaveKeyWithValue
View Source
var HaveLen = gomega.HaveLen
View Source
var HaveOccurred = gomega.HaveOccurred
View Source
var HavePrefix = gomega.HavePrefix
View Source
var HaveSuffix = gomega.HaveSuffix
View Source
var InterceptGomegaFailures = gomega.InterceptGomegaFailures
View Source
var It = ginkgo.It
View Source
var JustBefore = ginkgo.JustBeforeEach
View Source
var JustBeforeEach = ginkgo.JustBeforeEach
View Source
var MatchError = gomega.MatchError
View Source
var MatchJSON = gomega.MatchJSON
View Source
var MatchRegexp = gomega.MatchRegexp
View Source
var Ordered = ginkgo.Ordered

Spec-container decorators (Ginkgo v2). Re-exported so a stateful suite can DECLARE its real ordering constraint (Ordered → specs run in defined order, enabling real BeforeAll/AfterAll) instead of silently depending on file order under `ginkgo --randomize-all`. ContinueOnFailure keeps the rest of an Ordered suite running after one spec fails (useful for report-style sequences).

View Source
var PContext = ginkgo.PContext
View Source
var PDescribe = ginkgo.PDescribe
View Source
var PIt = ginkgo.PIt
View Source
var Panic = gomega.Panic
View Source
var Receive = gomega.Receive
View Source
var RegisterFailHandler = gomega.RegisterFailHandler

Declarations for Gomega DSL

View Source
var RegisterTestingT = gomega.RegisterTestingT
View Source
var Retry = retry.Retry
View Source
var RunSpecs = ginkgo.RunSpecs
View Source
var Serial = ginkgo.Serial
View Source
var SetDefaultConsistentlyDuration = gomega.SetDefaultConsistentlyDuration
View Source
var SetDefaultConsistentlyPollingInterval = gomega.SetDefaultConsistentlyPollingInterval
View Source
var SetDefaultEventuallyPollingInterval = gomega.SetDefaultEventuallyPollingInterval
View Source
var SetDefaultEventuallyTimeout = gomega.SetDefaultEventuallyTimeout
View Source
var Skip = ginkgo.Skip
View Source
var Succeed = gomega.Succeed
View Source
var SynchronizedAfterSuite = ginkgo.SynchronizedAfterSuite
View Source
var SynchronizedBeforeSuite = ginkgo.SynchronizedBeforeSuite
View Source
var XContext = ginkgo.XContext
View Source
var XDescribe = ginkgo.XDescribe
View Source
var XIt = ginkgo.XIt
View Source
var Ω = gomega.Ω

Functions

func AfterAll

func AfterAll(fn func())

func BeforeAll

func BeforeAll(fn func())

BeforeAll / AfterAll helpers

func Expect1

func Expect1(actual interface{}, extra ...interface{}) gomega.Assertion

Helpers for nested Expect calls

func Expect2

func Expect2(actual interface{}, extra ...interface{}) gomega.Assertion

func Expect3

func Expect3(actual interface{}, extra ...interface{}) gomega.Assertion

func Setup

func Setup(suiteName string, t *testing.T)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL