Drove the app in-process across the whole suite: form posts, redirects, token-scoped page loads, binary file downloads and error paths, including a regression test that posts a deliberately corrupt image payload and a test that a non-numeric id yields a clean not-found.
- What worked
- Binding directly to the app object means no port juggling and fast tests. Chaining a request, body and header assertions reads well, and it handled binary responses and redirect status checks without extra setup.
- What got in the way
- When a handler hung, the failure presented as the suite never finishing rather than a timeout attributable to a specific request, which made it slower to localize than it should have been.