From: Peter Rabbitson Date: Thu, 14 Feb 2013 04:41:20 +0000 (+0100) Subject: Moar kwalitee - we do have pod(coverage) tests X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f7ed0ed356e3a637e8de759731fbf9421a47d3c6;p=dbsrgits%2FDBIx-Class-Historic.git Moar kwalitee - we do have pod(coverage) tests --- diff --git a/xt/pod.t b/xt/pod.t index f79cbae..0ed796b 100644 --- a/xt/pod.t +++ b/xt/pod.t @@ -13,5 +13,8 @@ unless ( DBIx::Class::Optional::Dependencies->req_ok_for ('test_pod') ) { : plan skip_all => "Test needs: $missing" } +# this has already been required but leave it here for CPANTS static analysis +require Test::Pod; + my $generated_pod_dir = 'maint/.Generated_Pod'; Test::Pod::all_pod_files_ok( 'lib', -d $generated_pod_dir ? $generated_pod_dir : () ); diff --git a/xt/podcoverage.t b/xt/podcoverage.t index c631576..7a7804e 100644 --- a/xt/podcoverage.t +++ b/xt/podcoverage.t @@ -15,6 +15,9 @@ unless ( DBIx::Class::Optional::Dependencies->req_ok_for ('test_podcoverage') ) : plan skip_all => "Test needs: $missing" } +# this has already been required but leave it here for CPANTS static analysis +require Test::Pod::Coverage; + # Since this is about checking documentation, a little documentation # of what this is doing might be in order. # The exceptions structure below is a hash keyed by the module