steps

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertCondition

func AssertCondition(name string, condition func(*harness.Context) error) harness.Step

AssertCondition creates a step that asserts a condition

func AssertEventually

func AssertEventually(name string, assertion func() error, timeout time.Duration) harness.Step

AssertEventually creates a step that waits for an assertion to pass

func RetryOnFailure

func RetryOnFailure(name string, fn harness.StepFunc, attempts int) harness.Step

RetryOnFailure creates a step that retries on failure

func VerifyEndpoint

func VerifyEndpoint(url string, expectedStatus int) harness.Step

VerifyEndpoint creates a step that verifies an HTTP endpoint

func VerifyNoErrors

func VerifyNoErrors(containerName string, errorPatterns ...string) harness.Step

VerifyNoErrors creates a step that checks for errors in logs

func WaitFor

func WaitFor(name string, condition wait.Condition, timeout time.Duration) harness.Step

WaitFor creates a step that waits for a condition

func WaitForService

func WaitForService(serviceName string) harness.Step

WaitForService creates a step that waits for a service to be running

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL