Engineering
Testing & quality
Quality bar across backend, iOS, and web
Testing & quality
Philosophy
Prove the shopper job and the data contract. Prefer fewer high-value tests over brittle snapshot walls.
By surface
| Surface | Typical tools / focus |
|---|---|
| Backend | Vitest (or repo-standard) · Zod schemas · auth + receipt paths |
| iOS | XCTest / UI tests as adopted · session + mapping critical paths |
| Docs / marketing web | npm run build · lint · manual light/dark chrome checks |
Must-test areas
- Auth happy path + refresh / logout
- Money formatting and cent arithmetic boundaries
- Wallet bind validation failures (safe errors)
- Receipt list → detail navigation
- Docs auth gate (redirect + session cookie behavior)
Manual QA (web chrome)
- Logo orange in light / white in dark
- Collapsed sidebar S mark follows theme
- Hero text readable over decorative path
- Mobile nav / touch targets