Just another Perl shrine | |
PerlMonks |
Re: Testaholics Anonymous (or how I learned to stop worrying and love Test::More)by g00n (Hermit) |
on Apr 03, 2004 at 04:43 UTC ( [id://342233]=note: print w/replies, xml ) | Need Help?? |
I was reading Petdances log (use.perl.org) and he summarised testing as .....
There is no such thing as a dumb test. Your tests can often find problems where you're not expecting them. Test that everything you say happens actually does happen. If it's worth documenting, it's worth testing. I asked him a few questions on his testing methodology and Andy answered back a few gems that you may find interesting ... (reproduced below).
What I get back from this is testing is soft of self discovery processing where testing allows you to enforce how your code should behave. At the same time uncover defects. Follow the links to see what modules are being used.
In Section
Meditations
|
|