# Functions
MatchLine waits for the command to output a line that matches the given regular expression.
No description provided by the author
StopWithSignal returns a stop function that sends the given signal to the command and waits for it to exit.
WithCommand creates a new command with the given name and arguments.
WithDir sets the working directory for the command.
WithEnv sets environment variables for the command.
WithEnvAppend adds environment variables to commands current env.
WithExecCmd allows user to construct the command with custom exec.Cmd.
WithGoCode builds the given Go projects and sets the main package as the command.
WithPreCmd runs the given command as part of the setup.
WithReadyFn allows user to provide custom readiness function.
WithReadyHTTP sets the ready function to wait for url to return 200 OK.
WithReadyTimeout overrides the default 30s timeout for the ready function.
WithStopFn allows user to provide custom stop function.
WithWaitExit sets the ready and stop functions so that ready waits for the command to exit successfully and stop returns nil immediately.
WithWaitMatchingLine sets the ready function so that it waits for the command to output a line that matches the given regular expression.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author