Test Code Quality and engineering
- Developers have to put extra effort into making high-quality test code bases, so that these can be maintained and developed in a sustainable way.
- This Lecture
the FIRST properties
FIRST is an acronym for fast, isolated, repeatable, self-validating and timely:
- Fast
- Isolated
- Repeatable
- Self-Validating
- Timely
Test Desiderata
- Twelve properties that good tests have
Test Code Smells
- Code Duplication
- Assertion Roulette
- Recourse Optimism
- Test Run War
- General Fixture
- Sensitive Equality
- Inappropriate Assertions