package
1.3.1119
Repository: https://github.com/jenkins-x/jx.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
AssertFileContains asserts that a given file exists and contains the given text.
AssertFileDoesNotContain asserts that a given file exists and does not contain the given text.
AssertFileDoesNotExist asserts that the given file does not exist.
AssertFileExists asserts that the given file exists.
AssertFilesExist asserts that the list of file paths either exist or don't exist.
AssertLoadFileText asserts that the given file name can be loaded and returns the string contents.
AssertTextFileContentsEqual asserts that both the expected and actual files can be loaded as text and that their contents are identical.
CreateAuthConfigService creates and returns a fixture ConfigService.
Debugf debug format.
ExpectString does the same as the go-expect console.ExpectString method, but also reports failures to the testing object in a sensible format.
IsDebugLog debug log?.
NewTerminal mock terminal to control stdin and stdout.
Output returns the output to use for tests.
SkipForWindows skips tests if they are running on Windows This is to be used for valid tests that just don't work on windows for whatever reason.
TestCloser closes io.
TestShouldDisableMaven should disable maven.

# Structs

ConsoleWrapper is a wrapper around the go-expect Console that takes a test object and will report failures This prevents users having to manually detect and report errors during the tests.