Documentation ¶
Index ¶
- Constants
- func GetAllOpenAPIDirs() ([]string, error)
- func ValidateNegativeCase(validator *validation.SchemaStorage, moduleName string, ...) error
- func ValidatePositiveCase(schemaStorage *validation.SchemaStorage, moduleName string, ...) error
- func ValuesToString(v map[string]interface{}) string
- type TestCase
- type TestCases
Constants ¶
View Source
const FocusFieldName = "x-test-focus"
Variables ¶
This section is empty.
Functions ¶
func GetAllOpenAPIDirs ¶
func ValidateNegativeCase ¶ added in v0.0.6
func ValidateNegativeCase(validator *validation.SchemaStorage, moduleName string, schema validation.SchemaType, testValues map[string]interface{}, runFocused bool) error
func ValidatePositiveCase ¶ added in v0.0.6
func ValidatePositiveCase(schemaStorage *validation.SchemaStorage, moduleName string, schema validation.SchemaType, testValues map[string]interface{}, runFocused bool) error
func ValuesToString ¶ added in v0.0.6
Types ¶
type TestCase ¶
type TestCase struct { ConfigValues []map[string]interface{} Values []map[string]interface{} HelmValues []map[string]interface{} }
func (TestCase) HasFocused ¶ added in v0.0.6
type TestCases ¶
type TestCases struct { Positive TestCase Negative TestCase // contains filtered or unexported fields }
func TestCasesFromFile ¶ added in v0.0.6
func (*TestCases) HaveConfigValuesCases ¶
func (*TestCases) HaveHelmValuesCases ¶ added in v0.0.6
func (*TestCases) HaveValuesCases ¶
Click to show internal directories.
Click to hide internal directories.