Expand description
Expiremental testing utilities.
Macros§
- assert_
response_ matches - Quickly write tests that check various parts of a
ServiceResponse
. - test_
request - Create a
TestRequest
using a DSL that looks kinda like on-the-wire HTTP/1.x requests.
Functions§
- echo_
path_ service - Creates service that always responds with given status code and echoes request path as response body.