From: Tomas Doran Date: Mon, 18 Jan 2010 20:47:32 +0000 (+0000) Subject: Ensure author side tests are always run X-Git-Tag: 1.08~147 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Action-Serialize-Data-Serializer.git;a=commitdiff_plain;h=4a1b40cda992d9d67d785af7f59fb9285ae6d7c7 Ensure author side tests are always run --- diff --git a/Makefile.PL b/Makefile.PL index 6a8fddd..5582c6a 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -2,6 +2,7 @@ use strict; use warnings; use inc::Module::Install; use Module::Install::AuthorRequires; +use Module::Install::AuthorTests; perl_version '5.8.1'; @@ -23,6 +24,12 @@ requires('MRO::Compat' => '0.10'); requires 'namespace::autoclean'; test_requires 'Test::More' => '0.88'; +author_requires 'Test::Pod' => 1.14; +author_requires 'Module::Info'; +author_requires 'File::Find::Rule'; + +author_tests 'xt/'; + feature 'JSON (application/json) support', -default => 0, 'JSON' => '2.12'; diff --git a/xt/pod.t b/xt/pod.t index 4372a13..6a644e9 100644 --- a/xt/pod.t +++ b/xt/pod.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -eval "use Test::Pod 1.14"; -plan skip_all => 'Test::Pod 1.14 required' if $@; +use Test::Pod 1.14; all_pod_files_ok();