Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added pod coverage tests

  • Loading branch information...
commit 83844a4077bfd7af07676d1befdad6cdd17f0262 1 parent 3a0e0f0
Jeffrey T. Palmer authored August 12, 2012

Showing 1 changed file with 22 additions and 0 deletions. Show diff stats Hide diff stats

  1. 22  t/release-pod-coverage.t
22  t/release-pod-coverage.t
... ...
@@ -0,0 +1,22 @@
  1
+use strict;
  2
+use warnings;
  3
+
  4
+BEGIN {
  5
+	unless ( $ENV{RELEASE_TESTING} ) {
  6
+		require Test::More;
  7
+		Test::More::plan( skip_all => 'these tests are for release candidate testing' );
  8
+	}
  9
+}
  10
+
  11
+
  12
+use Test::More;
  13
+
  14
+eval "use Test::Pod::Coverage 1.08";
  15
+plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage"
  16
+	if $@;
  17
+
  18
+eval "use Pod::Coverage::TrustPod";
  19
+plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage"
  20
+	if $@;
  21
+
  22
+all_pod_coverage_ok( { coverage_class => 'Pod::Coverage::TrustPod' } );

0 notes on commit 83844a4

Please sign in to comment.
Something went wrong with that request. Please try again.