Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update several Test:: plugins

  • Loading branch information...
commit 97c71a24562de82c029a509ad35e25dc83a031a6 1 parent de28ed0
Mike Doherty authored
68 Build.PL
View
@@ -0,0 +1,68 @@
+
+use strict;
+use warnings;
+
+use Module::Build 0.3601;
+
+
+my %module_build_args = (
+ "build_requires" => {
+ "File::Find" => 0,
+ "File::Path" => 0,
+ "File::Temp" => 0,
+ "Module::Build" => "0.3601",
+ "Moose::Autobox" => "0.11",
+ "Test::DZil" => "4.300000",
+ "Test::More" => "0.88",
+ "autodie" => 0
+ },
+ "configure_requires" => {
+ "ExtUtils::MakeMaker" => "6.30",
+ "Module::Build" => "0.3601"
+ },
+ "dist_abstract" => "test your dist with every testing plugin conceivable",
+ "dist_author" => [
+ "Mike Doherty <doherty\@cpan.org>"
+ ],
+ "dist_name" => "Dist-Zilla-PluginBundle-TestingMania",
+ "dist_version" => "0.013",
+ "license" => "perl",
+ "module_name" => "Dist::Zilla::PluginBundle::TestingMania",
+ "recommends" => {},
+ "recursive_test_files" => 1,
+ "requires" => {
+ "Dist::Zilla::Plugin::DistManifestTests" => "1.101420",
+ "Dist::Zilla::Plugin::EOLTests" => "0.02",
+ "Dist::Zilla::Plugin::KwaliteeTests" => "1.101420",
+ "Dist::Zilla::Plugin::MetaTests" => "4.300000",
+ "Dist::Zilla::Plugin::MinimumVersionTests" => "1.101421",
+ "Dist::Zilla::Plugin::MojibakeTests" => "0.3",
+ "Dist::Zilla::Plugin::NoTabsTests" => "0.01",
+ "Dist::Zilla::Plugin::PodCoverageTests" => "4.300000",
+ "Dist::Zilla::Plugin::PodSyntaxTests" => "4.300000",
+ "Dist::Zilla::Plugin::PortabilityTests" => "1.111840",
+ "Dist::Zilla::Plugin::SynopsisTests" => "1.101420",
+ "Dist::Zilla::Plugin::Test::CPAN::Changes" => "0.005",
+ "Dist::Zilla::Plugin::Test::CPAN::Meta::JSON" => "0.003",
+ "Dist::Zilla::Plugin::Test::Compile" => "1.112390",
+ "Dist::Zilla::Plugin::Test::Perl::Critic" => "2.112410",
+ "Dist::Zilla::Plugin::Test::Pod::LinkCheck" => "1.001",
+ "Dist::Zilla::Plugin::Test::Version" => "0.001002",
+ "Dist::Zilla::Plugin::UnusedVarsTests" => "1.100860",
+ "Dist::Zilla::Role::PluginBundle::Easy" => "4.300000",
+ "Moose" => "2.0204",
+ "Pod::Coverage::TrustPod" => "0.100001",
+ "Test::CPAN::Meta" => "0.18",
+ "Test::Perl::Critic" => "1.02",
+ "Test::Version" => "0.07",
+ "perl" => "5.010001",
+ "strict" => 0,
+ "warnings" => 0
+ },
+ "script_files" => []
+);
+
+
+my $build = Module::Build->new(%module_build_args);
+
+$build->create_build_script;
1  Changes
View
@@ -2,6 +2,7 @@ Changelog for Dist::Zilla::PluginBundle::TestingMania
{{$NEXT}}
* Add mention of Test::Pod::LinkCheck plugin
+ * Update several Test:: plugins
0.012 2011-06-05
* Add a Test::Version plugin by xenoterrocide; remove superseded plugins
92 Makefile.PL
View
@@ -9,53 +9,57 @@ use ExtUtils::MakeMaker 6.30;
my %WriteMakefileArgs = (
- 'ABSTRACT' => 'test your dist with every testing plugin conceivable',
- 'AUTHOR' => 'Mike Doherty <doherty@cpan.org>',
- 'BUILD_REQUIRES' => {
- 'File::Find' => '0',
- 'File::Path' => '0',
- 'File::Temp' => '0',
- 'Moose::Autobox' => '0.11',
- 'Test::DZil' => '4.200007',
- 'Test::More' => '0.88',
- 'autodie' => '0'
+ "ABSTRACT" => "test your dist with every testing plugin conceivable",
+ "AUTHOR" => "Mike Doherty <doherty\@cpan.org>",
+ "BUILD_REQUIRES" => {
+ "File::Find" => 0,
+ "File::Path" => 0,
+ "File::Temp" => 0,
+ "Module::Build" => "0.3601",
+ "Moose::Autobox" => "0.11",
+ "Test::DZil" => "4.300000",
+ "Test::More" => "0.88",
+ "autodie" => 0
},
- 'CONFIGURE_REQUIRES' => {
- 'ExtUtils::MakeMaker' => '6.30'
+ "CONFIGURE_REQUIRES" => {
+ "ExtUtils::MakeMaker" => "6.30",
+ "Module::Build" => "0.3601"
},
- 'DISTNAME' => 'Dist-Zilla-PluginBundle-TestingMania',
- 'EXE_FILES' => [],
- 'LICENSE' => 'perl',
- 'NAME' => 'Dist::Zilla::PluginBundle::TestingMania',
- 'PREREQ_PM' => {
- 'Dist::Zilla::Plugin::CompileTests' => '1.110930',
- 'Dist::Zilla::Plugin::CriticTests' => '1.102280',
- 'Dist::Zilla::Plugin::DistManifestTests' => '1.101420',
- 'Dist::Zilla::Plugin::EOLTests' => '0.02',
- 'Dist::Zilla::Plugin::KwaliteeTests' => '1.101420',
- 'Dist::Zilla::Plugin::MetaTests' => '4.200007',
- 'Dist::Zilla::Plugin::MinimumVersionTests' => '1.101421',
- 'Dist::Zilla::Plugin::MojibakeTests' => '0.3',
- 'Dist::Zilla::Plugin::NoTabsTests' => '0.01',
- 'Dist::Zilla::Plugin::PodCoverageTests' => '4.200007',
- 'Dist::Zilla::Plugin::PodSyntaxTests' => '4.200007',
- 'Dist::Zilla::Plugin::PortabilityTests' => '1.101420',
- 'Dist::Zilla::Plugin::SynopsisTests' => '1.101420',
- 'Dist::Zilla::Plugin::Test::CPAN::Changes' => '0.004',
- 'Dist::Zilla::Plugin::Test::CPAN::Meta::JSON' => '0.003',
- 'Dist::Zilla::Plugin::Test::Pod::LinkCheck' => '1.000',
- 'Dist::Zilla::Plugin::Test::Version' => '0.001002',
- 'Dist::Zilla::Plugin::UnusedVarsTests' => '1.100860',
- 'Dist::Zilla::Role::PluginBundle::Easy' => '4.200007',
- 'Moose' => '2.0007',
- 'Pod::Coverage::TrustPod' => '0.100000',
- 'Test::CPAN::Meta' => '0.18',
- 'Test::Perl::Critic' => '1.02',
- 'Test::Version' => '0.07'
+ "DISTNAME" => "Dist-Zilla-PluginBundle-TestingMania",
+ "EXE_FILES" => [],
+ "LICENSE" => "perl",
+ "NAME" => "Dist::Zilla::PluginBundle::TestingMania",
+ "PREREQ_PM" => {
+ "Dist::Zilla::Plugin::DistManifestTests" => "1.101420",
+ "Dist::Zilla::Plugin::EOLTests" => "0.02",
+ "Dist::Zilla::Plugin::KwaliteeTests" => "1.101420",
+ "Dist::Zilla::Plugin::MetaTests" => "4.300000",
+ "Dist::Zilla::Plugin::MinimumVersionTests" => "1.101421",
+ "Dist::Zilla::Plugin::MojibakeTests" => "0.3",
+ "Dist::Zilla::Plugin::NoTabsTests" => "0.01",
+ "Dist::Zilla::Plugin::PodCoverageTests" => "4.300000",
+ "Dist::Zilla::Plugin::PodSyntaxTests" => "4.300000",
+ "Dist::Zilla::Plugin::PortabilityTests" => "1.111840",
+ "Dist::Zilla::Plugin::SynopsisTests" => "1.101420",
+ "Dist::Zilla::Plugin::Test::CPAN::Changes" => "0.005",
+ "Dist::Zilla::Plugin::Test::CPAN::Meta::JSON" => "0.003",
+ "Dist::Zilla::Plugin::Test::Compile" => "1.112390",
+ "Dist::Zilla::Plugin::Test::Perl::Critic" => "2.112410",
+ "Dist::Zilla::Plugin::Test::Pod::LinkCheck" => "1.001",
+ "Dist::Zilla::Plugin::Test::Version" => "0.001002",
+ "Dist::Zilla::Plugin::UnusedVarsTests" => "1.100860",
+ "Dist::Zilla::Role::PluginBundle::Easy" => "4.300000",
+ "Moose" => "2.0204",
+ "Pod::Coverage::TrustPod" => "0.100001",
+ "Test::CPAN::Meta" => "0.18",
+ "Test::Perl::Critic" => "1.02",
+ "Test::Version" => "0.07",
+ "strict" => 0,
+ "warnings" => 0
},
- 'VERSION' => '0.012',
- 'test' => {
- 'TESTS' => 't/*.t'
+ "VERSION" => "0.013",
+ "test" => {
+ "TESTS" => "t/*.t"
}
);
15 README
View
@@ -3,7 +3,7 @@ NAME
testing plugin conceivable
VERSION
- version 0.012
+ version 0.013
SYNOPSIS
In dist.ini:
@@ -20,12 +20,14 @@ DESCRIPTION
[@TestingMania]
Testing plugins
- * Dist::Zilla::Plugin::CompileTests, which performs tests to syntax
+ * Dist::Zilla::Plugin::Test::Compile, which performs tests to syntax
check your dist.
- * Dist::Zilla::Plugin::CriticTests, which checks your code against
- best practices. See Perl::Critic for details. You can set a
- perlcritic config file:
+ * Dist::Zilla::Plugin::Test::Perl::Critic, which checks your code
+ against best practices. See Test::Perl::Critic and Perl::Critic for
+ details.
+
+ You can set a perlcritic config file:
[@TestingMania]
critic_config = perlcriticrc
@@ -83,6 +85,9 @@ DESCRIPTION
* Dist::Zilla::Plugin::UnusedVarsTests, which checks your dist for
unused variables. See Test::Vars for details.
+ * Dist::Zilla::Plugin::Test::Pod::LinkCheck, which checks the links in
+ your POD. See Test::Pod::LinkCheck for details.
+
* Dist::Zilla::Plugin::Test::CPAN::Changes, which checks your
changelog for conformance with CPAN::Changes::Spec. See
Test::CPAN::Changes for details.
53 lib/Dist/Zilla/PluginBundle/TestingMania.pm
View
@@ -6,19 +6,19 @@ use 5.010001; # We use the smart match operator
# VERSION
use Dist::Zilla::Plugin::Test::CPAN::Changes qw();
-use Dist::Zilla::Plugin::CompileTests qw();
-use Dist::Zilla::Plugin::CriticTests 1.102280 qw();
-use Dist::Zilla::Plugin::DistManifestTests qw();
+use Dist::Zilla::Plugin::Test::Compile 1.112390 qw();
+use Dist::Zilla::Plugin::Test::Perl::Critic 2.112410 qw();
+use Dist::Zilla::Plugin::Test::DistManifest v2.0.0 qw();
use Dist::Zilla::Plugin::EOLTests 0.02 qw(); # Also checks for trailing whitespace
-use Dist::Zilla::Plugin::KwaliteeTests qw();
+use Dist::Zilla::Plugin::Test::Kwalitee v2.0.0 qw();
use Dist::Zilla::Plugin::MetaTests qw();
-use Dist::Zilla::Plugin::MinimumVersionTests qw();
+use Dist::Zilla::Plugin::Test::MinimumVersion v2.0.0 qw();
use Dist::Zilla::Plugin::MojibakeTests qw();
use Dist::Zilla::Plugin::NoTabsTests qw();
use Dist::Zilla::Plugin::PodCoverageTests qw();
use Dist::Zilla::Plugin::PodSyntaxTests qw();
-use Dist::Zilla::Plugin::PortabilityTests qw();
-use Dist::Zilla::Plugin::SynopsisTests qw();
+use Dist::Zilla::Plugin::Test::Portability v2.0.0 qw();
+use Dist::Zilla::Plugin::Test::Synopsis v2.0.0 qw();
use Dist::Zilla::Plugin::UnusedVarsTests qw();
use Dist::Zilla::Plugin::Test::Version 0.001002 qw(); # New name
use Dist::Zilla::Plugin::Test::Pod::LinkCheck qw();
@@ -50,21 +50,22 @@ Simply add the following near the end of F<dist.ini>:
=item *
-L<Dist::Zilla::Plugin::CompileTests>, which performs tests to syntax check your
+L<Dist::Zilla::Plugin::Test::Compile>, which performs tests to syntax check your
dist.
=item *
-L<Dist::Zilla::Plugin::CriticTests>, which checks your code against best
-practices. See L<Perl::Critic> for details. You can set a perlcritic config
-file:
+L<Dist::Zilla::Plugin::Test::Perl::Critic>, which checks your code against best
+practices. See L<Test::Perl::Critic> and L<Perl::Critic> for details.
+
+You can set a perlcritic config file:
[@TestingMania]
critic_config = perlcriticrc
=item *
-L<Dist::Zilla::Plugin::DistManifestTests>, which tests F<MANIFEST> for
+L<Dist::Zilla::Plugin::Test::DistManifest>, which tests F<MANIFEST> for
correctness. See L<Test::DistManifest> for details.
=item *
@@ -80,7 +81,7 @@ what that means.
=item *
-L<Dist::Zilla::Plugin::KwaliteeTests>, which performs some basic kwalitee checks.
+L<Dist::Zilla::Plugin::Test::Kwalitee>, which performs some basic kwalitee checks.
I<Kwalitee> is an automatically-measurable guage of how good your software is.
It bears only a B<superficial> resemblance to the human-measurable guage of
actual quality. See L<Test::Kwalitee> for a description of the tests.
@@ -98,7 +99,7 @@ means.
=item *
-L<Dist::Zilla::Plugin::MinimumVersionTests>, which tests for the minimum
+L<Dist::Zilla::Plugin::Test::MinimumVersion>, which tests for the minimum
required version of perl. See L<Test::MinimumVersion> for details, including
limitations.
@@ -126,13 +127,13 @@ well-formed. See L<Test::Pod> and L<perlpod> for details.
=item *
-L<Dist::Zilla::Plugin::PortabilityTests>, which performs some basic tests to
+L<Dist::Zilla::Plugin::Test::Portability>, which performs some basic tests to
ensure portability of file names. See L<Test::Portability::Files> for what
that means.
=item *
-L<Dist::Zilla::Plugin::SynopsisTests>, which does syntax checking on the code
+L<Dist::Zilla::Plugin::Test::Synopsis>, which does syntax checking on the code
from your SYNOPSIS section. See L<Test::Synopsis> for details and limitations.
=item *
@@ -162,11 +163,11 @@ Set C<changelog> in F<dist.ini> if you don't use F<Changes>:
To exclude a testing plugin, give a comma-separated list in F<dist.ini>:
[@TestingMania]
- disable = EOLTests,NoTabsTests
+ disable = Test::DistManifest,Test::Kwalitee
=head2 Enabling Tests
-This pluginbundle may have depend on some testing plugins that aren't
+This pluginbundle may have some testing plugins that aren't
enabled by default. This option allows you to turn them on. Attempting to add
plugins which are not listed above will have I<no effect>.
@@ -190,19 +191,19 @@ sub configure {
'Test::CPAN::Meta::JSON'=> 1, # prunes itself if META.json isn't there
'Test::Pod::LinkCheck' => 1,
'Test::Version' => 1,
- CompileTests => 1,
- CriticTests => $self->config_slice('critic_config'),
- DistManifestTests => 1,
+ 'Test::Compile' => 1,
+ 'Test::Perl::Critic' => $self->config_slice('critic_config'),
+ 'Test::DistManifest' => 1,
EOLTests => 1,
- KwaliteeTests => 1,
+ 'Test::Kwalitee' => 1,
MetaTests => 1, # should only be loaded if MetaYAML is loaded, or the file exists in the dist
- MinimumVersionTests => 1,
+ 'Test::MinimumVersion' => 1,
MojibakeTests => 1,
NoTabsTests => 1,
PodCoverageTests => 1,
PodSyntaxTests => 1,
- PortabilityTests => 1,
- SynopsisTests => 1,
+ 'Test::Portability' => 1,
+ 'Test::Synopsis' => 1,
UnusedVarsTests => 1,
);
my @include = ();
@@ -235,3 +236,5 @@ sub configure {
__PACKAGE__->meta->make_immutable();
no Moose;
+
+1;
Please sign in to comment.
Something went wrong with that request. Please try again.