Testing
Evidence that it works, at the level where the evidence is worth its cost.
4 concepts · 145 minutes
- Testing FundamentalsArrange, act, assert — and testing behaviour instead of implementation.
- The Testing PyramidWhat to test at which level, and why 100% unit coverage can still ship a broken app.
- Mocks, Stubs & FakesIsolating the thing under test without mocking so much you test nothing.
- End-to-End TestingDriving the real app like a user — high confidence, high cost, choose the flows carefully.