Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

petdance (2468)

petdance
  andy@petdance.com
http://www.perlbuzz.com/
AOL IM: petdance (Add Buddy, Send Message)
Yahoo! ID: petdance (Add User, Send Message)
Jabber: petdance@gmail.com

I'm Andy Lester, and I like to test stuff. I also write for the Perl Journal, and do tech edits on books. Sometimes I write code, too.

Journal of petdance (2468)

Saturday February 14, 2004
12:31 AM

POD coverage testing is easier

[ #17412 ]
I just released Test::Pod::Coverage 0.08, so that you don't have to specify the module names for your distribution.

use Test::More;
eval "use Test::Pod::Coverage 0.08";
plan skip_all => "Test::Pod::Coverage 0.08 required for testing POD coverage" if $@;
all_pod_coverage_ok();

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Now I have changed my pod_coverage.t to follow the test you outline, so now I just have to wait for Test::Pod::Coverage 0.08 at my local CPAN mirror.

    Keep up the good work,

    jonasbn
    • It's now there on http://search.cpan.org/dist/Test-Pod-Coverage/

      The big win for me is not having to remember to change the module names as I cut and paste my t/pod-coverage.t file around. I had one module where I'd cut'n'pasted the t/pod-coverage.t from WWW::Mechanize, but it was still referring to WWW::Mechanize and WWW::Mechanize::Link. It always worked for me, regardless of how bad the docs in the module were.

      Now that I think about it, I need to make sure that it ONLY looks in blib.

      --

      --
      xoa

  • I was going to do that for that as next weeks resolution item - now I have find something else useful to do you swine :-)

    Good stuff. Yet more large number of lines to be removed from a few test scripts.