--- /dev/null
+# vim:ft=perl
+use Test::More;
+use lib 'ex'; # Where BeerDB should live
+BEGIN { if (eval { require BeerDB }) {
+ plan tests => 3;
+ } else { Test::More->import(skip_all =>"SQLite not working or BeerDB module could not be loaded: $@") }
+ }
+use Maypole::CLI qw(BeerDB);
+use Maypole::Constants;
+$ENV{MAYPOLE_TEMPLATES} = "t/templates";
+
+isa_ok( (bless {},"BeerDB") , "Maypole");
+
+like(BeerDB->call_url("http://localhost/beerdb/"), qr/frontpage/, "Got the front page");
+like(BeerDB->call_url("http://localhost/beerdb/beer/list"), qr/Organic Best/, "Found a beer in the list");
--- /dev/null
+#!/usr/bin/perl -w
+
+use strict;
+use Test::More;
+
+eval "use Test::Pod 1.14";
+plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
+all_pod_files_ok();
+
--- /dev/null
+#!/usr/bin/perl -w
+
+use strict;
+use Test::More;
+
+eval "use Test::Pod::Coverage 1.04";
+plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;
+all_pod_coverage_ok();
+
+++ /dev/null
-# vim:ft=perl
-use Test::More;
-use lib 'ex'; # Where BeerDB should live
-BEGIN { if (eval { require BeerDB }) {
- plan tests => 3;
- } else { Test::More->import(skip_all =>"SQLite not working or BeerDB module could not be loaded: $@") }
- }
-use Maypole::CLI qw(BeerDB);
-use Maypole::Constants;
-$ENV{MAYPOLE_TEMPLATES} = "t/templates";
-
-isa_ok( (bless {},"BeerDB") , "Maypole");
-
-like(BeerDB->call_url("http://localhost/beerdb/"), qr/frontpage/, "Got the front page");
-like(BeerDB->call_url("http://localhost/beerdb/beer/list"), qr/Organic Best/, "Found a beer in the list");