aboutsummaryrefslogtreecommitdiff
path: root/xt/pod.t
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-04 23:25:52 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-04 23:25:52 +1300
commit6d865c0038ca3a2abbc15926749ea4ae1b96a9b2 (patch)
tree2e371af27216c4a4ec69108a2a46799c3f067802 /xt/pod.t
parentAdd Changes to MANIFEST, too (diff)
downloadList-Breakdown-6d865c0038ca3a2abbc15926749ea4ae1b96a9b2.tar.gz
List-Breakdown-6d865c0038ca3a2abbc15926749ea4ae1b96a9b2.zip
Move some author testing into xt
I like the POD and MANIFEST author tests that module-starter(1p) made for me, but I don't like the env variable invocation for them much. I've put them in xt instead so I can do `prove xt`.
Diffstat (limited to 'xt/pod.t')
-rw-r--r--xt/pod.t12
1 files changed, 12 insertions, 0 deletions
diff --git a/xt/pod.t b/xt/pod.t
new file mode 100644
index 0000000..cf2dce4
--- /dev/null
+++ b/xt/pod.t
@@ -0,0 +1,12 @@
+#!perl -T
+use 5.006;
+use strict;
+use warnings;
+use Test::More;
+
+# Ensure a recent version of Test::Pod
+my $min_tp = 1.22;
+eval "use Test::Pod $min_tp";
+plan skip_all => "Test::Pod $min_tp required for testing POD" if $@;
+
+all_pod_files_ok();