Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Assert ¶
func Assert(t require.TestingT, f func(t require.TestingT), timeout time.Duration, interval time.Duration) bool
Assert repeatedly calls a sub-test given by f until it succeeds. The frequency of calls is determined by interval. Failures in the sub-test do not let the surrounding test fail, unless the duration given by timeout passed. In this case, a final attempt is made that will also make the surrounding test fail so that the output of the final attempt is shown in the overall test output.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.