Versions in this module Expand all Collapse all v0 v0.1.3 Nov 25, 2021 v0.1.1 Nov 25, 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 NamedTestingT) (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) + func WriteToNewTempFile(t require.TestingT, s string) (*os.File, func()) + type NamedTestingT interface + Name func() 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()