1 Revision history for Perl extension Test::Exception:
4 - Patch to fix my broken code with the now working Sub::Uplevel. Many
8 - Added some more exposition on the usage of dies_ok() and lives_ok() for
9 those who found them confusing. Also reordered presentation of docs so
10 more specific throws_ok() comes first.
11 - Some misc. documentation tweaks.
12 - Added some tests for RT#24678, but not actually fixed them yet
13 (thanks to Joshua ben Jore & David Golden). They skip for now.
14 - Tests should now pass on Strawberry/Vanilla Perl (thanks Nadim Khemir
16 - Added comment in docs about T::E not catching exit() in eval() blocks
18 - Updated Test::* & Sub::Uplevel version dependencies to something modern
21 - Updated Test::Simple dependency to make sure it is in sync with
22 the latest T::B::T (thanks David Cantrell)
25 - Fixed a bunch of spelling mistakes in the POD
26 - Added an (optional) spelling test in t/developer
29 - Added a bunch of missed acknowledgements
30 - Made the fact that $@ is preserved by T::E subroutines explicit in
33 0.22 - or the "about bloody time" release
34 - We now test that the import works (it does :-)
35 - Now works with exception classes that override isa
36 - Added link to AnnoCPAN
37 - Applied patch from Ben Prew to turn the misused TODO tests into
38 proper Test::Builder::Tester tests - thanks Ben
39 - Now cannot pass undef as the exception to throws_ok
40 - The optional test description for lives_and is now optional :)
41 - Can now have empty test description for throws_ok
42 - Requires Sub::Uplevel 0.13 - squashing several bugs (thanks to David
43 Golden for fixing Sub::Uplevel, and for reporting the issue - along
44 with Cees Hek & Steve Purkis)
45 - Uses Test::Pod::Coverage rather than home grown script
46 - Added (optional) Perl::Critic tests
47 - Updated Test::Builder::Tester dependency to 1.04
48 - Tidied up tests, code and POD a little
49 - All developer tests live in t/developer and do not run by default
50 - Added example of only using Test::Exception if it's installed (thanks
51 to Rob Muhlestein for suggesting this)
52 - Test coverage now at 100% (statement, branch, condition, subroutine
53 & POD) according to Devel::Cover 0.58
56 - Most of build_requires should have been in requires, which was
57 causing CPANPLUS to choke on installs. Fixed (thanks Jos I. Boumans)
58 - Test names now called test descriptions to fit in with latest TAP
60 - Added link to tada list to TO DO section of documentation
61 - Added COMMUNITY section to POD
62 - Added description of how to use Test::Exception in a sub-passing non
63 prototype style (after feedback from Jim Keenan & Perrin)
66 - fixed bug in lives_and where $Test::Builder::Level was
67 set to high if test in block lived
70 - Added support for Module::Build
74 - Added Test::Warn and Test::NoWarnings to SEE ALSO (thanks to
75 Andy Lester for pointing out the lack)
78 - Tests now pass with Test::Simple 0.48
81 - pod.t now uses Test::Pod
82 - cleaned up code a little
83 - Fixed year in copyright in POD
84 - Added import() after suggestion from Peter Scott
88 - Removed live() and added lives_and() after an excellent
89 suggestion from Aristotle
90 - Default name for throws_ok now has better output when passed
91 exceptions that overload "".
92 - Refectored t/Exception.t a bit
93 - Now handles bad exception classes that overload "" without
94 overloading eq (thanks to Mark Fowler for bug report & patch).
95 - extended _exception_as_string to cover undef and normal exit
96 - made format of exception display in throws_ok constant with
98 - extended _exception_as_string to add appropriate prefix
102 - Added default test name for throws_ok if no supplied
105 - fixed MANIFEST and added MANIFEST.SKIP
106 - better output for lives_ok and throws_ok if exception classes
108 - bug where it would fail if Test::Builder::ok ever threw
109 exceptions internally fixed.
111 0.12 Mon Aug 26 2002 2002
112 - patched return.t so that it skips if we don't have a
113 Test::Harness that can handle TODO tests (thanks to
114 <chromatic@rmci.net> for pointing this out).
115 - tweaked POD and README
119 - corrected README file
120 - refactored code a little
121 - minor tweaks to POD
122 - Added test to Exception.t that demonstrated bug in throws_ok
123 (you couldn't regex an empty string - i.e. normal exit).
127 - Stopped over-exuberant pod.t and documented.t checking that
128 other peoples modules were documented and had legal POD!
129 - Couple of minor tweaks to the docs.
130 - Added caller.t and patch to Exception.pm from Michael G Schwern
131 to stop dies_ok, lives_ok and throws_ok interfering with
132 caller(). Much better than the regex hack added in 0.08 ---
133 which has now been removed.
136 - Fixed poor English in throws_ok docs.
139 - Added reference to Test::Inline to docs
140 - Test::More now in PREREQ_PM
141 - Culled some code that could never be called
142 - Added t/pod.t and t/documented.t
143 - Now bails if cannot load module in tests
144 - Fixed typo of Text::Differences in docs
145 - Added stacktrace.t to demontrate error reported by Janek
146 Schleicher <bigj@kamelfreund.de> where a stacktrace in the
147 exception can cause throws_ok to always succeed.
148 - Stopped stacktrace.t failing.
151 - may_be_regex -> maybe_regex in Test::Builder
154 - couple of minor tweaks to the docs
157 - now uses may_be_regex public method from Test::Builder
158 - should work & test under 5.005, don't have a perl to hand
159 to double check so feedback welcome
162 - Can now pass regex-like strings as well as regexes. Thanks to
163 Mark Fowler for the suggestion and Michael G Schwern for adding
164 code to Test::Builder.
167 - dies_ok, lives_ok & throws_ok now all return the result of the
169 - $@ is now guaranteed to be preserved (and is documented as
170 such). Thanks to Michael G Schwern for suggesting this.
171 - Tests run tainted, strict & with warnings
172 (just to be on the safe side :-)
175 - Documented properly
177 0.01 Wed Mar 20 00:18:07 2002
178 - original version; created by h2xs 1.21 with options
179 -AX -n Test::Exception