Skip to content
Browse files

Merge pull request #7 from creaktive/master

Included Test::Mojibake, which verifies character encoding consistency
  • Loading branch information...
2 parents e4ef804 + 1c1158c commit a0336d072f46729b1c02c7efbb55cd767bc912e5 @doherty committed May 24, 2011
Showing with 19 additions and 10 deletions.
  1. +11 −9 README
  2. +7 −0 lib/Dist/Zilla/PluginBundle/TestingMania.pm
  3. +1 −1 t/01-test-manifest.t
View
20 README
@@ -3,7 +3,7 @@ NAME
testing plugin conceivable
VERSION
- version 0.011
+ version 0.012
SYNOPSIS
In dist.ini:
@@ -66,6 +66,9 @@ DESCRIPTION
minimum required version of perl. See Test::MinimumVersion for
details, including limitations.
+ * Dist::Zilla::Plugin::MojibakeTests, which tests for the correct
+ source/documentation character encoding.
+
* Dist::Zilla::Plugin::NoTabsTests, which ensures you don't use *The
Evil Character*. See Test::NoTabs for details. If you wish to
exclude this plugin, see "Disabling Tests".
@@ -123,24 +126,23 @@ AVAILABILITY
<http://search.cpan.org/dist/Dist-Zilla-PluginBundle-TestingMania/>.
The development version lives at
- <http://github.com/doherty/Dist-Zilla-PluginBundle-TestingMania> and may
- be cloned from
- <git://github.com/doherty/Dist-Zilla-PluginBundle-TestingMania.git>.
+ <http://github.com/creaktive/Dist-Zilla-PluginBundle-TestingMania> and
+ may be cloned from
+ <git://github.com/creaktive/Dist-Zilla-PluginBundle-TestingMania.git>.
Instead of sending patches, please fork this project using the standard
git and github infrastructure.
SOURCE
The development version is on github at
- <http://github.com/doherty/Dist-Zilla-PluginBundle-TestingMania> and may
- be cloned from
- <git://github.com/doherty/Dist-Zilla-PluginBundle-TestingMania.git>
+ <http://github.com/creaktive/Dist-Zilla-PluginBundle-TestingMania> and
+ may be cloned from
+ <git://github.com/creaktive/Dist-Zilla-PluginBundle-TestingMania.git>
BUGS AND LIMITATIONS
No bugs have been reported.
Please report any bugs or feature requests through the web interface at
- <https://github.com/doherty/Dist-Zilla-PluginBundle-TestingMania/issues>
- .
+ <http://rt.cpan.org>.
AUTHOR
Mike Doherty <doherty@cpan.org>
View
7 lib/Dist/Zilla/PluginBundle/TestingMania.pm
@@ -15,6 +15,7 @@ use Dist::Zilla::Plugin::HasVersionTests qw();
use Dist::Zilla::Plugin::KwaliteeTests qw();
use Dist::Zilla::Plugin::MetaTests qw();
use Dist::Zilla::Plugin::MinimumVersionTests 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();
@@ -113,6 +114,11 @@ limitations.
=item *
+L<Dist::Zilla::Plugin::MojibakeTests>, which tests for the correct
+source/documentation character encoding.
+
+=item *
+
L<Dist::Zilla::Plugin::NoTabsTests>, which ensures you don't use I<The Evil
Character>. See L<Test::NoTabs> for details. If you wish to exclude this plugin,
see L</"Disabling Tests">.
@@ -197,6 +203,7 @@ sub configure {
KwaliteeTests => 1,
MetaTests => 1, # should only be loaded if MetaYAML is loaded, or the file exists in the dist
MinimumVersionTests => 1,
+ MojibakeTests => 1,
NoTabsTests => 1,
PodCoverageTests => 1,
PodSyntaxTests => 1,
View
2 t/01-test-manifest.t
@@ -30,7 +30,7 @@ subtest 'default' => sub {
xt/release/portability.t xt/release/pod-coverage.t xt/release/has-version.t
xt/release/eol.t xt/release/cpan-changes.t xt/release/synopsis.t
xt/release/no-tabs.t xt/release/pod-linkcheck.t xt/release/pod-syntax.t
- xt/release/distmeta.t xt/release/meta-json.t)],
+ xt/release/distmeta.t xt/release/meta-json.t xt/release/mojibake.t)],
'xtests are all there') or diag explain \@xtests;
};

0 comments on commit a0336d0

Please sign in to comment.
Something went wrong with that request. Please try again.