Permalink
Browse files

Add release tests for pod syntax and coverage

  • Loading branch information...
1 parent ee1ee60 commit 79c9c2ffadde1beb3c666ec97b810daa92ac09de @jtpalmer jtpalmer committed Aug 5, 2012
Showing with 40 additions and 0 deletions.
  1. +2 −0 MANIFEST
  2. +22 −0 t/release-pod-coverage.t
  3. +16 −0 t/release-pod-syntax.t
View
@@ -43,4 +43,6 @@ t/001_load.t
t/002_config.t
t/003_check_header.t
t/004_get_header_version.t
+t/release-pod-coverage.t
+t/release-pod-syntax.t
TODO
View
@@ -0,0 +1,22 @@
+use strict;
+use warnings;
+
+BEGIN {
+ unless ( $ENV{RELEASE_TESTING} ) {
+ require Test::More;
+ Test::More::plan( skip_all => 'these tests are for release candidate testing' );
+ }
+}
+
+
+use Test::More;
+
+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' } );
View
@@ -0,0 +1,16 @@
+use strict;
+use warnings;
+
+BEGIN {
+ unless ( $ENV{RELEASE_TESTING} ) {
+ require Test::More;
+ Test::More::plan( skip_all => 'these tests are for release candidate testing' );
+ }
+}
+
+use Test::More;
+
+eval "use Test::Pod 1.41";
+plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
+
+all_pod_files_ok();

0 comments on commit 79c9c2f

Please sign in to comment.