Test Strategy
Overview
Test Layers
| Layer | Tool | What it verifies | Example |
|---|---|---|---|
| Unit | Vitest | Individual functions and logic | |
| Component | React Testing Library + Vitest | Component rendering and interaction | |
| Integration | Vitest + fetch/supertest | API routes with realistic inputs | |
| E2E | Playwright | Complete user journeys through the full stack |
Auth-Specific Test Scenarios
| Scenario | Layer | Expected result |
|---|---|---|