Testing pyramid
Test frameworks
Test commands
Backend
Frontend
What is tested
Backend
Frontend
Test data management
- Backend: Tests use isolated database transactions that roll back after each test
- Frontend: Tests use mocked API responses and in-memory state
- E2E: Tests run against a dedicated test database, seeded before each suite