From 6102e940c9f0210d93476db052d398141a8dacf0 Mon Sep 17 00:00:00 2001 From: Florian Ragwitz Date: Sun, 9 Nov 2008 05:41:45 +0100 Subject: [PATCH] Add pod and pod coverage tests. --- Makefile.PL | 2 ++ xt/author/pod.t | 5 +++++ xt/author/podcoverage.t | 14 ++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 xt/author/pod.t create mode 100644 xt/author/podcoverage.t diff --git a/Makefile.PL b/Makefile.PL index 6ba6e2d..441b98f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -22,4 +22,6 @@ $pkg->add_pm('lib/signatures.pm' => '$(INST_LIB)/signatures.pm'); makemaker_args($pkg->get_makefile_vars); +extra_tests(); + WriteAll; diff --git a/xt/author/pod.t b/xt/author/pod.t new file mode 100644 index 0000000..57b423a --- /dev/null +++ b/xt/author/pod.t @@ -0,0 +1,5 @@ +use strict; +use warnings; +use Test::Pod; + +all_pod_files_ok(); diff --git a/xt/author/podcoverage.t b/xt/author/podcoverage.t new file mode 100644 index 0000000..5e02791 --- /dev/null +++ b/xt/author/podcoverage.t @@ -0,0 +1,14 @@ +use strict; +use warnings; +use Test::Pod::Coverage; + +all_pod_coverage_ok({ + also_private => [qw/ + import + unimport + setup + setup_for + teardown + teardown_for + /], +});