# Functions
ApplyMockIO replaces stdin/out/err with buffers that can be used during testing.
Same as StartProcess but doesn't start the process.
ExecuteT executes the command, pipes any input to STDIN and return STDOUT, logging STDOUT/STDERR to t.
ExtractPortFromAddress extract port from listenAddress The listenAddress must be some strings like tcp://0.0.0.0:12345.
Execute the command, launch goroutines to log stdout/err to t.
Same as GoExecuteT but spawns a go routine to ReadAll off stdout.
NewTestCaseDir creates a new temporary directory for a test case.
dir: The working directory.
Whether or not an HTTP status code was "successful".
Wait for height from the LCD API on localhost.
Wait for the given height from the Tendermint RPC on localhost.
wait for tendermint to start by querying the LCD.
Wait for the next tendermint block from the Tendermint RPC on localhost.
Wait for N tendermint blocks to pass using the Tendermint RPC on localhost.
Wait for the RPC server to respond to /status.
WaitForStart waits for the node to start by pinging the url every 100ms for 10s until it returns 200.
wait for tendermint to start by querying tendermint.
# Constants
Tests expect a ledger device initialized to the following mnemonic.