Versions in this module Expand all Collapse all v1 v1.0.1 Oct 13, 2023 Changes in this version + type CaseData struct + AfterRequestScriptArgs map[string]interface{} + BeforeScriptArgs map[string]interface{} + DbQueryArgs map[string]interface{} + DbResponse []string + DbResponseArgs map[string]interface{} + Description string + RequestArgs map[string]interface{} + ResponseArgs map[int]map[string]interface{} + Variables map[string]interface{} + type DatabaseCheck struct + DbQueryTmpl string + DbResponseTmpl []string + type Test struct + AfterRequestScript string + BeforeScript string + CombinedVariables map[string]string + DbChecks []models.DatabaseCheck + DbQuery string + DbResponse []string + Filename string + Request string + ResponseHeaders map[int]map[string]string + Responses map[int]string + func (t *Test) AfterRequestScriptPath() string + func (t *Test) AfterRequestScriptTimeout() int + func (t *Test) BeforeScriptPath() string + func (t *Test) BeforeScriptTimeout() int + func (t *Test) Clone() models.TestInterface + func (t *Test) ContentType() string + func (t *Test) Cookies() map[string]string + func (t *Test) DbQueryString() string + func (t *Test) DbResponseJson() []string + func (t *Test) DisallowExtraFields() bool + func (t *Test) Fixtures() []string + func (t *Test) GetCombinedVariables() map[string]string + func (t *Test) GetDatabaseChecks() []models.DatabaseCheck + func (t *Test) GetDescription() string + func (t *Test) GetFileName() string + func (t *Test) GetForm() *models.Form + func (t *Test) GetMethod() string + func (t *Test) GetName() string + func (t *Test) GetRequest() string + func (t *Test) GetResponse(code int) (string, bool) + func (t *Test) GetResponseHeaders(code int) (map[string]string, bool) + func (t *Test) GetResponses() map[int]string + func (t *Test) GetStatus() string + func (t *Test) GetVariables() map[string]string + func (t *Test) GetVariablesToSet() map[int]map[string]string + func (t *Test) Headers() map[string]string + func (t *Test) IgnoreArraysOrdering() bool + func (t *Test) IgnoreDbOrdering() bool + func (t *Test) NeedsCheckingValues() bool + func (t *Test) Path() string + func (t *Test) Pause() int + func (t *Test) ServiceMocks() map[string]interface{} + func (t *Test) SetDatabaseChecks(checks []models.DatabaseCheck) + func (t *Test) SetDbQueryString(query string) + func (t *Test) SetDbResponseJson(responses []string) + func (t *Test) SetForm(val *models.Form) + func (t *Test) SetHeaders(val map[string]string) + func (t *Test) SetMethod(val string) + func (t *Test) SetPath(val string) + func (t *Test) SetQuery(val string) + func (t *Test) SetRequest(val string) + func (t *Test) SetResponses(val map[int]string) + func (t *Test) SetStatus(status string) + func (t *Test) ToJSON() ([]byte, error) + func (t *Test) ToQuery() string + type TestDefinition struct + AfterRequestScriptParams scriptParams + BeforeScriptParams scriptParams + Cases []CaseData + ComparisonParams compare.CompareParams + CookiesVal map[string]string + DatabaseChecks []DatabaseCheck + DbQueryTmpl string + DbResponseTmpl []string + Description string + FixtureFiles []string + Form *models.Form + HeadersVal map[string]string + Method string + MocksDefinition map[string]interface{} + Name string + PauseValue int + QueryParams string + RequestTmpl string + RequestURL string + ResponseHeaders map[int]map[string]string + ResponseTmpls map[int]string + Status string + Variables map[string]string + VariablesToSet VariablesToSet + type VariablesToSet map[int]map[string]string + func (v *VariablesToSet) UnmarshalYAML(unmarshal func(interface{}) error) error + type YamlFileLoader struct + func NewLoader(testsLocation string) *YamlFileLoader + func (l *YamlFileLoader) Load() ([]models.TestInterface, error) + func (l *YamlFileLoader) SetFileFilter(f string)