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 ¶
func CacheFlush()
func Log ¶
func Log(logger interface { Logf(format string, args ...interface{}) }, args ...interface{})
func RecoverGoexit ¶
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 ¶
func RegisterCacheFlush(fn func()) struct{}
func SetupCacheFlush ¶
func SymbolicName ¶
func SymbolicName(T interface{}) string
Types ¶
type ContactConfig ¶
type ContactConfig struct {
SexType SexType
}
func ToContactConfig ¶
func ToContactConfig(opts ...ContactOption) ContactConfig
type ContactOption ¶
type ContactOption interface {
// contains filtered or unexported methods
}
type RecorderTB ¶
type RecorderTB = doubles.RecorderTB
type SuiteNullTB ¶
func (SuiteNullTB) Cleanup ¶
func (n SuiteNullTB) Cleanup(f func())
func (SuiteNullTB) Error ¶
func (n SuiteNullTB) Error(args ...any)
func (SuiteNullTB) Errorf ¶
func (n SuiteNullTB) Errorf(format string, args ...any)
func (SuiteNullTB) Fail ¶
func (n SuiteNullTB) Fail()
func (SuiteNullTB) FailNow ¶
func (n SuiteNullTB) FailNow()
func (SuiteNullTB) Failed ¶
func (n SuiteNullTB) Failed() bool
func (SuiteNullTB) Fatal ¶
func (n SuiteNullTB) Fatal(args ...any)
func (SuiteNullTB) Fatalf ¶
func (n SuiteNullTB) Fatalf(format string, args ...any)
func (SuiteNullTB) Helper ¶
func (n SuiteNullTB) Helper()
func (SuiteNullTB) Log ¶
func (n SuiteNullTB) Log(args ...any)
func (SuiteNullTB) Logf ¶
func (n SuiteNullTB) Logf(format string, args ...any)
func (SuiteNullTB) Name ¶
func (n SuiteNullTB) Name() string
func (SuiteNullTB) Setenv ¶
func (n SuiteNullTB) Setenv(key, value string)
func (SuiteNullTB) Skip ¶
func (n SuiteNullTB) Skip(args ...any)
func (SuiteNullTB) SkipNow ¶
func (n SuiteNullTB) SkipNow()
func (SuiteNullTB) Skipf ¶
func (n SuiteNullTB) Skipf(format string, args ...any)
func (SuiteNullTB) Skipped ¶
func (n SuiteNullTB) Skipped() bool
func (SuiteNullTB) TempDir ¶
func (n SuiteNullTB) TempDir() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.