more useful options | |
PerlMonks |
Re^2: Devel::Cover tutorial wantedby qq (Hermit) |
on Apr 05, 2005 at 13:00 UTC ( [id://444965]=note: print w/replies, xml ) | Need Help?? |
Thanks for your clear response. Devel::Cover tells you how much of your code your tests are exercising. So, if you don't hook it into your tests, how is it supposed to do its job? Agreed - but as noted, running against the test harness script gives no practical output. I can do it against each .t script individually, but that's a pain. When you run use Devel::Cover, do you run it against a script that calls all your tests, or some other way? Personally, I think your layout is borked. There is no reason to put your t/ directory under lib/Foo/Bar, just because the Foo/Bar levels have no files. I'll move up the t/ directory. The docs/ is a typo in my node. The real dir is called document_root/, which isn't exactly inspired itself. Update: clarified docs/ layout
In Section
Seekers of Perl Wisdom
|
|