Documentation ¶
Index ¶
- func AssertFailingReturnCode(tb testing.TB, _, _ string, e error)
- func AssertJSONReport(tb testing.TB, stdout, _ string, _ error)
- func AssertSuccessfulReturnCode(tb testing.TB, _, _ string, e error)
- func AssertTableReport(tb testing.TB, stdout, _ string, _ error)
- type Assertion
- func AssertFileExists(file string) Assertion
- func AssertFileOutput(tb testing.TB, path string, assertions ...Assertion) Assertion
- func AssertInOutput(data string) Assertion
- func AssertInStderr(data string) Assertion
- func AssertInStdout(data string) Assertion
- func AssertLoggingLevel(level string) Assertion
- func AssertNotInOutput(data string) Assertion
- func AssertRegexInOutput(re *regexp.Regexp) Assertion
- func AssertStderrRowContains(strs ...string) Assertion
- func AssertStdoutLengthGreaterThan(length uint) Assertion
- func AssertStdoutRowContains(strs ...string) Assertion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Assertion ¶
func AssertFileExists ¶
func AssertFileOutput ¶
func AssertInOutput ¶
func AssertInStderr ¶
func AssertInStdout ¶
func AssertLoggingLevel ¶
func AssertNotInOutput ¶
func AssertRegexInOutput ¶
func AssertStderrRowContains ¶
func AssertStdoutRowContains ¶
Click to show internal directories.
Click to hide internal directories.