Versions in this module Expand all Collapse all v1 v1.1.0 Jan 30, 2024 Changes in this version + func HeadersWithAuth(t *testing.T, token string) http.Header + func HeadersWithConfigurableAuth(t *testing.T, scheme string, token string) http.Header + func ParseResponseBody(t *testing.T, res *httptest.ResponseRecorder, v interface{}) + func PerformRequest(t *testing.T, s *api.Server, method string, path string, body GenericPayload, ...) *httptest.ResponseRecorder + func PerformRequestWithArray(t *testing.T, s *api.Server, method string, path string, ...) *httptest.ResponseRecorder + func PerformRequestWithArrayAndParams(t *testing.T, s *api.Server, method string, path string, ...) *httptest.ResponseRecorder + func PerformRequestWithParams(t *testing.T, s *api.Server, method string, path string, body GenericPayload, ...) *httptest.ResponseRecorder + func PerformRequestWithRawBody(t *testing.T, s *api.Server, method string, path string, body io.Reader, ...) *httptest.ResponseRecorder + func WithTestServer(t *testing.T, closure func(s *api.Server)) + func WithTestServerConfigurable(t *testing.T, config api.ServerConfig, closure func(s *api.Server)) + func WithTestServerConfigurableContext(ctx context.Context, t *testing.T, config api.ServerConfig, ...) + type GenericArrayPayload []interface + func (g GenericArrayPayload) Reader(t *testing.T) *bytes.Reader + type GenericPayload map[string]interface + func (g GenericPayload) Reader(t *testing.T) *bytes.Reader