- Split into MooseX::Getopt::Basic (without the G::L::Descriptive support)
and MooseX::Getopt::GLD.
+ * Tests
+ - Ensure author tests get run when in author mode.
+
0.21 Thu. Aug 27 2009
* MooseX::Getopt
- Enable and document the argv parameter to the constructor.
+use strict;
+use warnings;
use inc::Module::Install 0.75;
+if ($Module::Install::AUTHOR) {
+ require Module::Install::AuthorRequires;
+ require Module::Install::AuthorTests;
+}
+
name 'MooseX-Getopt';
license 'perl';
build_requires 'Test::More' => '0.62';
build_requires 'Test::Exception' => '0.21';
+author_requires 'Test::Pod' => 1.14;
+author_requires 'Test::Pod::Coverage' => '1.04';
+author_tests('t/author');
+
resources repository => 'git://git.moose.perl.org/MooseX-Getopt.git';
auto_manifest();
--- /dev/null
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use Test::Pod 1.14;
+
+all_pod_files_ok();
--- /dev/null
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use Test::Pod::Coverage 1.04;
+
+all_pod_coverage_ok();
+++ /dev/null
-#!/usr/bin/perl
-
-use strict;
-use warnings;
-
-use Test::More;
-plan skip_all => 'set RELEASE_TESTING to run these tests'
- unless $ENV{RELEASE_TESTING};
-
-eval "use Test::Pod 1.14";
-plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
-
-all_pod_files_ok();
+++ /dev/null
-#!/usr/bin/perl
-
-use strict;
-use warnings;
-
-use Test::More;
-plan skip_all => 'set RELEASE_TESTING to run these tests'
- unless $ENV{RELEASE_TESTING};
-
-eval "use Test::Pod::Coverage 1.04";
-plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;
-
-all_pod_coverage_ok();