test(chapter-28): add HTTP integration tests around the Express app
Chapter: 28 - Request-level testing. Plain-English map: Extract an app factory from process startup and add Supertest integration tests that exercise the API through HTTP-style requests. Why it matters: Unit tests protect small functions. Integration tests catch mistakes in route wiring, middleware order, and app startup assumptions. Principle: Test important boundaries at the level where users and clients hit them. Precedent borrowed: The fork report's testing leaders and downstream backend test coverage. Upstream base: willchen96/mike@d39f580. Original local commit: 9549258.
| Repository | amal66/mike |
|---|---|
| Author | Amal <mamalanand3@gmail.com> |
| Authored | |
| Parents | 5719dd1d |
| Stats | 5 files changed , +2406 , -1765 |
| Part of | Regression test suite (unit + HTTP integration) |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-e7a09761.md
from inside the repo you want the change in.