August 05, 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 04:50 PMComments
Checks And Balances Exist For a Reason
“Necessity is the plea for every infringement of human freedom. It is the argument of tyrants; it is the creed of slaves.” -- William Pitt, House of Commons, 11/18/1783"
Please Note:
Search
Some Blogs I Read
Older Entries
The Steelers (January 23, 2006)
Bad Links (January 19, 2006)
Visual Studio Team System Jumpstart (January 18, 2006)
Aligining Value (January 17, 2006)
Lisp Again (January 16, 2006)
Getting It Right (January 13, 2006)
Efficiency vs Productivity (January 12, 2006)
Stubbornness (January 10, 2006)
Writing To Annoy Yourself (January 9, 2006)
Due Process In The Workplace (January 5, 2006)
(All Entries...)
Bad Links (January 19, 2006)
Visual Studio Team System Jumpstart (January 18, 2006)
Aligining Value (January 17, 2006)
Lisp Again (January 16, 2006)
Getting It Right (January 13, 2006)
Efficiency vs Productivity (January 12, 2006)
Stubbornness (January 10, 2006)
Writing To Annoy Yourself (January 9, 2006)
Due Process In The Workplace (January 5, 2006)
(All Entries...)
Current Reading List
Recently Read
Please Note: