Versions in this module Expand all Collapse all v1 v1.0.0 Aug 18, 2018 Changes in this version + type TestCmd struct + Cleanup func() + Data interface{} + Func template.FuncMap + func NewTestCmd(t *testing.T, data interface{}) *TestCmd + func (tt *TestCmd) CloseStdin() + func (tt *TestCmd) Expect(tplsource string) + func (tt *TestCmd) ExpectExit() + func (tt *TestCmd) ExpectRegexp(resource 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()