Expand description
Test harness for Luxid applications.
Requests go through the real service — the same routing, middleware, container and adapter code production runs — so a passing test exercises the actual request path rather than a parallel one.
Assertions panic on failure, as test assertions should, and every message includes the response body. A test that fails with only “expected 200, got 500” costs a debugging session that the body would have saved.
Structs§
- TestApp
- An application under test.
- Test
Request - Test
Response
Enums§
- Method
- Mirrors
luxid::Method, and is#[non_exhaustive]for the same reason: a new verb should never break a test suite that matches on one.