Documentation ¶
Overview ¶
Package service contains functions and assertions for interacting with services.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Matcher ¶
Matcher is an alias to should.Matcher.
func ResponseEqual ¶
ResponseEqual returns a matcher that checks whenever a code service response succeeded with the expected results.
func ResponseError ¶
func ResponseError(expectedResults interface{}) Matcher
ResponseError returns a matcher that checks whenever a code service response was an error.
func ResponseSuccess ¶
func ResponseSuccess(expectedResults interface{}) Matcher
ResponseSuccess returns a matcher that checks whenever a code service response was successful.
Click to show internal directories.
Click to hide internal directories.