Versions in this module Expand all Collapse all v0 v0.0.4 Nov 25, 2021 v0.0.3 Nov 25, 2021 v0.0.2 Nov 25, 2021 v0.0.1 Nov 24, 2021 Changes in this version + const TestMnemonic + func ApplyMockIO(c *cobra.Command) (*strings.Reader, *bytes.Buffer, *bytes.Buffer) + func ExecuteT(t *testing.T, cmd, input string) (stdout, stderr string) + func ExtractPortFromAddress(listenAddress string) string + func NewTestCaseDir(t *testing.T) (string, func()) + func StatusOK(statusCode int) bool + func WaitForHeight(height int64, port string) + func WaitForHeightTM(height int64, port string) + func WaitForLCDStart(port string) + func WaitForNextHeightTM(port string) + func WaitForNextNBlocksTM(n int64, port string) + func WaitForRPC(laddr string) + func WaitForStart(url string) + func WaitForTMStart(port string) + type Process struct + Args []string + Cmd *exec.Cmd + EndTime time.Time + ExecPath string + ExitState *os.ProcessState + Pid int + StartTime time.Time + StderrPipe io.ReadCloser + StdinPipe io.WriteCloser + StdoutPipe io.ReadCloser + func CreateProcess(dir string, name string, args []string) (*Process, error) + func GoExecuteT(t *testing.T, cmd string) (proc *Process) + func GoExecuteTWithStdout(t *testing.T, cmd string) (proc *Process) + func StartProcess(dir string, name string, args []string) (*Process, error) + func (proc *Process) ReadAll() (stdout []byte, stderr []byte, err error) + func (proc *Process) Stop(kill bool) error + func (proc *Process) Wait()