summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-08-07 23:07:03 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-08-07 23:07:03 +0200
commita0ec8b088f8846f2b2aba657eed0fe9d9216183e (patch)
tree63e3d167169e87c6ef152bdc4ae31a063172ab57 /t
parent9059ccee1a66f9d32e1b9e54c6e87bcc82544692 (diff)
Add Test::Synopsis test, rename pod test
Diffstat (limited to 't')
-rw-r--r--t/02-synopsis.t18
-rwxr-xr-xt/10-pod.t (renamed from t/10-pod-coverage.t)0
2 files changed, 18 insertions, 0 deletions
diff --git a/t/02-synopsis.t b/t/02-synopsis.t
new file mode 100644
index 0000000..3b5f0c8
--- /dev/null
+++ b/t/02-synopsis.t
@@ -0,0 +1,18 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+
+use Test::More;
+
+eval "use Test::Synopsis";
+
+if ($@) {
+ plan skip_all => 'Test::Synopsis required for testing';
+}
+else {
+ plan tests => 1;
+}
+
+for my $m (qw(lib/WWW/Efa.pm)) {
+ synopsis_ok($m);
+}
diff --git a/t/10-pod-coverage.t b/t/10-pod.t
index 5fe4faa..5fe4faa 100755
--- a/t/10-pod-coverage.t
+++ b/t/10-pod.t