more useful options | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
The goal of TDD done correctly is to have a specification fully codified as a test suite. The benefit is that unlike prose, code can be debugged. On the way there, the code does indeed end up accomodating the test suite, but that is a good thing: experience shows that code which is hard to test is quite simply hard to use. Obviously writing tests just for the sake of writing tests is pointless, but that’s a truism. Makeshifts last the longest. In reply to Re^2: A danger of test driven development.
by Aristotle
|
|