Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestApplyConfigurationOptions ¶
type TestApplyConfigurationOptions struct { // TestDirectory is a directory that will be recursively walked to locate all directories containing a test // by finding directories which contain test.yaml // 1. test.yaml - serialized TestDescription // 2. input-dir - directory that will be provided to the apply-configuration command. // 3. output-dir - directory that is expected from apply-configuration command. // This allows for fairly arbitrary nesting strategies. Tests []TestOptions // JunitSuiteName allows naming the junit suite for convenience. Sometimes we run the same tests before/after a change // or in slightly different circumstances. This lets us accomodate that. JunitSuiteName string OutputDirectory string PreservePolicy string Streams genericiooptions.IOStreams }
type TestDescription ¶
type TestOptions ¶
type TestOptions struct { Description TestDescription // TestDirectory is the directory containing the test to run. The directory containing test.yaml and input-dir TestDirectory string // OutputDirectory is the directory where the output should be OutputDirectory string }
func ReadPotentialTestDir ¶
func ReadPotentialTestDir(path string) (*TestOptions, bool, error)
Click to show internal directories.
Click to hide internal directories.