in reply to Skipping packages in Pod::Coverage tests

Isn't this what you need?
use Test::More; eval "use Test::Pod::Coverage"; plan skip_all => "Test::Pod::Coverage required for testing pod coverag +e" if $@; my @modules = grep{!/^Exclude::ME::General$/} all_modules(); plan tests => scalar @modules; pod_coverage_ok($_) for @modules;

Replies are listed 'Best First'.
Re^2: Skipping packages in Pod::Coverage tests
by astroboy (Chaplain) on Jun 21, 2009 at 11:35 UTC
    thanks!
      Here's update, based on Module::New
      use strict; use warnings; use Test::More; eval "use Test::Pod::Coverage 1.04"; plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@; plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_P +OD};
      The idea is that only module developers would be interested in pod/coverage tests