Documentation
¶
Index ¶
- func Equal(expected, actual any, msgAndArgs ...any)
- func Error(err error, msgAndArgs ...any)
- func EventuallyWithRetry(t *testing.T, attempts int, sleep time.Duration, f func() error, ...)
- func Fail(failureMessage string, msgAndArgs ...any)
- func False(value bool, msgAndArgs ...any)
- func NoError(err error, msgAndArgs ...any)
- func NotEmpty(o any, msgAndArgs ...any)
- func NotEqual(expected, actual any, msgAndArgs ...any)
- func NotNil(object any, msgAndArgs ...any)
- func Retry(attempts int, sleep time.Duration, f func() error) (err error)
- func True(value bool, msgAndArgs ...any)
- func ValidIdentity(id view.Identity, err error, msgAndArgs ...any) view.Identity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EventuallyWithRetry ¶
func EventuallyWithRetry(t *testing.T, attempts int, sleep time.Duration, f func() error, msgAndArgs ...any)
EventuallyWithRetry will call the function provided, and asserts that the function returns with no error within the provided number of attempts.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.