summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-05-21 14:18:49 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-05-21 14:18:49 +0200
commitaf20e55e615559761a4411cb669e552718df121c (patch)
tree88b27c1b2132d55db581e336cc78b32a4f75c291
parentb970e5c22fb9e6d764cccadc200894aeda40ea14 (diff)
Add Pod::Coverage test
-rw-r--r--Build.PL1
-rw-r--r--t/05-pod-compile.t (renamed from t/10-pod-coverage.t)0
-rw-r--r--t/06-pod-coverage.t12
3 files changed, 13 insertions, 0 deletions
diff --git a/Build.PL b/Build.PL
index 2d9c370..a050147 100644
--- a/Build.PL
+++ b/Build.PL
@@ -11,6 +11,7 @@ my $build = Module::Build->new(
'Test::MockObject' => 0,
'Test::More' => 0,
'Test::Pod' => 0,
+ 'Test::Pod::Coverage' => 0,
},
license => 'unrestricted',
module_name => 'App::Raps2',
diff --git a/t/10-pod-coverage.t b/t/05-pod-compile.t
index 3f6ae1a..3f6ae1a 100644
--- a/t/10-pod-coverage.t
+++ b/t/05-pod-compile.t
diff --git a/t/06-pod-coverage.t b/t/06-pod-coverage.t
new file mode 100644
index 0000000..a3e35eb
--- /dev/null
+++ b/t/06-pod-coverage.t
@@ -0,0 +1,12 @@
+#!/usr/bin/env perl
+
+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 $@;
+
+all_pod_coverage_ok();