Expand description
Declarative HTTP API integration testing framework with fluent assertions.
This crate provides a builder-based API for constructing HTTP requests and asserting properties of the responses. It is designed for integration tests against real or mock HTTP servers.
§Quick start
use philiprehberger_http_test::get;
let response = get("https://httpbin.org/get").send().unwrap();
response.assert_ok();Structs§
- Test
Request - A builder for constructing an HTTP test request.
- Test
Response - The response from an HTTP test request, with assertion methods for validation.
Enums§
- Http
Test Error - Error type for HTTP test operations.