1#!perl 2# This file was automatically generated by Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable. 3 4use Test::Pod::Coverage 1.08; 5use Test::More 0.88; 6 7BEGIN { 8 if ( $] <= 5.008008 ) { 9 plan skip_all => 'These tests require Pod::Coverage::TrustPod, which only works with Perl 5.8.9+'; 10 } 11} 12use Pod::Coverage::TrustPod; 13 14my %skip = map { $_ => 1 } qw( ); 15 16my @modules; 17for my $module ( all_modules() ) { 18 next if $skip{$module}; 19 20 push @modules, $module; 21} 22 23plan skip_all => 'All the modules we found were excluded from POD coverage test.' 24 unless @modules; 25 26plan tests => scalar @modules; 27 28my %trustme = (); 29 30my @also_private; 31 32for my $module ( sort @modules ) { 33 pod_coverage_ok( 34 $module, 35 { 36 coverage_class => 'Pod::Coverage::TrustPod', 37 also_private => \@also_private, 38 trustme => $trustme{$module} || [], 39 }, 40 "pod coverage for $module" 41 ); 42} 43 44done_testing(); 45