Documentation
¶
Index ¶
- func CheckFileContainsString(t *testing.T, fileName string, search string)
- func PrepareCommandForTesting(command *cobra.Command, args ...string) *bytes.Buffer
- func ReadBuffer(t *testing.T, outputBuffer *bytes.Buffer) string
- func SkipTestIfAzureCliMissing(suite *suite.Suite, executor ExecuteCommandAndGetString)
- func SkipTestIfOnlyShortTests(t *testing.T)
- type ExecuteCommandAndGetString
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckFileContainsString ¶
func SkipTestIfAzureCliMissing ¶
func SkipTestIfAzureCliMissing(suite *suite.Suite, executor ExecuteCommandAndGetString)
Types ¶
type ExecuteCommandAndGetString ¶
ExecuteCommandAndGetString this type only exists to remove any circular dependencies between packages, for example executor_tests depends on this, and in turn this packages uses the executor to run commands
Click to show internal directories.
Click to hide internal directories.