summaryrefslogtreecommitdiffstats
path: root/t/pod-coverage.t
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mageia.org>2012-12-06 18:57:01 +0000
committerGuillaume Rousse <guillomovitch@mageia.org>2012-12-06 18:57:01 +0000
commitd3b19a9fee4ed0d76be21bee54d6f2eae984fe32 (patch)
tree5a6d6d8fae58bbf5cd39d09d6397209d0b89ff7a /t/pod-coverage.t
parent781cfb9ad5b69f9f26346d0243dbcc62cb3168b4 (diff)
downloadurpmi-d3b19a9fee4ed0d76be21bee54d6f2eae984fe32.tar
urpmi-d3b19a9fee4ed0d76be21bee54d6f2eae984fe32.tar.gz
urpmi-d3b19a9fee4ed0d76be21bee54d6f2eae984fe32.tar.bz2
urpmi-d3b19a9fee4ed0d76be21bee54d6f2eae984fe32.tar.xz
urpmi-d3b19a9fee4ed0d76be21bee54d6f2eae984fe32.zip
rename pod-related tests
Diffstat (limited to 't/pod-coverage.t')
-rwxr-xr-xt/pod-coverage.t27
1 files changed, 27 insertions, 0 deletions
diff --git a/t/pod-coverage.t b/t/pod-coverage.t
new file mode 100755
index 00000000..c6444cf6
--- /dev/null
+++ b/t/pod-coverage.t
@@ -0,0 +1,27 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+use lib 'urpm';
+
+use English qw(-no_match_vars);
+use Test::More;
+
+plan(skip_all => 'Author test, set $ENV{TEST_AUTHOR} to a true value to run')
+ if !$ENV{TEST_AUTHOR};
+
+eval {
+ require Test::Pod::Coverage;
+ Test::Pod::Coverage->import();
+};
+plan(skip_all => 'Test::Pod::Coverage required') if $EVAL_ERROR;
+
+my @modules = all_modules('urpm');
+
+plan tests => scalar @modules;
+
+foreach my $module (@modules) {
+ pod_coverage_ok(
+ $module,
+ );
+}