Permalink
Browse files

Added pod coverage tests

  • Loading branch information...
1 parent 3a0e0f0 commit 83844a4077bfd7af07676d1befdad6cdd17f0262 @jtpalmer jtpalmer committed Aug 12, 2012
Showing with 22 additions and 0 deletions.
  1. +22 −0 t/release-pod-coverage.t
@@ -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' } );

0 comments on commit 83844a4

Please sign in to comment.