in reply to Re: Devel::Cover tutorial wanted
in thread Devel::Cover tutorial wanted
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Devel::Cover tutorial wanted
by mpeters (Chaplain) on Apr 05, 2005 at 15:11 UTC | |
Re^3: Devel::Cover tutorial wanted
by dragonchild (Archbishop) on Apr 05, 2005 at 13:13 UTC | |
by qq (Hermit) on Apr 05, 2005 at 14:53 UTC |