Documentation ¶
Index ¶
- func GetStepFixtureType(t *testing.T, stepFixtureName string) clabernetestesthelper.Operation
- func GlobStepFixtures(t *testing.T, stepIndex int) []string
- func LogStepDescr(idx int, description string) string
- func LogStepSuccess(idx int) string
- func Run(t *testing.T, testName string, steps []Step, namespace string)
- type AssertObject
- type Step
- type Steps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStepFixtureType ¶
func GetStepFixtureType(t *testing.T, stepFixtureName string) clabernetestesthelper.Operation
GetStepFixtureType returns the Operation type of the given test step fixture file.
func GlobStepFixtures ¶
GlobStepFixtures globs all fixtures for the given test step index and returns the filenames.
func LogStepDescr ¶
LogStepDescr sends a pretty string to the test logger for a step starting.
func LogStepSuccess ¶
LogStepSuccess sends a pretty string to the test logger for a step success.
Types ¶
type AssertObject ¶
type AssertObject struct { Name string SkipDefaultNormalize bool NormalizeFuncs []func(t *testing.T, objectData []byte) []byte }
AssertObject represents an object that we are looking to assert the state of in a test -- the simplest form of this would just be the name of an object, but more complicated setups may also include custom normalization functions or other helpers.
Click to show internal directories.
Click to hide internal directories.