Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestCase ¶
type TestCase struct { Name string // Name of this test URL string // URL to test Method string // HTTP method to use Body string // Body to send (if POST etc) CheckBody string // Regex to check for in response body CheckBodyCount int // Number of times regex should match CheckStatus int // Expected HTTP status code }
Click to show internal directories.
Click to hide internal directories.