Why do we write tests? What should we test — and what not? This session covers everything from the testing pyramid and the FIRST principles to code coverage pitfalls, mutation testing, and dealing with legacy code. We'll break the cycle of fear that keeps teams from refactoring and explore how TDD can change the way you design software.
Developers of all levels — whether you're writing your first test or trying to improve an existing test suite.
- Understand the testing pyramid and where unit tests fit
- Apply the FIRST principles (Fast, Isolated, Repeatable, Self-validating, Timely)
- Know when 100% coverage is a trap and how mutation testing reveals the truth
- Tackle legacy code with techniques from Michael Feathers
- Break the cycle of fear: tests enable refactoring, refactoring enables tests
60-70 minutes