Versions in this module Expand all Collapse all v1 v1.0.1 Feb 28, 2018 v1.0.0 Feb 25, 2018 Changes in this version + func AnyError(errs ...error) error + type HttpCall struct + Client *http.Client + Request *http.Request + Response *http.Response + ResponseBody []byte + func NewHttpCall(client *http.Client) *HttpCall + func (hc *HttpCall) AssertNoRequest() error + func (hc *HttpCall) AssertNoResponse() error + func (hc *HttpCall) AssertRequest() error + func (hc *HttpCall) Call() Step + func (hc *HttpCall) EnsureResponse() error + func (hc *HttpCall) NewRequest(method, urlStr string, body io.Reader) Step + func (hc *HttpCall) ReceiveBody() error + func (hc *HttpCall) RequestHeader(key, value string) Step + func (hc *HttpCall) Reset() error + func (hc *HttpCall) ResponseBodyContains(value string) Step + func (hc *HttpCall) ResponseBodyEquals(value string) Step + func (hc *HttpCall) ResponseBodyJSONMatchesStruct(expected interface{}) Step + func (hc *HttpCall) ResponseBodyJSONSchema(schema string) Step + func (hc *HttpCall) ResponseBodyMatches(pattern *regexp.Regexp) Step + func (hc *HttpCall) ResponseHeaderContains(key, value string) Step + func (hc *HttpCall) ResponseHeaderEquals(key, value string) Step + func (hc *HttpCall) ResponseHeaderExists(key string) Step + func (hc *HttpCall) ResponseHeaderNotExists(key string) Step + func (hc *HttpCall) ResponseStatusEquals(status int) Step + type NamedStep struct + func NewNamedStep(name string, step StepFunc) *NamedStep + func (ns NamedStep) String() string + type Step interface + Go func() error + type StepFunc func() error + func (sf StepFunc) Go() error + type Steps []Step + func (ss Steps) Go() error + func (ss Steps) Test(t *testing.T) (results Steps, err error)