Versions in this module Expand all Collapse all v1 v1.9.21 Jun 22, 2020 Changes in this version + type TestCmd struct + Cleanup func() + Data interface{} + Err error + Func template.FuncMap + func NewTestCmd(t *testing.T, data interface{}) *TestCmd + func (tt *TestCmd) CloseStdin() + func (tt *TestCmd) ExitStatus() int + func (tt *TestCmd) Expect(tplsource string) + func (tt *TestCmd) ExpectExit() + func (tt *TestCmd) ExpectRegexp(regex string) (*regexp.Regexp, []string) + func (tt *TestCmd) InputLine(s string) string + func (tt *TestCmd) Interrupt() + func (tt *TestCmd) Kill() + func (tt *TestCmd) Run(name string, args ...string) + func (tt *TestCmd) SetTemplateFunc(name string, fn interface{}) + func (tt *TestCmd) StderrText() string + func (tt *TestCmd) WaitExit()