Versions in this module Expand all Collapse all v0 v0.16.0 Dec 31, 2020 Changes in this version + var Mux *http.ServeMux + var Server *httptest.Server + func AssertByteArrayEquals(t *testing.T, expectedBytes []byte, actualBytes []byte) + func AssertDeepEquals(t *testing.T, expected, actual interface{}) + func AssertEquals(t *testing.T, expected, actual interface{}) + func AssertErr(t *testing.T, e error) + func AssertJSONEquals(t *testing.T, expectedJSON string, actual interface{}) + func AssertNoErr(t *testing.T, e error) + func CheckByteArrayEquals(t *testing.T, expectedBytes []byte, actualBytes []byte) + func CheckDeepEquals(t *testing.T, expected, actual interface{}) + func CheckEquals(t *testing.T, expected, actual interface{}) + func CheckJSONEquals(t *testing.T, expectedJSON string, actual interface{}) + func CheckNoErr(t *testing.T, e error) + func Endpoint() string + func SetupHTTP() + func SetupPersistentPortHTTP(t *testing.T, port int) + func TeardownHTTP() + func TestBody(t *testing.T, r *http.Request, expected string) + func TestFormValues(t *testing.T, r *http.Request, values map[string]string) + func TestHeader(t *testing.T, r *http.Request, header string, expected string) + func TestJSONRequest(t *testing.T, r *http.Request, expected string) + func TestMethod(t *testing.T, r *http.Request, expected string)