pod-coverage.t (680B)
1 #!perl -T 2 use 5.006; 3 use strict; 4 use warnings; 5 use Test::More; 6 7 unless ( $ENV{RELEASE_TESTING} ) { 8 plan( skip_all => "Author tests not required for installation" ); 9 } 10 11 # Ensure a recent version of Test::Pod::Coverage 12 my $min_tpc = 1.08; 13 eval "use Test::Pod::Coverage $min_tpc"; 14 plan skip_all => "Test::Pod::Coverage $min_tpc required for testing POD coverage" 15 if $@; 16 17 # Test::Pod::Coverage doesn't require a minimum Pod::Coverage version, 18 # but older versions don't recognize some common documentation styles 19 my $min_pc = 0.18; 20 eval "use Pod::Coverage $min_pc"; 21 plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage" 22 if $@; 23 24 all_pod_coverage_ok();