Skip to content

Commit

Permalink
- Fixed svn:ignore for Discuss
Browse files Browse the repository at this point in the history
- Copy of latest Test::Class to releases
  • Loading branch information
adrianh committed Feb 29, 2004
1 parent c1e806a commit 6a455e0
Show file tree
Hide file tree
Showing 57 changed files with 5,108 additions and 0 deletions.
96 changes: 96 additions & 0 deletions releases/Test-Class-0.06_5/Changes
@@ -0,0 +1,96 @@
Revision history for Perl extension Test::Class.

0.06_5
- 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
- Fixed bogus heading styles in POD
- Test names that default to $self->current_method now replace all
"_" characters with spaces to increase readability
- Documented default test name behaviour
- D'oh! Fixed MANIFEST so the distribution actually included the
new tests for 0.06_3 and 0.06_2

0.06_3
- more POD tweaks
- all tests now compile with warnings enabled
- test name now defaults to $self->current_method

0.06_2
- 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
- removed examples directory from distribution, needs rewrite
- removed .svn directories from distribution (doh!)
- removed Test::Class::Tutorial from distribution - needs rewrite
- removed Test::Class::BaseTest - needs rethink
- cleaned up Test::Class POD a bit
- documented.t now uses Test::Pod::Coverage if available
- pod.t now uses Test::Pod if available
- private methods now called as functions to avoid problems
with subclasses accidentally overriding

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)
- refactored mercylessly
- Added Test::Class::MethodInfo
- Added first draft of Test::Class::Tutorial. Feedback welcome.
- rearranged Test::Class POD (hopefully making it clearer!)
- dropped total_num_tests, teardown_methods, setup_methods and
test_methods from public interface - they were implementation
details that shouldn't have been public in first place. If you
disagree let me know (with a rationale) and I'll probably add
them back :-)
- fixed bug where runtests() could blow up if supplied with a
non-Test::Class
- fixed bug where runtests returned whether all tests had passed,
rather than whether all test run on test object passed
- bug with runtests showing duplicate header lines fixed (thanks
to Michael for adding has_plan() to Test::Builder)
- FAIL_ALL now exits with the # tests failed (or 254 if
more than 254 tests failed) to match behaviour of Test::Simple
et al.
- An extra exception thrown after all the tests in a method have
run now causes a failed test (to better match the behaviour of a
die at the end of a normal test script).
- Changed diagnostic messages when exceptions occur to show
method exception occurred in. Makes tracking failure easier.
- Added Test::Class::BaseTest - base class for creating a fixture
and testing it's of the correct class.
- Diagnostic messages improved
- Plan correctly shown when setup/teardown method without any
tests throws an exception
- TEST_VERBOSE now outputs a newline before the method name which
makes reading verbose output easier.
- Added startup and shutdown methods after suggestion from
Tony Bowden.
- Added run_all_classes and autorun - inspired by comments from
Tony Bowden on running multiple Test::Classes easily
- Changed runtests so that it will run all of a classes
autorunnable sub-classes if called as a class method with no
arguments.

0.03 Thu Jun 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
- released to perl-qa@perl.org

0.01 Fri May 10 22:36:52 2002
- original version; created by h2xs 1.21 with options
-AX -n Test::Class
11 changes: 11 additions & 0 deletions releases/Test-Class-0.06_5/MANIFEST.SKIP
@@ -0,0 +1,11 @@
\.DS_Store$
^examples
^todo
^MANIFEST.SKIP$
^blib
^pm_to_blib
\.bak$
Makefile$
^Test-Class-
.svn
Makefile.old
22 changes: 22 additions & 0 deletions releases/Test-Class-0.06_5/Makefile.PL
@@ -0,0 +1,22 @@
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
'NAME' => 'Test::Class',
'VERSION_FROM' => 'lib/Test/Class.pm', # finds $VERSION
'PREREQ_PM' => {
Attribute::Handlers => 0.77,
Class::ISA => 0.32,
IO::File => 1.08,
Storable => 2.04,
Test::Builder => 0.16,
Test::Builder::Tester => 0.09,
Test::Differences => 0.43,
Test::Exception => 0.10,
Test::More => 0.44,
Devel::Symdump => 2.03,
}, # e.g., Module::Name => 1.1
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'lib/Test/Class.pod', # retrieve abstract from module
AUTHOR => 'Adrian Howard <adrianh@quietstars.com>') : ()),
);
25 changes: 25 additions & 0 deletions releases/Test-Class-0.06_5/README
@@ -0,0 +1,25 @@
Test::Class
===========

Test::Class provides a simple way of creating classes and objects to
test your code in an xUnit style.

Built using Test::Builder it is designing to work with other
Test::Builder based modules (Test::More, Test::Differences,
Test::Exception, etc.)

INSTALLATION

To install this module type the following:

perl Makefile.PL
make
make test
make install

COPYRIGHT AND LICENCE

Copyright 2002-2004 Adrian Howard, All Rights Reserved.

This program is free software; you can redistribute it
and/or modify it under the same terms as Perl itself.

0 comments on commit 6a455e0

Please sign in to comment.