Make author tests forced
Tomas Doran [Tue, 9 Feb 2010 04:43:49 +0000 (04:43 +0000)]
MANIFEST
Makefile.PL
t-author/pod.t
t-author/pod_coverage.t

index 99a2de4..3980dc6 100644 (file)
--- 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
index 256526a..e95650f 100644 (file)
@@ -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();
 
index 4ae1af3..e8f87a9 100644 (file)
@@ -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();
index c59a36a..4e6c443 100644 (file)
@@ -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();