Documentation
¶
Index ¶
- func DecTestCount(ctx context.Context) int64
- func Finish(ctx context.Context) error
- func GetPackageAndName(pc uintptr) (string, string)
- func GetParent(ctx context.Context) context.Context
- func GetSuiteName() string
- func GetTestCount(ctx context.Context) int64
- func IncTestCount(ctx context.Context) int64
- func IncrementOffset(additionalOffset ginkgo.Offset, args ...interface{}) []interface{}
- func PatchArgs(begin, end func() error, args ...interface{}) []interface{}
- func PatchArgsNoArgs(begin, end func() error, args ...interface{}) []interface{}
- func PatchFuncs(begin, end func() error, funcs ...func()) []func()
- func WithFinish(ctx context.Context, finish func()) context.Context
- func WithParent(ctx context.Context, parent context.Context) context.Context
- func WithTestCount(ctx context.Context, count int64) context.Context
- type Snapshot
- type State
- type SuiteTest
- type TestCase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecTestCount ¶
func GetPackageAndName ¶
func GetSuiteName ¶
func GetSuiteName() string
func GetTestCount ¶
func IncTestCount ¶
func IncrementOffset ¶
func IncrementOffset(additionalOffset ginkgo.Offset, args ...interface{}) []interface{}
func PatchArgsNoArgs ¶
func PatchArgsNoArgs(begin, end func() error, args ...interface{}) []interface{}
func PatchFuncs ¶
func PatchFuncs(begin, end func() error, funcs ...func()) []func()
Types ¶
type Snapshot ¶
type Snapshot struct { FrameworkName string // contains filtered or unexported fields }
func (*Snapshot) RegisterTest ¶
type State ¶
type State struct {
// contains filtered or unexported fields
}
func (*State) GetContexts ¶
GetContexts returns all contexts in the current stack.
type SuiteTest ¶
type SuiteTest struct { sync.Mutex TestFrameworkName string // contains filtered or unexported fields }
func NewSuiteTest ¶
func (*SuiteTest) EnterContainer ¶
func (*SuiteTest) LeaveContainer ¶
Click to show internal directories.
Click to hide internal directories.