Documentation ¶
Overview ¶
Package test provides test utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AssertionFunc ¶
AssertionFunc allows to write assertions about the request to ensure the request has been sent correctly.
type Response ¶
type Response struct { StatusCode int FileName string Headers map[string]string Assertion AssertionFunc }
Response contains a response the testserver responds with
func NewResponse ¶
NewResponse creates a response.
Click to show internal directories.
Click to hide internal directories.