Pin It Down: Tests for Code You Didn't Write
Before changing old code that has no tests, write tests that record what it does today, right or wrong, so any change that alters its behavior shows up at once; these characterization tests pin the code down, surprises included, and the surprises become questions for the people who know the business.
Updated

- Category
- Data Structures
- Level
- Journeyman
- Tags
- Approval Testing, Characterization Test, Legacy Code, OOP, software-development