From: Tomas Doran Date: Tue, 9 Feb 2010 04:43:49 +0000 (+0000) Subject: Make author tests forced X-Git-Tag: 0.04~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e3e1a958a4891c7109c50cd513f9bafe7cbcb1de;p=gitmo%2FMooseX-MetaDescription.git Make author tests forced --- diff --git a/MANIFEST b/MANIFEST index 99a2de4..3980dc6 100644 --- a/MANIFEST +++ b/MANIFEST @@ -14,9 +14,10 @@ lib/MooseX/MetaDescription/Meta/Class.pm lib/MooseX/MetaDescription/Meta/Trait.pm Makefile.PL MANIFEST -MANIFEST.SKIP META.yml README +t-author/pod.t +t-author/pod_coverage.t t/000_load.t t/001_basic.t t/002_custom_description.t diff --git a/Makefile.PL b/Makefile.PL index 256526a..e95650f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,6 +1,8 @@ use strict; use warnings; use inc::Module::Install; +use Module::Install::AuthorRequires; +use Module::Install::AuthorTests; name 'MooseX-MetaDescription'; all_from 'lib/MooseX/MetaDescription.pm'; @@ -12,7 +14,11 @@ requires 'Moose' => 0.40; # things the tests need build_requires 'Test::More' => '0.62'; +author_requires 'Test::Pod' => '1.14'; +author_requires 'Test::Pod::Coverage'; + tests('t/*.t'); +author_tests 't-author'; WriteAll(); diff --git a/t-author/pod.t b/t-author/pod.t index 4ae1af3..e8f87a9 100644 --- a/t-author/pod.t +++ b/t-author/pod.t @@ -5,7 +5,6 @@ use warnings; use Test::More; -eval "use Test::Pod 1.14"; -plan skip_all => "Test::Pod 1.14 required for testing POD" if $@; +use Test::Pod 1.14; all_pod_files_ok(); diff --git a/t-author/pod_coverage.t b/t-author/pod_coverage.t index c59a36a..4e6c443 100644 --- a/t-author/pod_coverage.t +++ b/t-author/pod_coverage.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -eval "use Test::Pod::Coverage"; -plan skip_all => "Test::Pod::Coverage required for testing POD Coverage" if $@; +use Test::Pod::Coverage; all_pod_coverage_ok();