Chapter 21. Test-Driven Development and Refactoring
Logic is the art of going wrong with confidence.
|--Joseph Wood Krutch|
Extreme Programming (XP) promoted an important testing practice: writing the tests first. It also promoted continuously refactoring code to improve its quality—less duplication, increased clarity, and so forth. Modern tools support both practices, and many OO developers swear by their value.
An excellent practice promoted by the iterative and agile XP method [Beck00], and applicable to the UP (as ...