in reply to A danger of test driven development.
I'm also not sure you were truly doing TDD when you have code you changed to pass the tests. You shouldn't have to change code to pass tests - the code should be written literally line by line to pass tests you wrote 5 minutes earlier. I literally write can_ok( $CLASS, 'foo' );, watch that fail, then write sub foo {}, watch it pass, then write the first test for foo().
It sounds like you wrote too much untested code at once.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: A danger of test driven development.
by pg (Canon) on Oct 03, 2005 at 15:14 UTC | |
Re^2: A danger of test driven development.
by Perl Mouse (Chaplain) on Oct 03, 2005 at 12:01 UTC | |
by dragonchild (Archbishop) on Oct 05, 2005 at 16:28 UTC |