if ( $Module::Install::AUTHOR ) {
system( 'pod2text lib/Catalyst/Plugin/Authentication.pm > README' )
and die;
- require Module::Install::AuthorTests;
}
perl_version '5.008001';
test_requires 'Class::MOP';
test_requires 'Moose';
+author_requires 'Test::Pod' => '1.14';
+author_requires 'Test::Pod::Coverage' => '1.04';
+author_requires 'Test::NoTabs';
author_requires 'Test::WWW::Mechanize::Catalyst';
author_requires 'Catalyst::Plugin::Session';
author_requires 'Catalyst::Plugin::Session::State::Cookie';
use Test::More;
-eval "use Test::Pod 1.14";
-plan skip_all => 'Test::Pod 1.14 required' if $@;
-plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
+use Test::Pod 1.14;
all_pod_files_ok();
use Test::More;
-eval "use Test::Pod::Coverage 1.04";
-plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@;
-plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
+use Test::Pod::Coverage 1.04;
all_pod_coverage_ok();