From: Matt S Trout Date: Wed, 8 Aug 2007 13:32:58 +0000 (+0000) Subject: make pod cov not skip if author side, fix exception list X-Git-Tag: v0.08010~90 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b20edc27c4f33ce5d8821fe0f5dc26610b085ccd;p=dbsrgits%2FDBIx-Class.git make pod cov not skip if author side, fix exception list --- diff --git a/t/03podcoverage.t b/t/03podcoverage.t index aefceb2..8f2c0d6 100644 --- a/t/03podcoverage.t +++ b/t/03podcoverage.t @@ -2,7 +2,8 @@ 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_POD}; +plan skip_all => 'set TEST_POD to enable this test' + unless ($ENV{TEST_POD} || -e 'MANIFEST.SKIP'); my @modules = sort { $a cmp $b } (Test::Pod::Coverage::all_modules()); plan tests => scalar(@modules); @@ -21,7 +22,13 @@ my $exceptions = { ignore => [ qw/MODIFY_CODE_ATTRIBUTES component_base_class - mk_classdata/ + mk_classdata + mk_classaccessor/ + ] + }, + 'DBIx::Class::Storage' => { + ignore => [ + qw(cursor) ] }, 'DBIx::Class::CDBICompat::AccessorMapping' => { skip => 1 },