POD test plus POD changes to make it pass
[p5sagit/Module-Metadata.git] / xt / pod.t
diff --git a/xt/pod.t b/xt/pod.t
new file mode 100644 (file)
index 0000000..6b76a4a
--- /dev/null
+++ b/xt/pod.t
@@ -0,0 +1,15 @@
+use Test::More;
+use Test::Pod;
+use Test::Pod::Coverage;
+use strict;
+use warnings FATAL => 'all';
+
+# the all_ things attempt to plan, which we didn't want, so stop them
+# from doing that
+no warnings 'redefine';
+local *Test::Builder::plan = sub { };
+
+all_pod_files_ok;
+all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::CountParents' });
+
+done_testing;