Make mech tests skip unless mech new enough. RT#55303
[catagits/Catalyst-Authentication-Credential-HTTP.git] / Makefile.PL
index f6bdc59..1b7ce66 100644 (file)
@@ -1,4 +1,6 @@
-use inc::Module::Install 0.65;
+use inc::Module::Install 0.87;
+use Module::Install::AuthorRequires;
+use Module::Install::AuthorTests;
 
 name 'Catalyst-Authentication-Credential-HTTP';
 all_from 'lib/Catalyst/Authentication/Credential/HTTP.pm';
@@ -10,7 +12,18 @@ requires 'String::Escape';
 requires 'Test::Exception';
 requires 'Test::MockObject';
 requires 'URI::Escape';
+requires 'Class::Accessor::Fast';
+
+author_requires 'Test::WWW::Mechanize::Catalyst' => '0.51';
+author_requires 'Test::Pod' => '1.14';
+author_requires 'Test::Spelling' => '0.11';
+author_requires 'Test::Pod::Coverage' => '1.04';
+
+resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Authentication-Credential-HTTP';
+
+author_tests 't/author';
 
 auto_install;
+
 WriteAll;