Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupResult ¶
type GroupResult struct { Name string `json:"name"` Results []TestResult `json:"results"` SubgroupResults []SubgroupResult `json:"subgroup_results"` Total int `json:"total"` Passed int `json:"passed"` Failed int `json:"failed"` }
type Regression ¶
type RegressionResult ¶
type SubgroupResult ¶
type Test ¶
type Test struct { Name string `json:"name"` Subgroup string `json:"subgroup"` Endpoint string `json:"endpoint"` Method string `json:"method"` Body map[string]interface{} `json:"body"` ExpectedStatus int `json:"expectedStatus"` ExpectedBody map[string]interface{} `json:"expectedBody,omitempty"` Header http.Header `json:"header,omitempty"` }
type TestResult ¶
type TestResult struct { Name string `json:"name"` Group string `json:"-"` Subgroup string `json:"-"` Path string `json:"path"` Pass bool `json:"pass"` Cause Cause `json:"cause,omitempty"` Expected interface{} `json:"expected,omitempty"` Actual interface{} `json:"actual,omitempty"` Error string `json:"error,omitempty"` }
Click to show internal directories.
Click to hide internal directories.