Testing Applications - How to Do It Better?
summary
Practical guidance on testing applications: focus tests where they add real value (after bugs, for new features, and before refactors), prefer small readable tests with clear names, hide complex Given setups, and use assert-object patterns. Recommends choosing classical or London mock styles per module, use Mockito for mocks, keep tests fast (FIRST, target 1s/10s/30s feedback thresholds), run tests on CI, and add temporary higher-level integration tests to make safe refactoring easier.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 3:00Unit tests
- 7:12Why tests are missing
- 11:55Good test rules
- 16:41Writing tests efficiently
- 21:21Testing approaches
- 25:39Refactoring for testability
- 27:25Summary and tips








