The following commit has been merged in the master branch:
commit a49bf41eb52d21369315019dc68b588949b3a63e
Author: Raphael Geissert <[email protected]>
Date:   Sat Apr 11 23:53:40 2009 -0500

    Test for POD coverage

diff --git a/t/scripts/pod-coverage.t b/t/scripts/pod-coverage.t
new file mode 100755
index 0000000..0d7f648
--- /dev/null
+++ b/t/scripts/pod-coverage.t
@@ -0,0 +1,33 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+eval 'use Test::Pod::Coverage';
+plan skip_all => 'Test::Pod::Coverage is required for testing POD coverage'
+    if $@;
+
+my @modules = qw(
+               Lintian::Check
+               Lintian::Collect
+               Lintian::Command
+               Lintian::Data
+               Lintian::Tag::Info
+       );
+# TODO:
+#              Lintian::Collect::Binary
+#              Lintian::Collect::Source
+#              Lintian::Output
+#              Lintian::Output::ColonSeparated
+#              Lintian::Output::LetterQualifier
+#              Lintian::Output::XML
+#              Lintian::Relation
+#              Lintian::Schedule
+
+plan tests => scalar(@modules);
+
+# Ensure the following modules are documented:
+for my $module (@modules) {
+    pod_coverage_ok($module, "$module is covered");
+}

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to