Versions in this module Expand all Collapse all v3 v3.4.15 Feb 24, 2021 Changes in this version + var ApplyTimeout = time.Second + var RequestTimeout = 3 * time.Second + func AfterTest(t *testing.T) + func AssertEqual(t *testing.T, e, a interface{}, msg ...string) + func AssertFalse(t *testing.T, v bool, msg ...string) + func AssertNil(t *testing.T, v interface{}) + func AssertNotNil(t *testing.T, v interface{}) + func AssertTrue(t *testing.T, v bool, msg ...string) + func CheckAfterTest(d time.Duration) error + func CheckLeakedGoroutine() bool + func ExitInShortMode(reason string) + func FatalStack(t *testing.T, s string) + func MustCheckLeakedGoroutine() + func MustNewURL(t *testing.T, s string) *url.URL + func MustNewURLs(t *testing.T, urls []string) []url.URL + func MustTestMainWithLeakDetection(m *testing.M) + func Poll(interval time.Duration, timeout time.Duration, condition ConditionFunc) (bool, error) + func SkipTestIfShortMode(t testing.TB, reason string) + func WaitSchedule() + type Action struct + Name string + Params []interface{} + type ConditionFunc func() (bool, error) + type PauseableHandler struct + Next http.Handler + func (ph *PauseableHandler) Pause() + func (ph *PauseableHandler) Resume() + func (ph *PauseableHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type Recorder interface + Action func() []Action + Chan func() <-chan Action + Record func(a Action) + Wait func(n int) ([]Action, error) + func NewRecorderStream() Recorder + func NewRecorderStreamWithWaitTimout(waitTimeout time.Duration) Recorder + type RecorderBuffered struct + func (r *RecorderBuffered) Action() []Action + func (r *RecorderBuffered) Chan() <-chan Action + func (r *RecorderBuffered) Record(a Action) + func (r *RecorderBuffered) Wait(n int) (acts []Action, err error) Other modules containing this package github.com/btwiuse/etcd