I'm writing an article for the next TPJ on Pod::Coverage and Devel::Cover, and I decided that Pod::Coverage needed a Test:: wrapper, so here it is: Test::Pod::Coverage.
Checks for POD coverage in files for your distribution.
use Test::Pod::Coverage tests=>1;
pod_coverage_ok( "Foo::Bar", "Foo::Bar is covered" );
Can also be called with a custom Pod::Coverage object, if a default one doesn't work for you, such as if you have a bunch of functions all named FOO_* that don't need documentation:
use Test::Pod::Coverage tests=>1;
pod_coverage_ok(
"Foo::Bar",
{ also_private => [ qr/^FOO_/ ], },
"Foo::Bar is covered"
);
Paging SRSHAH with Test::Distribution....
Pod::Coverage 0.02 is out 0 Comments More | Login | Reply /