httpexpect
Go library for end-to-end HTTP and REST API tests, with chainable request builders and response assertions.
httpexpect is a testing library for Go that builds HTTP requests and checks their responses through chainable calls. A test sets the path, query, headers, cookies and a JSON, urlencoded or multipart body, then asserts on the status, headers, cookies and payload, including JSON paths and JSON Schema.
The library can talk to a server through a real HTTP client or call the Go handler directly. Failures are reported through the standard testing package or through testify.
Identity
- Status
- Active
- Maintainer
- Victor Gaydov3
- Maintained by
- Individual
- First release
- 20195
Releases
Adoption
Sources
- 2026-11-16: links, Written in, GitHub stars
api.github.com/repos/gavv/httpexpect - 2026-11-16: links, Categories, Runtime
raw.githubusercontent.com/gavv/httpexpect/master/README.md - 2026-11-16: License, Maintainer
raw.githubusercontent.com/gavv/httpexpect/master/LICENSE - 2026-11-16: Current major version, Last release
api.github.com/repos/gavv/httpexpect/releases/latest - 2026-11-16: First release
api.github.com/repos/gavv/httpexpect/commits/v1.0.0 - 2026-11-16: Contributors
api.github.com/repos/gavv/httpexpect/contributors