Skip to main content
Test HTTP behaviour — status codes, auth gates, response shape.
Because routes stay thin and services hold the logic, most of your assertions belong in service tests. Route tests then only need to prove the wiring: the right decorator, the right status code, the right key in the response.