"be consistent" | |
PerlMonks |
Re: How do folks organize unit tests?by lachoy (Parson) |
on Mar 04, 2006 at 04:50 UTC ( [id://534421]=note: print w/replies, xml ) | Need Help?? |
The easiest thing to do is look at a few modules on CPAN and see how they do it. Typically you'll find lots of *.t files in the t/ directory, sometimes they'll be prefixed with numbers so they'll execute in a predictable order. (Whether that's a good idea is a different post.) But whatever you do try and make the test names as descriptive as you can. Chris
In Section
Seekers of Perl Wisdom
|
|