The complete cycle of TDD should be:
But as the XP terminology has shifted from "unit testing" to "test-first programming" to "test-driven design", that 4th step has been de-emphasised. Which is probably why Jarno Virtanen felt there was a hole in the TDD approach, "the complete lack of so-called white-box testing", where you'd look for edge and corner cases.
Patrick is correct in describing the tests from the 1st step are "a programmer's tool for thinking", and thus something we don't want to "over-automate". But what about those tests from step 4?
I think this is the stage where we're all in violent agreement:
Posted by Jeffrey Fredrick at January 26, 2004 06:28 PM
TrackBack URL for this entry: