Versions in this module Expand all Collapse all v5 v5.0.0 Jan 18, 2026 Changes in this version + func LoadBytes(t *testing.T, name string, opts ...loadBytesOpts) []byte + func TrimNewlineEnd(bytes []byte) []byte + type ContextConfig struct + FormValues url.Values + Headers http.Header + JSONBody []byte + MultipartForm *MultipartForm + PathValues echo.PathValues + QueryValues url.Values + Request *http.Request + Response *httptest.ResponseRecorder + RouteInfo *echo.RouteInfo + func (conf ContextConfig) ServeWithHandler(t *testing.T, handler echo.HandlerFunc, opts ...any) *httptest.ResponseRecorder + func (conf ContextConfig) ToContext(t *testing.T) *echo.Context + func (conf ContextConfig) ToContextRecorder(t *testing.T) (*echo.Context, *httptest.ResponseRecorder) + type MultipartForm struct + Fields map[string]string + Files []MultipartFormFile + type MultipartFormFile struct + Content []byte + Fieldname string + Filename string