Documentation ¶
Index ¶
- func AssertOutput(t *testing.T, expected, actual interface{})
- func ContainsAll(target string, substrings ...string) gotestcmp.Comparison
- func GetResourcePath(elem ...string) string
- func NewVT10XConsole(opts ...expect.ConsoleOpt) (*expect.Console, vt10x.Terminal, error)
- func Process(t *template.Template, vars interface{}) string
- func ProcessString(str string, vars interface{}) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertOutput ¶
func ContainsAll ¶ added in v0.14.0
func ContainsAll(target string, substrings ...string) gotestcmp.Comparison
ContainsAll is a comparison utility, compares given substrings against target string and returns the gotest.tools/assert/cmp.Comparison function. Provide target string as first arg, followed by any number of substring as args
func GetResourcePath ¶
func NewVT10XConsole ¶ added in v0.25.0
NewVT10XConsole returns a new expect.Console that multiplexes the Stdin/Stdout to a VT10X terminal, allowing Console to interact with an application sending ANSI escape sequences.
func ProcessString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.