Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPAsserter ¶
func NewHTTPAsserter() *httpAsserter
NewHTTPAsserter creates a new AWSAsserter instance
Types ¶
type HTTPAsserter ¶
type HTTPAsserter interface {
AssertResponseStatus(resp *httphelpers.HttpResponse, expectedStatus int) error
AssertResponseHeader(resp *httphelpers.HttpResponse, headerName, expectedValue string) error
AssertResponseContains(resp *httphelpers.HttpResponse, expectedContent string) error
AssertResponseJSON(resp *httphelpers.HttpResponse) error
}
HTTPAsserter defines HTTP-specific assertions
Click to show internal directories.
Click to hide internal directories.