Documentation ¶
Index ¶
- func AfterTest(t *testing.T) func()
- func EnsureNoLeak(t *testing.T)
- func GetDefaultTestPath(module string, t *testing.T) string
- func InitTestEnv(module string, t *testing.T) string
- func MakeDefaultTestPath(module string, t *testing.T) string
- func RemoveDefaultTestPath(module string, t *testing.T)
- func WaitChTimeout[T any](ctx context.Context, after time.Duration, ch <-chan T, ...) error
- func WaitExpect(timeout int, expect func() bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureNoLeak ¶
func RemoveDefaultTestPath ¶
func WaitChTimeout ¶ added in v0.6.0
func WaitExpect ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.