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: this site...
Curiouser and curiouser!
Search
Some Blogs I Read
Older Entries
Site Comments (November 2, 2009)
The Death of Agile (November 2, 2009)
Gifts Instead of Certs (October 26, 2009)
Continuation Passing Style (June 16, 2009)
Closures and Sequence Points (June 16, 2009)
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)
(All Entries...)
The Death of Agile (November 2, 2009)
Gifts Instead of Certs (October 26, 2009)
Continuation Passing Style (June 16, 2009)
Closures and Sequence Points (June 16, 2009)
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)
(All Entries...)
Current Reading List
Recently Read
Please Note: