Documentation
¶
Index ¶
- func CacheFlush()
- func Log(logger interface{ ... }, args ...interface{})
- func RecoverGoexit(fn func()) sandbox.RunOutcome
- func RegisterCacheFlush(fn func()) struct{}
- func SetupCacheFlush(tb testing.TB)
- func SymbolicName(T interface{}) string
- type ContactConfig
- type ContactOption
- type RecorderTB
- type SexType
- type SuiteNullTB
- func (n SuiteNullTB) Cleanup(f func())
- func (n SuiteNullTB) Error(args ...any)
- func (n SuiteNullTB) Errorf(format string, args ...any)
- func (n SuiteNullTB) Fail()
- func (n SuiteNullTB) FailNow()
- func (n SuiteNullTB) Failed() bool
- func (n SuiteNullTB) Fatal(args ...any)
- func (n SuiteNullTB) Fatalf(format string, args ...any)
- func (n SuiteNullTB) Helper()
- func (n SuiteNullTB) Log(args ...any)
- func (n SuiteNullTB) Logf(format string, args ...any)
- func (n SuiteNullTB) Name() string
- func (n SuiteNullTB) Setenv(key, value string)
- func (n SuiteNullTB) Skip(args ...any)
- func (n SuiteNullTB) SkipNow()
- func (n SuiteNullTB) Skipf(format string, args ...any)
- func (n SuiteNullTB) Skipped() bool
- func (n SuiteNullTB) TempDir() string
- type Teardown
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheFlush ¶ added in v0.34.2
func CacheFlush()
func Log ¶ added in v0.70.1
func Log(logger interface { Logf(format string, args ...interface{}) }, args ...interface{})
func RecoverGoexit ¶ added in v0.93.0
func RecoverGoexit(fn func()) sandbox.RunOutcome
RecoverGoexit helps overcome the testing.TB#FailNow's behaviour where on failure the goroutine exits to finish earlier.
func RegisterCacheFlush ¶ added in v0.34.2
func RegisterCacheFlush(fn func()) struct{}
func SetupCacheFlush ¶ added in v0.34.2
func SymbolicName ¶ added in v0.48.0
func SymbolicName(T interface{}) string
Types ¶
type ContactConfig ¶ added in v0.133.0
type ContactConfig struct {
SexType SexType
}
func ToContactConfig ¶ added in v0.133.0
func ToContactConfig(opts ...ContactOption) ContactConfig
type ContactOption ¶ added in v0.133.0
type ContactOption interface {
// contains filtered or unexported methods
}
type RecorderTB ¶ added in v0.19.0
type RecorderTB = doubles.RecorderTB
type SexType ¶ added in v0.114.0
type SexType int
const ( SexTypeMale SexType SexTypeFemale SexTypeAny )
type SuiteNullTB ¶ added in v0.135.0
func (SuiteNullTB) Cleanup ¶ added in v0.135.0
func (n SuiteNullTB) Cleanup(f func())
func (SuiteNullTB) Error ¶ added in v0.135.0
func (n SuiteNullTB) Error(args ...any)
func (SuiteNullTB) Errorf ¶ added in v0.135.0
func (n SuiteNullTB) Errorf(format string, args ...any)
func (SuiteNullTB) Fail ¶ added in v0.135.0
func (n SuiteNullTB) Fail()
func (SuiteNullTB) FailNow ¶ added in v0.135.0
func (n SuiteNullTB) FailNow()
func (SuiteNullTB) Failed ¶ added in v0.135.0
func (n SuiteNullTB) Failed() bool
func (SuiteNullTB) Fatal ¶ added in v0.135.0
func (n SuiteNullTB) Fatal(args ...any)
func (SuiteNullTB) Fatalf ¶ added in v0.135.0
func (n SuiteNullTB) Fatalf(format string, args ...any)
func (SuiteNullTB) Helper ¶ added in v0.135.0
func (n SuiteNullTB) Helper()
func (SuiteNullTB) Log ¶ added in v0.135.0
func (n SuiteNullTB) Log(args ...any)
func (SuiteNullTB) Logf ¶ added in v0.135.0
func (n SuiteNullTB) Logf(format string, args ...any)
func (SuiteNullTB) Name ¶ added in v0.135.0
func (n SuiteNullTB) Name() string
func (SuiteNullTB) Setenv ¶ added in v0.135.0
func (n SuiteNullTB) Setenv(key, value string)
func (SuiteNullTB) Skip ¶ added in v0.135.0
func (n SuiteNullTB) Skip(args ...any)
func (SuiteNullTB) SkipNow ¶ added in v0.135.0
func (n SuiteNullTB) SkipNow()
func (SuiteNullTB) Skipf ¶ added in v0.135.0
func (n SuiteNullTB) Skipf(format string, args ...any)
func (SuiteNullTB) Skipped ¶ added in v0.135.0
func (n SuiteNullTB) Skipped() bool
func (SuiteNullTB) TempDir ¶ added in v0.135.0
func (n SuiteNullTB) TempDir() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.