Documentation
¶
Overview ¶
Package testing provide the test case functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clean ¶
type Clean struct {
CleanPrepare bool `yaml:"cleanPrepare"`
}
Clean represents the clean work after testing
type Prepare ¶
type Prepare struct {
Kubernetes []string `yaml:"kubernetes"`
}
Prepare does the prepare work
type Request ¶
type Request struct { API string `yaml:"api"` Method string `yaml:"method"` Query map[string]string `yaml:"query"` Header map[string]string `yaml:"header"` Body string `yaml:"body"` BodyFromFile string `yaml:"bodyFromFile"` }
Request represents a HTTP request
type Response ¶
type Response struct { StatusCode int `yaml:"statusCode"` Body string `yaml:"body"` Header map[string]string `yaml:"header"` BodyFieldsExpect map[string]string `yaml:"bodyFieldsExpect"` Verify []string `yaml:"verify"` }
Response is the expected response
Click to show internal directories.
Click to hide internal directories.