r57072 - in /branches/upstream/libtest-class-perl/current: Build.PL Changes MANIFEST META.yml Makefile.PL README lib/Test/Class.pm lib/Test/Class/Load.pm t/developer/ t/runtests_extra.t xt/documented.t xt/perlcritic.t xt/perlcriticrc xt/spelling.t
carnil-guest at users.alioth.debian.org
carnil-guest at users.alioth.debian.org
Wed Apr 28 20:06:31 UTC 2010
Author: carnil-guest
Date: Wed Apr 28 20:06:25 2010
New Revision: 57072
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=57072
Log:
[svn-upgrade] Integrating new upstream version, libtest-class-perl (0.35)
Added:
branches/upstream/libtest-class-perl/current/xt/documented.t (with props)
branches/upstream/libtest-class-perl/current/xt/perlcritic.t
branches/upstream/libtest-class-perl/current/xt/perlcriticrc
branches/upstream/libtest-class-perl/current/xt/spelling.t
Removed:
branches/upstream/libtest-class-perl/current/t/developer/
Modified:
branches/upstream/libtest-class-perl/current/Build.PL
branches/upstream/libtest-class-perl/current/Changes
branches/upstream/libtest-class-perl/current/MANIFEST
branches/upstream/libtest-class-perl/current/META.yml
branches/upstream/libtest-class-perl/current/Makefile.PL
branches/upstream/libtest-class-perl/current/README
branches/upstream/libtest-class-perl/current/lib/Test/Class.pm
branches/upstream/libtest-class-perl/current/lib/Test/Class/Load.pm
branches/upstream/libtest-class-perl/current/t/runtests_extra.t
Modified: branches/upstream/libtest-class-perl/current/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-class-perl/current/Build.PL?rev=57072&op=diff
==============================================================================
--- branches/upstream/libtest-class-perl/current/Build.PL (original)
+++ branches/upstream/libtest-class-perl/current/Build.PL Wed Apr 28 20:06:25 2010
@@ -17,6 +17,11 @@
'Test::Exception' => '0.25',
'IO::File' => '1.09',
},
+ meta_merge => {
+ resources => {
+ repository => 'http://github.com/adrianh/test-class/',
+ },
+ },
create_makefile_pl => 'traditional',
create_readme => 1,
);
Modified: branches/upstream/libtest-class-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-class-perl/current/Changes?rev=57072&op=diff
==============================================================================
--- branches/upstream/libtest-class-perl/current/Changes (original)
+++ branches/upstream/libtest-class-perl/current/Changes Wed Apr 28 20:06:25 2010
@@ -1,30 +1,39 @@
Changes for Perl extension Test-Class
-0.34 - or the "Abandon ship!" release
+0.35 - or the "Yay! Open Source For The Win!" release [2010-04-28]
+ - Introducing Ovid & Mark Morgan in "Folk with commit bits who aren't
+ afraid to use them!"
+ - Add repository information to the META.yml (via Build.PL).
+ - Add dates to all releases in Change file. This resolves RT#45581
+ - If extra tests are found in the test control methods, report the
+ class name along with the method name.
+
+0.34 - or the "Abandon ship!" release [2010-03-08]
- Harmonised $VERSION to the same value (Adam Kennedy)
- - Devel::Symdump has a bug which is really a bug in core and won't be fixed.
+ - Devel::Symdump has a bug which is really a bug in core and won't be
+ fixed.
Dumped it and switched to MRO::Compat instead (tokuhirom)
- Add "build_requires" (Alexandr Ciornii)
-0.33 - or the "ZOMGIBROKECPAN" release
+0.33 - or the "ZOMGIBROKECPAN" release [2009-09-21]
- Make the test scripts adaptive to Test::More diagnostic changes in
version 0.88
- Skip invalid package names in Test::Class::Load::_load so that we
don't try to load classes in .svn/et-al paths
- Removed #! script invocation line from the MethodInfo.pm module
-0.32_1 - or the "Birmingham QA 2009" release
+0.32_1 - or the "Birmingham QA 2009" release [2008-03-28]
- Removed pointless use of Test::Exception in t/bad-autoloads.t to stop
bogus warnings that were confusing some folk
- Added add_testinfo for Test::Class::Sugar (thanks Piers Cawley)
-0.31 - or the "good god adrian is still alive" release
+0.31 - or the "good god adrian is still alive" release [2008-09-14]
- Downgraded IO::File dependancy to 1.09 (RT#38424 - thanks Mark Stosberg)
-0.30 - or the "Oslo QA 2008 #2" release
+0.30 - or the "Oslo QA 2008 #2" release [2008-04-07]
- Move up to depend on Test::Simple 0.78 to stomp on RT##33809
-0.29 - or the "Oslo QA 2008" release
+0.29 - or the "Oslo QA 2008" release [2008-04-06]
- Fixed some broken edge cases where you didn't get a plan when you had
tests in a shutdown method, and no tests in the rest of your class
- Test::Class::Load can now be subclassed so you can add your own filters
@@ -33,36 +42,36 @@
understand what we're talking about.
- Fixed typo in docs (thanks Tony Edwardson)
-0.28 - or the "just for the debian folk" release
+0.28 - or the "just for the debian folk" release [2008-01-15]
- Downgraded some dependencies to avoid some bogus warnings on Debian
(thanks Gunnar Wolf & Hynek)
-0.27 - or the "Adrian cannot write in English" release
+0.27 - or the "Adrian cannot write in English" release [2007-12-29]
- Fixed a couple of typos/grammar stupidities (thank Jim Brandt)
-0.26 - or the "really working on windows this time (fingers crossed)" release
+0.26 - or the "really working on windows this time (fingers crossed)" release [2007-12-10]
- Tests that look at test_err from Test::Builder::Tester now use caller()
to get the filename - just like Test::Builder. So hopefully everything
should work on all platforms this time.
- Updated the Test::* version dependencies to something vaguely modern
- Fixed runtests_die.t, which still had platform-specific paths in
-0.25 - or the "idiotic platform specific tests fixed" release
+0.25 - or the "idiotic platform specific tests fixed" release [2007-12-07]
- Fixed RT#31122 that was failing tests on Strawberry Perl
(thanks to Chris Dolan)
-0.24 - or the "hating perl's broken object model" release
+0.24 - or the "hating perl's broken object model" release [2007-03-01]
- Stopped throwing warnings when Contextual::Return was loaded due to the
AUTOLOADING of isa() (thank's to agianni)
- If you are filtering with TEST_METHOD your startup/shutdown methods
still get executed (thanks Chris Dolan)
-0.23 - or the "damn David and his smoke testing" release
+0.23 - or the "damn David and his smoke testing" release [2007-02-23]
- Added explicit dependency on Test::Simple for those odd folk who have
old Test::Simple releases running with a recent Test::Builder::Tester
(thanks David Cantrell)
-0.22 - or the "++ becomes a legal regex" release
+0.22 - or the "++ becomes a legal regex" release [2006-11-29]
- Factored out some common code
- Added test for Test::Class::Load not loading modules
successfully
@@ -70,30 +79,30 @@
- Added patch from Nicholas Clark to make T::C work with blead
perl
-0.21 - or the "we're all growed up" release
+0.21 - or the "we're all growed up" release [2006-11-01]
- expected_tests() gives a sensible info when given undef as an argument
- fixed bug when we repeatedly wrapped Test::Builder::ok with extra
Test::Class functionality every time we run a test method
- Test::Class::Load only adds directories to @INC once
-0.20 - or the "you failed where?" release
+0.20 - or the "you failed where?" release [2006-10-19]
- Added an extra diagnostic line on test failures that list the method
that failed and the class being tested. Makes locating test failures in
test class hierarchies much simpler.
- Added some tests for plan math for startup/shutdown methods (phew they
worked!)
-0.19 - or the "last RT bug crushed" release
+0.19 - or the "last RT bug crushed" release [2006-10-11]
- You now get a sensible error message if you load Test::Class after the
CHECK phase where the :Test attribute gets applied.
- Added "A NOTE ON LOADING TEST CLASSES" section that describes the issue
of the :Test attribute being applied at CHECK time
-0.18 - or the "damn multiple inheritence" release
+0.18 - or the "damn multiple inheritence" release [2006-10-06]
- You now get a sensible error message if Test::Class's new() gets
overridden badly via a subclass or multiple inheritance
-0.17 - or the "wot I did on the train" release
+0.17 - or the "wot I did on the train" release [2006-10-06]
- Removed pointless uses of UNIVERSAL::isa
- We rename "test name" to "test description" to confirm with current TAP
nomenclature
@@ -101,24 +110,24 @@
- Added references to Test::Object, Test::Group and Test::Block
- Actually added spelling.t to the distro (sigh)
-0.16 - or the "sepling mist ook!" release
+0.16 - or the "sepling mist ook!" release [2006-10-04]
- Added (optional) spelling tests for the POD in t/developer
- Fixed a whole bunch of spelling mistakes
- Added some references to Test::Class::Load in the main Test::Class POD
- Added more modules that use Test::Class to SEE ALSO
-0.15 - or the "down. down. deeper and down" release
+0.15 - or the "down. down. deeper and down" release [2006-10-03]
- Now works with Test::Deep, which annoyingly defines its own isa()
subroutine. This no longer confuses Test::Class into thinking Test::Deep
isa Test::Class.
- Added some more modules that use Test::Class to SEE ALSO
-0.14 - or the "for the Windows folk" release
+0.14 - or the "for the Windows folk" release [2006-10-02]
- Test::Class::Load now works on Windows (thanks Kenichi Ishigaki for the
patch)
- Tests should now pass on Windows (thanks Kenichi Ishigaki again!)
-0.13 - or the "just to make Ovid & David happy" release
+0.13 - or the "just to make Ovid & David happy" release [2006-09-29]
- Added Test::Class::Load (thanks Ovid) to allow you to easily load
test classes
- Added ability to run a specific test or set of tests based upon a
@@ -128,7 +137,7 @@
- Fixed some broken code in the POD (thanks Jeff Deifik)
- Removed Cwd from prerequisites - it's core
-0.12 - or the "to avoid public mocking" release
+0.12 - or the "to avoid public mocking" release [2006-09-29]
- Fixed the installation errors that everybody has been rightly
complaining about for the last year:
- Prerequisities in requires, not build_requires
@@ -143,7 +152,7 @@
with people asking what it was for (it's internal - don't use it)
- Added a whole bunch of people to the acknowledgements section
-0.11
+0.11 [2005-02-19]
- A belated thank you added to some folk who send in RT bugs and whose
name I missed off the acknowledgements section
- Tweaked link to XUL::Node in SEE ALSO
@@ -153,19 +162,19 @@
warning (reported by Emil Jansson - ta!)
- Added COMMUNITY section to POD
-0.10
+0.10 [2005-02-03]
- Really fixed the _test_classes bug (doh!)
- Added :Tests attribute that acts like :Test but defaults to 'no_plan'
if no test number is given.
-0.09
+0.09 [2005-01-30]
- Fixed bug with _test_classes spotted by Corion's cpan smoker
(see t/test_classes.t)
- Added links to tada to do list to TO DO section of POD
- Added links modules that use Test::Class to SEE ALSO section of POD
(thanks to Terrence Brannon for suggesting this)
-0.08
+0.08 [2005-01-27]
- The undocumented behaviour of C<runtests> has been tweaked and
documented. You can now run all loaded test classes by doing
Test::Class->runtests
@@ -174,31 +183,31 @@
- Removed undocumented class method run_all_tests.
(thanks to David Wheeler & Ovid for helping define the above behaviour)
-0.07
+0.07 [2005-01-03]
- Removed Test::Class::Tutorial & Test::Class::BaseTest since
they shouldn't have escaped into the wild quite yet. Oops.
-0.06
+0.06 [2004-09-06]
- Some cosmetic POD updates
-0.06_8
+0.06_8 [????-??-??]
- Made tests pass with Test::Simple 0.48
- New signature since old one about to be revoked
-0.06_7
+0.06_7 [2004-06-19]
- Added Module::Build support
-0.06_6
+0.06_6 [2004-03-28]
- Fixed bogus test failures under MSWin32
-0.06_5
+0.06_5 [2004-02-21]
- Cleaned up internals
- Having a single method be simultaniously a setup and teardown
method no longer supported
- The undocumented add_method method, that you should not have
been using anyway, disappears
-0.06_4
+0.06_4 [2004-02-13]
- Fixed bogus heading styles in POD
- Test names that default to $self->current_method now replace all
"_" characters with spaces to increase readability
@@ -206,19 +215,19 @@
- D'oh! Fixed MANIFEST so the distribution actually included the
new tests for 0.06_3 and 0.06_2
-0.06_3
+0.06_3 [2004-02-04]
- more POD tweaks
- all tests now compile with warnings enabled
- test name now defaults to $self->current_method
-0.06_2
+0.06_2 [2004-01-30]
- now uses inside out objects so restriction on using -test and
_test as hash keys has been removed
- tweaked POD of Test::Class
- you can now have spaces around test numbers, etc. (bug report
and patch from David Wheeler)
-0.06_1
+0.06_1 [2004-01-23]
- removed examples directory from distribution, needs rewrite
- removed .svn directories from distribution (doh!)
- removed Test::Class::Tutorial from distribution - needs rewrite
@@ -229,12 +238,12 @@
- private methods now called as functions to avoid problems
with subclasses accidentally overriding
-0.05 (not distributed on CPAN)
+0.05 (not distributed on CPAN) [????-??-??]
- fixed MANIFEST and MANIFEST.SKIP
- now skips rest of tests in a test method after first failure
due to an exception.
-0.04 (not distributed on CPAN)
+0.04 (not distributed on CPAN) [????-??-??]
- refactored mercylessly
- Added Test::Class::MethodInfo
- Added first draft of Test::Class::Tutorial. Feedback welcome.
@@ -273,13 +282,13 @@
autorunnable sub-classes if called as a class method with no
arguments.
-0.03 Thu Jun 20
+0.03 Thu Jun 20 [2002-06-20]
- fixed README
- fixed tests that broke now Test::Builder (quite rightly) can
no longer display multiple plans in v0.15
- tidied up the code a little.
-0.02 Sat Jun 15
+0.02 Sat Jun 15 [2002-06-15]
- released to perl-qa at perl.org
0.01 Fri May 10 22:36:52 2002
Modified: branches/upstream/libtest-class-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-class-perl/current/MANIFEST?rev=57072&op=diff
==============================================================================
--- branches/upstream/libtest-class-perl/current/MANIFEST (original)
+++ branches/upstream/libtest-class-perl/current/MANIFEST Wed Apr 28 20:06:25 2010
@@ -4,7 +4,9 @@
lib/Test/Class/Load.pm
lib/Test/Class/MethodInfo.pm
LICENSE
+Makefile.PL
MANIFEST This list of files
+META.yml
README
t/00-load.t
t/20-load-classes.t
@@ -15,11 +17,6 @@
t/builder.t
t/compile.t
t/current_method.t
-t/developer/documented.t
-t/developer/perlcritic.t
-t/developer/perlcriticrc
-t/developer/pod.t
-t/developer/spelling.t
t/diag_on_failure.t
t/die_before_plan.t
t/expected_tests.t
@@ -68,8 +65,10 @@
t/TestClassLoadSubclass.pm
t/Tests.t
t/todo.t
+xt/documented.t
xt/meta.t
+xt/perlcritic.t
+xt/perlcriticrc
xt/pmv.t
xt/pod.t
-Makefile.PL
-META.yml
+xt/spelling.t
Modified: branches/upstream/libtest-class-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-class-perl/current/META.yml?rev=57072&op=diff
==============================================================================
--- branches/upstream/libtest-class-perl/current/META.yml (original)
+++ branches/upstream/libtest-class-perl/current/META.yml Wed Apr 28 20:06:25 2010
@@ -1,15 +1,28 @@
---
-name: Test-Class
-version: 0.34
+abstract: 'Easily create test classes in an xUnit/JUnit style'
author:
- - 'Adrian Howard <adrianh at quietstars.com>'
-abstract: Easily create test classes in an xUnit/JUnit style
-license: perl
-resources:
- license: http://dev.perl.org/licenses/
+ - "Adrian Howard <adrianh at quietstars.com>, Curtis \"Ovid\" Poe, <ovid at cpan.org>, Mark Morgan <makk384 at gmail.com>."
build_requires:
IO::File: 1.09
Test::Exception: 0.25
+configure_requires:
+ Module::Build: 0.36
+generated_by: 'Module::Build version 0.3603'
+license: perl
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+name: Test-Class
+provides:
+ Test::Class:
+ file: lib/Test/Class.pm
+ version: 0.35
+ Test::Class::Load:
+ file: lib/Test/Class/Load.pm
+ version: 0.35
+ Test::Class::MethodInfo:
+ file: lib/Test/Class/MethodInfo.pm
+ version: 0.34
requires:
Attribute::Handlers: 0.77
MRO::Compat: 0.11
@@ -19,19 +32,7 @@
Test::More: 0.78
Test::Simple: 0.78
perl: 5.006001
-configure_requires:
- Module::Build: 0.35
-provides:
- Test::Class:
- file: lib/Test/Class.pm
- version: 0.34
- Test::Class::Load:
- file: lib/Test/Class/Load.pm
- version: 0.34
- Test::Class::MethodInfo:
- file: lib/Test/Class/MethodInfo.pm
- version: 0.34
-generated_by: Module::Build version 0.35
-meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+resources:
+ license: http://dev.perl.org/licenses/
+ repository: http://github.com/adrianh/test-class/
+version: 0.35
Modified: branches/upstream/libtest-class-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-class-perl/current/Makefile.PL?rev=57072&op=diff
==============================================================================
--- branches/upstream/libtest-class-perl/current/Makefile.PL (original)
+++ branches/upstream/libtest-class-perl/current/Makefile.PL Wed Apr 28 20:06:25 2010
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.35
+# Note: this file was auto-generated by Module::Build::Compat version 0.3603
require 5.006001;
use ExtUtils::MakeMaker;
WriteMakefile
Modified: branches/upstream/libtest-class-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-class-perl/current/README?rev=57072&op=diff
==============================================================================
--- branches/upstream/libtest-class-perl/current/README (original)
+++ branches/upstream/libtest-class-perl/current/README Wed Apr 28 20:06:25 2010
@@ -266,14 +266,14 @@
to easily load multiple test classes in a *.t file and run them all.
#! /usr/bin/perl
-
- # load all the test classes I want to run
+
+ # load all the test classes I want to run
use Foo::Test;
use Foo::Bar::Test;
use Foo::Fribble::Test;
use Foo::Ni::Test;
-
- # and run them all
+
+ # and run them all
Test::Class->runtests;
You can use Test::Class::Load to automatically load all the test classes
@@ -595,16 +595,16 @@
#! /usr/bin/perl
use Example::Test;
-
- $ENV{TEST_METHOD} = 'customer_profile';
+
+ $ENV{TEST_METHOD} = 'customer_profile';
Test::Class->runtests;
Running all tests with "customer" in their name:
#! /usr/bin/perl
use Example::Test;
-
- $ENV{TEST_METHOD} = '.*customer.*';
+
+ $ENV{TEST_METHOD} = '.*customer.*';
Test::Class->runtests;
If you specify an invalid regular expression, your tests will not be
@@ -612,8 +612,8 @@
#! /usr/bin/perl
use Example::Test;
-
- $ENV{TEST_METHOD} = 'C++';
+
+ $ENV{TEST_METHOD} = 'C++';
Test::Class->runtests;
And when you run it:
@@ -820,12 +820,12 @@
#! /usr/bin/perl
# Test all the Foo stuff
-
- use Foo::Test;
+
+ use Foo::Test;
use Foo::Bar::Test;
use Foo::Ni::Test;
-
- # run all the Foo*Test modules we just loaded
+
+ # run all the Foo*Test modules we just loaded
Test::Class->runtests;
SKIP_CLASS
@@ -1239,12 +1239,12 @@
Thanks to chromatic and Michael G Schwern for creating such a useful
module.
-AUTHOR
- Adrian Howard <adrianh at quietstars.com>
-
- If you use this module, and can spare the time please drop me an e-mail
- or rate it at
- <http://cpanratings.perl.org/rate/?distribution=Test-Class>.
+AUTHORS
+ Adrian Howard <adrianh at quietstars.com>, Curtis "Ovid" Poe, <ovid at
+ cpan.org>, Mark Morgan <makk384 at gmail.com>.
+
+ If you use this module, and can spare the time please let us know or
+ rate it at <http://cpanratings.perl.org/rate/?distribution=Test-Class>.
SEE ALSO
Test::Class::Load
Modified: branches/upstream/libtest-class-perl/current/lib/Test/Class.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-class-perl/current/lib/Test/Class.pm?rev=57072&op=diff
==============================================================================
--- branches/upstream/libtest-class-perl/current/lib/Test/Class.pm (original)
+++ branches/upstream/libtest-class-perl/current/lib/Test/Class.pm Wed Apr 28 20:06:25 2010
@@ -11,7 +11,7 @@
use Test::Builder;
use Test::Class::MethodInfo;
-our $VERSION = '0.34';
+our $VERSION = '0.35';
my $Check_block_has_run;
{
@@ -154,7 +154,8 @@
};
};
- return sort keys %methods;
+ my @methods = sort keys %methods;
+ return @methods;
};
sub _num_expected_tests {
@@ -265,7 +266,8 @@
_exception_failure($self, $method, $exception, $tests)
unless $exception eq '';
} elsif ($num_done > $num_expected) {
- $Builder->diag("expected $num_expected test(s) in $method, $num_done completed\n");
+ my $class = ref $self;
+ $Builder->diag("expected $num_expected test(s) in $class\::$method, $num_done completed\n");
} else {
until (($Builder->current_test - $num_start) >= $num_expected) {
if ($exception ne '') {
@@ -1599,11 +1601,11 @@
This module wouldn't be possible without the excellent L<Test::Builder>. Thanks to chromatic and Michael G Schwern for creating such a useful module.
-=head1 AUTHOR
-
-Adrian Howard <adrianh at quietstars.com>
-
-If you use this module, and can spare the time please drop me an e-mail or rate it at L<http://cpanratings.perl.org/rate/?distribution=Test-Class>.
+=head1 AUTHORS
+
+Adrian Howard <adrianh at quietstars.com>, Curtis "Ovid" Poe, <ovid at cpan.org>, Mark Morgan <makk384 at gmail.com>.
+
+If you use this module, and can spare the time please let us know or rate it at L<http://cpanratings.perl.org/rate/?distribution=Test-Class>.
=head1 SEE ALSO
Modified: branches/upstream/libtest-class-perl/current/lib/Test/Class/Load.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-class-perl/current/lib/Test/Class/Load.pm?rev=57072&op=diff
==============================================================================
--- branches/upstream/libtest-class-perl/current/lib/Test/Class/Load.pm (original)
+++ branches/upstream/libtest-class-perl/current/lib/Test/Class/Load.pm Wed Apr 28 20:06:25 2010
@@ -7,7 +7,7 @@
use File::Find;
use File::Spec;
-our $VERSION = '0.34';
+our $VERSION = '0.35';
# Override to get your own filter
sub is_test_class {
Modified: branches/upstream/libtest-class-perl/current/t/runtests_extra.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-class-perl/current/t/runtests_extra.t?rev=57072&op=diff
==============================================================================
--- branches/upstream/libtest-class-perl/current/t/runtests_extra.t (original)
+++ branches/upstream/libtest-class-perl/current/t/runtests_extra.t Wed Apr 28 20:06:25 2010
@@ -18,6 +18,6 @@
test_out("ok 1 - expected test");
test_out("ok 2 - extra test");
-test_err("# expected 1 test(s) in extra_test, 2 completed");
+test_err("# expected 1 test(s) in Foo::extra_test, 2 completed");
Foo->runtests;
test_test("extra test detected");
Added: branches/upstream/libtest-class-perl/current/xt/documented.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-class-perl/current/xt/documented.t?rev=57072&op=file
==============================================================================
--- branches/upstream/libtest-class-perl/current/xt/documented.t (added)
+++ branches/upstream/libtest-class-perl/current/xt/documented.t Wed Apr 28 20:06:25 2010
@@ -1,0 +1,9 @@
+#! /usr/bin/perl -Tw
+
+use strict;
+use warnings;
+
+use Test::More;
+eval "use Test::Pod::Coverage 1.00";
+plan skip_all => "Test::Pod::Coverage 1.00 required for testing POD coverage" if $@;
+all_pod_coverage_ok();
Propchange: branches/upstream/libtest-class-perl/current/xt/documented.t
------------------------------------------------------------------------------
svn:executable = *
Added: branches/upstream/libtest-class-perl/current/xt/perlcritic.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-class-perl/current/xt/perlcritic.t?rev=57072&op=file
==============================================================================
--- branches/upstream/libtest-class-perl/current/xt/perlcritic.t (added)
+++ branches/upstream/libtest-class-perl/current/xt/perlcritic.t Wed Apr 28 20:06:25 2010
@@ -1,0 +1,11 @@
+#! /usr/bin/perl -Tw
+
+use strict;
+use warnings;
+
+use Test::More;
+eval "use Test::Perl::Critic (-profile => 'xt/perlcriticrc')";
+plan skip_all => "Test::Perl::Critic required for criticism" if $@;
+all_critic_ok();
+
+
Added: branches/upstream/libtest-class-perl/current/xt/perlcriticrc
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-class-perl/current/xt/perlcriticrc?rev=57072&op=file
==============================================================================
(empty)
Added: branches/upstream/libtest-class-perl/current/xt/spelling.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-class-perl/current/xt/spelling.t?rev=57072&op=file
==============================================================================
--- branches/upstream/libtest-class-perl/current/xt/spelling.t (added)
+++ branches/upstream/libtest-class-perl/current/xt/spelling.t Wed Apr 28 20:06:25 2010
@@ -1,0 +1,107 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+use Test::More;
+
+## no critic
+my $spell_checker = eval q{
+ use Test::Spelling;
+ use File::Which;
+ which('ispell') || die 'no spell checker'
+};
+## use critic
+
+plan skip_all => 'Optional Test::Spelling, File::Which and aspell or ispell required to spellcheck POD' if $@;
+set_spell_cmd("$spell_checker -l");
+add_stopwords( <DATA> );
+all_pod_files_spelling_ok();
+
+__DATA__
+AnnoCPAN
+CPAN
+perlmonks
+RSS
+LICENCE
+API
+APIs
+Bowden
+Bricolage
+Corion
+JUNIT
+JUnit
+Jansson
+Lindstrom
+ORGANISING
+STDOUT
+SUnit
+Startup
+TestCase
+TestRunner
+TestSuite
+Uenalan
+XSLT
+XUNIT
+al
+darwin
+organise
+refactored
+refactoring
+runtests
+scepticism
+startup
+teardown
+todo
+xUnit
+Aperghis
+Carnahan
+Cawley
+Deifik
+Hai
+Ishigaki
+Jochen
+Jore
+Jost
+Kenichi
+Kinyon
+Kirkup
+Krieger
+Lanning
+Mathieu
+Pham
+Sauve
+Stenzel
+Stosberg
+Tramoni
+ben
+et
+imacat
+qa
+Langworth
+Adrian
+BAILOUT
+Beck's
+Bjorn
+Cantrell
+Cozens
+Emil
+Ferrari
+Frankel
+Goddard
+Ian
+Johan
+Murat
+O'Neill
+Sebastien
+Smalltalk
+Terrence
+agianni
+co
+Curtis
+gnarly
+Dolan
+Brandt
+Hynek
+Edwardson
+Cosimo
+Streppone
More information about the Pkg-perl-cvs-commits
mailing list