Documentation
¶
Index ¶
- Variables
- func FromContext(ctx context.Context) tTest
- func IntoContext(ctx context.Context, t tTest) context.Context
- type ErrReader
- type InternalTest
- type MockT
- func (c *MockT) Cleanup(f func())
- func (t *MockT) Deadline() (deadline time.Time, ok bool)
- func (c *MockT) Error(args ...any)
- func (c *MockT) Errorf(format string, args ...any)
- func (c *MockT) Fail()
- func (c *MockT) FailNow()
- func (c *MockT) Failed() bool
- func (c *MockT) Fatal(args ...any)
- func (c *MockT) Fatalf(format string, args ...any)
- func (c *MockT) Helper()
- func (c *MockT) Log(args ...any)
- func (c *MockT) Logf(format string, args ...any)
- func (c *MockT) Name() string
- func (t *MockT) Parallel()
- func (nt *MockT) Run(name string, f func(t *T)) bool
- func (t *MockT) Setenv(key, value string)
- func (c *MockT) Skip(args ...any)
- func (c *MockT) SkipNow()
- func (c *MockT) Skipf(format string, args ...any)
- func (c *MockT) Skipped() bool
- func (c *MockT) TempDir() string
- type T
Constants ¶
This section is empty.
Variables ¶
View Source
var MainStart = testing.MainStart
Functions ¶
func FromContext ¶
Types ¶
type InternalTest ¶
type InternalTest = testing.InternalTest
Click to show internal directories.
Click to hide internal directories.