Testing
Unit, integration, mocking, test isolation.
Revision Sheet
- Unit Test: Isolated logic. Fast.
- Integration Test: Multiple units together (DB, Cache). Moderate.
- E2E Test: Full system via UI. Slow.
- Mock: Fake dependency that records usage.
- Test Isolation: Tests must not affect each other.
Connections
Connects to: CI/CD (Part 23), Database Design (Part 15), and Software Architecture (Part 20).