From: t0m Date: Wed, 8 Jul 2009 19:43:08 +0000 (+0100) Subject: Remove -T as that stops my perl finding my local::lib, ergo I don't find pod coverage... X-Git-Tag: 0.20~6^2~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Storage.git;a=commitdiff_plain;h=77983856cec12e28a12f50f89a564199822c9d0d Remove -T as that stops my perl finding my local::lib, ergo I don't find pod coverage and the test doesn't run. Bump required pod::coverage version so that POD is found for ::Deferred, and switch to manually getting a list of modules and manually filtering out ::Traits?::, as these are buried in other files and have no methods, so need no individual docs --- diff --git a/t/pod-coverage.t b/t/pod-coverage.t index 703f91d..6162d83 100644 --- a/t/pod-coverage.t +++ b/t/pod-coverage.t @@ -1,6 +1,15 @@ -#!perl -T +#!perl use Test::More; -eval "use Test::Pod::Coverage 1.04"; +eval "use Test::Pod::Coverage 1.08"; +warn $@ if $@; plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@; -all_pod_coverage_ok(); + +my @modules = grep { ! /::Traits?::/ } all_modules(); + +plan tests => scalar(@modules); + +foreach my $module (@modules) { + pod_coverage_ok($module); +} +