good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: MakeMaker, testing, and packages with modulesby grantm (Parson) |
on Sep 06, 2004 at 00:59 UTC ( [id://388694]=note: print w/replies, xml ) | Need Help?? |
The Test::Simple distribution comes with a pretty good tutorial on testing. Another very handy tool is Devel::Cover. It can run your test suite with debugger hooks in place to log which lines of code have been executed and which branches have been followed. It can then produce fancy HTML reports that tell you what percentage of your code is exercised by the test suite and even colour codes the lines of source. Drill down into some of the links on this page for an example.
In Section
Seekers of Perl Wisdom
|
|