Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: Keeping sharp and freshby dragonchild (Archbishop) |
on Sep 23, 2005 at 13:01 UTC ( [id://494512]=note: print w/replies, xml ) | Need Help?? |
Test-Driven Development. It's a practice that was made popular by XP (eXtreme Programming). The theory goes something like this:
At all times, your entire test suite should always pass, except for the one test that you're currently failing because that's the one specific piece of the spec that you're currently implementing. Whatever is in source control should always pass all the tests. Theoretically, you have 100% code coverage (as reported by Devel::Cover) because you never wrote a piece of code without having written the test for it first. My criteria for good software:
In Section
Meditations
|
|