From: plobbes Date: Sat, 18 Oct 2008 17:33:49 +0000 (+0000) Subject: - minor pod test cleanup X-Git-Tag: BUSINESS_ONLINEPAYMENT_PAYFLOWPRO_0_07_06~5 X-Git-Url: http://git.freeside.biz/gitweb/?p=Business-OnlinePayment-PayflowPro.git;a=commitdiff_plain;h=a3df31f5d703d9bb05e4f9bbede4627abc4f7a4f - minor pod test cleanup --- diff --git a/t/pod-coverage.t b/t/pod-coverage.t index e2715fd..7e79bca 100644 --- a/t/pod-coverage.t +++ b/t/pod-coverage.t @@ -4,7 +4,9 @@ use strict; use warnings; use Test::More; -eval "use Test::Pod::Coverage 1.00"; -plan skip_all => "Test::Pod::Coverage 1.00 required for testing POD coverage" - if $@; +plan skip_all => 'Set RELEASE_TESTING=1 to run this test' + if not $ENV{RELEASE_TESTING}; +eval 'use Test::Pod::Coverage'; +plan skip_all => 'Needs Test::Pod::Coverage' + if $@; all_pod_coverage_ok(); diff --git a/t/pod.t b/t/pod.t index 2c9935c..209baf7 100644 --- a/t/pod.t +++ b/t/pod.t @@ -4,6 +4,9 @@ use strict; use warnings; use Test::More; -eval "use Test::Pod 1.00"; -plan skip_all => "Test::Pod 1.00 required for testing POD" if $@; +plan skip_all => 'Set RELEASE_TESTING=1 to run this test' + if not $ENV{RELEASE_TESTING}; +eval "use Test::Pod"; +plan skip_all => 'Needs Test::Pod' + if $@; all_pod_files_ok();