Versions in this module Expand all Collapse all v0 v0.0.1 Aug 5, 2019 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(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()