Documentation ¶
Index ¶
- func CheckLine(t *testing.T, expec, want string, line int)
- func Contains(list []string, searchTerm string) bool
- func FileCheck(t *testing.T, actualPayloadName, expectPayloadName, location string)
- func GetKICSBinaryPath(path string) []string
- func HTMLValidation(t *testing.T, file string)
- func JSONSchemaValidation(t *testing.T, file, schema string)
- func PrepareExpected(path, folder string) ([]string, error)
- func ReadFixture(testName, folder string) (string, error)
- type CmdOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKICSBinaryPath ¶
GetKICSBinaryPath gets the kics binary complete path
func HTMLValidation ¶
HTMLValidation executes many asserts to validate the HTML Report
func JSONSchemaValidation ¶
JSONSchemaValidation execute a schema validation of JSON reports
func PrepareExpected ¶
PrepareExpected prepares the files for validation tests
func ReadFixture ¶
ReadFixture reads a file based on a provided path and filename
Types ¶
Click to show internal directories.
Click to hide internal directories.