Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AFInstance ¶
type AFInstance struct {
// contains filtered or unexported fields
}
Saves state of the running Aquarium Fish for particular test
func RunAquariumFish ¶
func RunAquariumFish(t *testing.T, cfg string) *AFInstance
func (*AFInstance) ApiAddress ¶
func (afi *AFInstance) ApiAddress(path string) string
Will return url to access API of AquariumFish
func (*AFInstance) Cleanup ¶
func (afi *AFInstance) Cleanup(t *testing.T) error
Cleanup after the test execution
func (*AFInstance) IsRunning ¶ added in v0.7.0
func (afi *AFInstance) IsRunning() bool
Check the fish instance is running
type Counter ¶
Counter repeats an operation a given number of times and waits between subsequent operations.
type Failer ¶
type Failer interface { Helper() // Log is called for the final test output Log(args ...any) // FailNow is called when the retrying is abandoned. FailNow() }
Failer is an interface compatible with testing.T.
type R ¶
type R struct {
// contains filtered or unexported fields
}
R provides context for the retryer.
Click to show internal directories.
Click to hide internal directories.