From: Karen Etheridge Date: Sun, 3 Feb 2013 02:15:19 +0000 (-0800) Subject: release tests using Test::Pod and Test::Pod::Coverage X-Git-Tag: 0.05~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f41acfd2a7d225e9ea169783427c37760f63b2b9;p=gitmo%2FMooseX-ConfigFromFile.git release tests using Test::Pod and Test::Pod::Coverage --- diff --git a/t/release-pod-coverage.t b/t/release-pod-coverage.t new file mode 100644 index 0000000..c059674 --- /dev/null +++ b/t/release-pod-coverage.t @@ -0,0 +1,19 @@ +use strict; +use warnings; +use Test::More; + +BEGIN { + unless ($ENV{RELEASE_TESTING}) { + plan skip_all => 'these tests are for release candidate testing'; + } +} + +eval "use Test::Pod::Coverage 1.08"; +plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage" + if $@; + +eval "use Pod::Coverage::TrustPod"; +plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage" + if $@; + +all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' }); diff --git a/t/release-pod-syntax.t b/t/release-pod-syntax.t new file mode 100644 index 0000000..7f1e5ca --- /dev/null +++ b/t/release-pod-syntax.t @@ -0,0 +1,14 @@ +use strict; +use warnings; +use Test::More; + +BEGIN { + unless ($ENV{RELEASE_TESTING}) { + plan skip_all => 'these tests are for release candidate testing'; + } +} + +eval "use Test::Pod 1.41"; +plan skip_all => "Test::Pod 1.41 required for testing POD" if $@; + +all_pod_files_ok();