Perl: the Markov chain saw | |
PerlMonks |
Re: Re: Testing?by tstock (Curate) |
on Apr 27, 2002 at 21:10 UTC ( [id://162559]=note: print w/replies, xml ) | Need Help?? |
Test::Inline is also great to use. The same way POD helps you maintain documentation up to date, Inline tests help you maintain test files by placing the tests right in the same file, as POD.
I now have ONE file with documentation, code and tests for each module, and test harness scripts extract the tests as needed. Some test files are keeped stand alone for application/integration tests that involve using more than one module that are not dependent on each other, but that's it. tstock
In Section
Seekers of Perl Wisdom
|
|