package
0.0.4
Repository: https://github.com/ipfs/go-test.git
Documentation: pkg.go.dev

# Functions

Args creates a CmdArgs instance with the given command name and args.
NewRunner creates a new Runner for the given test, context, and temporary directory.
NewStderrWatcher creates a Watcher that is signeled when matching a string from stderr.
NewStdoutWatcher creates a Watcher that is signeled when matching a string from stdout.
NewWatcher creates a Watcher that is signeled when matching a string from stderr or stdout.

# Constants

When this environ var is set to a value and running tests with -v flag, then Runner output is logged.

# Structs

CmdArgs contains a command name and any arguments.
Runner is a helper for running the indexer and other commands.
Watcher is a helper for watching a command's output for a specific string.