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