Documentation
¶
Index ¶
- func InGoroutine(fn func())
- type RecorderTB
- func (tb *RecorderTB) Cleanup(f func())
- func (tb *RecorderTB) CleanupNow()
- func (tb *RecorderTB) Cleanups() []*recorderTBEvent
- func (tb *RecorderTB) Error(args ...interface{})
- func (tb *RecorderTB) Errorf(format string, args ...interface{})
- func (tb *RecorderTB) Fail()
- func (tb *RecorderTB) FailNow()
- func (tb *RecorderTB) Failed() bool
- func (tb *RecorderTB) Fatal(args ...interface{})
- func (tb *RecorderTB) Fatalf(format string, args ...interface{})
- func (tb *RecorderTB) Helper()
- func (tb *RecorderTB) Log(args ...interface{})
- func (tb *RecorderTB) Logf(format string, args ...interface{})
- func (tb *RecorderTB) Record(action func(tb testing.TB)) *recorderTBEvent
- func (tb *RecorderTB) Replay(oth testing.TB)
- func (tb *RecorderTB) ReplayCleanup(oth testing.TB)
- func (tb *RecorderTB) Run(name string, blk func(testing.TB)) bool
- type StubTB
- func (m *StubTB) Cleanup(f func())
- func (m *StubTB) Error(args ...interface{})
- func (m *StubTB) Errorf(format string, args ...interface{})
- func (m *StubTB) Fail()
- func (m *StubTB) FailNow()
- func (m *StubTB) Failed() bool
- func (m *StubTB) Fatal(args ...interface{})
- func (m *StubTB) Fatalf(format string, args ...interface{})
- func (m *StubTB) Helper()
- func (m *StubTB) Log(args ...interface{})
- func (m *StubTB) Logf(format string, args ...interface{})
- func (m *StubTB) Name() string
- func (m *StubTB) Skip(args ...interface{})
- func (m *StubTB) SkipNow()
- func (m *StubTB) Skipf(format string, args ...interface{})
- func (m *StubTB) Skipped() bool
- func (m *StubTB) TempDir() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InGoroutine ¶ added in v0.23.0
func InGoroutine(fn func())
Types ¶
type RecorderTB ¶ added in v0.19.0
type RecorderTB struct { testing.TB IsFailed bool Config struct { Passthrough bool } // contains filtered or unexported fields }
func (*RecorderTB) Cleanup ¶ added in v0.19.0
func (tb *RecorderTB) Cleanup(f func())
func (*RecorderTB) CleanupNow ¶ added in v0.23.0
func (tb *RecorderTB) CleanupNow()
func (*RecorderTB) Cleanups ¶ added in v0.23.0
func (tb *RecorderTB) Cleanups() []*recorderTBEvent
func (*RecorderTB) Error ¶ added in v0.19.0
func (tb *RecorderTB) Error(args ...interface{})
func (*RecorderTB) Errorf ¶ added in v0.19.0
func (tb *RecorderTB) Errorf(format string, args ...interface{})
func (*RecorderTB) Fail ¶ added in v0.19.0
func (tb *RecorderTB) Fail()
func (*RecorderTB) FailNow ¶ added in v0.19.0
func (tb *RecorderTB) FailNow()
func (*RecorderTB) Failed ¶ added in v0.19.0
func (tb *RecorderTB) Failed() bool
func (*RecorderTB) Fatal ¶ added in v0.19.0
func (tb *RecorderTB) Fatal(args ...interface{})
func (*RecorderTB) Fatalf ¶ added in v0.19.0
func (tb *RecorderTB) Fatalf(format string, args ...interface{})
func (*RecorderTB) Helper ¶ added in v0.19.0
func (tb *RecorderTB) Helper()
func (*RecorderTB) Log ¶ added in v0.19.0
func (tb *RecorderTB) Log(args ...interface{})
func (*RecorderTB) Logf ¶ added in v0.19.0
func (tb *RecorderTB) Logf(format string, args ...interface{})
func (*RecorderTB) Record ¶ added in v0.19.0
func (tb *RecorderTB) Record(action func(tb testing.TB)) *recorderTBEvent
func (*RecorderTB) Replay ¶ added in v0.19.0
func (tb *RecorderTB) Replay(oth testing.TB)
func (*RecorderTB) ReplayCleanup ¶ added in v0.19.0
func (tb *RecorderTB) ReplayCleanup(oth testing.TB)
Click to show internal directories.
Click to hide internal directories.