August 5, 2005
TDD Slang: Sticky Tests
"The tests are sticky": There are enough tests so that during a true refactoring the tests will pass, but otherwise the tests will fail (i.e. the attempted refactoring erroneously changed behavior).
The metaphor results from thinking of the tests as an interlocking spider web that catches any bugs trying to fly through it. When there are too few tests, this happens a lot, but as more and more code is written test-first, this happens less often until you can really rely on them.
Velocity often increases at this point since refactorings can be done (and undone) with confidence.
Posted by wcaputo at August 5, 2005 4:50 PM
Thoughts On: Where I've Been
Everything secret degenerates, even the administration of justice; nothing is safe that does not show how it can bear discussion and publicity. -- Lord Acton
Please Note:
Search
Some Blogs I Read
Older Entries
Is This Thing Still On? (June 14, 2009)
Business and IT converging? (July 15, 2006)
Applying Technology is not Technology (July 5, 2006)
Knowledge Nodes (April 2, 2006)
How to Start an Interplanetary War (February 14, 2006)
XP Exaggerated Redux (February 10, 2006)
Job Postings (February 2, 2006)
Competition (January 31, 2006)
Automatic Discipline (January 26, 2006)
Free Features (January 25, 2006)
(All Entries...)
Business and IT converging? (July 15, 2006)
Applying Technology is not Technology (July 5, 2006)
Knowledge Nodes (April 2, 2006)
How to Start an Interplanetary War (February 14, 2006)
XP Exaggerated Redux (February 10, 2006)
Job Postings (February 2, 2006)
Competition (January 31, 2006)
Automatic Discipline (January 26, 2006)
Free Features (January 25, 2006)
(All Entries...)
Current Reading List
Recently Read
Please Note: