Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestCase ¶
type TestCase struct {
// Test Name
Name string
// Request
Request *http.Request
Method string
URL string
Body io.Reader
RequestMod func(req *http.Request)
// Response Checks
TargetStatusCode int
TargetResponseBytes []byte
SkipResponseBytesCheck bool
CustomResponseChecker func(t *testing.T, response *http.Response)
}
TestCase to be tested
Click to show internal directories.
Click to hide internal directories.