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