Versions in this module Expand all Collapse all v0 v0.0.2 Feb 15, 2024 Changes in this version type Test + func (t *Test) Error(err error) v0.0.1 Feb 15, 2024 Changes in this version + type AuthSetter interface + SetAuth func(r *http.Request, t Request) + type Body interface + Compare func(body io.Reader) error + Reader func() (body io.Reader, err error) + Type func() string + type Config struct + Client *http.Client + HostURL string + SetupAndTeardown func(e E, t *Test) (teardown func() error, err error) + func (c *Config) LogReport() + func (c *Config) Run(t *testing.T, tgs []*TestGroup) + type E string + func (e E) Split() (method, pattern string) + func (e E) String() string + type Header map[string][]string + func (h Header) GetHeader() http.Header + type HeaderGetter interface + GetHeader func() http.Header + type ParamSetter interface + SetParams func(pattern string) string + type Params map[string]interface + func (pp Params) SetParams(pattern string) (path string) + type Query url.Values + func (q Query) GetQuery() string + type QueryGetter interface + GetQuery func() string + type Request struct + Auth AuthSetter + Body Body + DumpOnFail bool + Header HeaderGetter + Params ParamSetter + Query QueryGetter + type Response struct + Body Body + DumpOnFail bool + Header HeaderGetter + StatusCode int + type T interface + Error func(args ...interface{}) + Run func(name string, f func(T)) bool + type Test struct + DocA interface{} + DocB interface{} + N string + Name string + Request Request + Response Response + SetupAndTeardown func(e E, t *Test) (teardown func() error, err error) + Skip bool + func (t Test) GetName() string + func (t Test) GetT() T + type TestGroup struct + DocA interface{} + DocB interface{} + E E + N string + Name string + Skip bool + SkipDoc bool + Tests []*Test + func (tg TestGroup) GetName() string