1 0.74 Thu Nov 29 15:39:57 PST 2007
3 - Add abstract and author to the meta information.
5 0.73_01 Mon Oct 15 20:35:15 EDT 2007
7 * Put the use_ok() fix from 0.71 back.
9 0.72 Wed Sep 19 20:08:07 PDT 2007
11 * The BEGIN { use_ok } fix for [rt.cpan.org 28345] revealed a small pile of
12 mistakes in CPAN module test suites. Rolling the fix back to give the
13 authors a bit of time to fix their tests.
15 0.71 Thu Sep 13 20:42:36 PDT 2007
17 - Fixed a problem with BEGIN { use_ok } silently failing when there's no
18 plan set. [rt.cpan.org 28345] Thanks Adriano Ferreira and Yitzchak.
19 - Fixed an obscure problem with is_deeply() and overloading ==
20 [rt.cpan.org 20768]. Thanks Sisyphus.
23 - Removed dependency on Text::Soundex [rt.cpan.org 25022]
24 - Fixed a 5.5.x failure in fail-more.t
25 * Got rid of the annoying sort_bug.t test that revealed problems with some
26 threaded perls. It was testing the deprecated eq_* functions and not
27 worth the bother. Now it tests is_deeply(). [rt.cpan.org 17791]
30 - Minor POD mistake in Test::Builder [rt.cpan.org 28869]
31 * Test::FAQ has been updated with some more answers.
34 - Fixed the "LICENSE is not a known MakeMaker parameter name" warning
35 on older MakeMakers for real this time.
37 0.70 Thu Mar 15 15:53:05 PDT 2007
39 * The change to is_fh() in 0.68 broke the case where a reference to
40 a tied filehandle is used for perl 5.6 and back. This made the tests
43 0.69 Wed Mar 14 06:43:35 PDT 2007
45 - Minor filename compatibility fix to t/fail-more.t [rt.cpan.org 25428]
47 0.68 Tue Mar 13 17:27:26 PDT 2007
49 * If your code has a $SIG{__DIE__} handler in some cases functions like
50 use_ok(), require_ok(), can_ok() and isa_ok() could trigger that
51 handler. [rt.cpan.org 23509]
52 - Minor improvement to TB's filehandle detection in the case of overridden
53 isa(). [rt.cpan.org 20890]
54 - Will now install as a core module in 5.6.2 which ships with Test::More.
58 - Test::Builder->is_fh() provides a way to determine if a thing
59 can be used as a filehandle.
61 Documentation improvements
62 - Improved the docs for $Test::Builder::Level showing the encouraged
63 use (increment, don't set)
64 - Documented the return value of Test::Builder's test methods
65 - Split out TB's method documentation to differenciate between test
66 methods (ok, is_eq...), methods useful in testing (skip, BAILOUT...)
67 and methods useful for building your own tests (maybe_regex...).
70 - We required too old a version of Test::Pod::Coverage. Need 1.08 and not
71 1.00. [rt.cpan.org 25351]
73 0.67 Mon Jan 22 13:27:40 PST 2007
75 - t/pod_coverage.t would fail if Test::Pod::Coverage between 1.07 and
76 1.00 were installed as it depended on all_modules being exported.
79 0.66 Sun Dec 3 15:25:45 PST 2006
80 - Restore 5.4.5 compatibility (unobe@cpan.org) [rt.cpan.org 20513]
82 0.65 Fri Nov 10 10:26:51 CST 2006
84 0.64_03 Sun Nov 5 13:09:55 EST 2006
85 - Tests will no longer warn when run against an alpha version of
86 Test::Harness [rt.cpan.org #20501]
87 - Now testing our POD and POD coverage.
88 - Added a LICENSE field.
89 - Removed warning from the docs about mixing numbered and unnumbered
90 tests. There's nothing wrong with that. [rt.cpan.org 21358]
91 - Change doc examples to talk about $got and $expected rather than
92 $this and $that to correspond better to the diagnostic output
95 0.64_02 Sat Sep 9 12:16:56 EDT 2006
96 - Last release broke Perls earlier than 5.8.
98 0.64_01 Mon Sep 4 04:40:42 EDT 2006
99 - Small improvement to the docs to avoid user confusion over
100 "use Test::More tests => $num_tests" (Thanks Eric Wilhelm)
101 - Minor fix for a test failure in is_deeply_fail for some Windows
102 users. Not a real bug. [rt.cpan.org 21310]
103 - _print_diag() accidentally leaked into the public documentation.
104 It is a private method.
105 * Added Test::Builder->carp() and croak()
106 * Made most of the error messages report in the caller's context.
108 * Made the failure diagnostic message file and line reporting portion
109 match Perl's for easier integration with Perl aware editors.
110 (so its "at $file line $line_num." now)
112 * 5.8.0 threads are no longer supported. There's too many bugs.
114 0.64 Sun Jul 16 02:47:29 PDT 2006
115 * 0.63's change to test_fail() broke backwards compatibility. They
116 have been removed for the time being. test_pass() went with it.
117 This is [rt.cpan.org 11317] and [rt.cpan.org 11319].
118 - skip() will now warn if you get the args backwards.
120 0.63 Sun Jul 9 02:36:36 PDT 2006
121 * Fixed can_ok() to gracefully handle no class name.
122 Submitted by "Pete Krawczyk" <perl@bsod.net>
123 Implemented by "Richard Foley" <richard.foley@rfi.net>
125 * Added test_pass() to Test::Builder::Tester rather than having to
126 call test_out("ok 1 - foo"). <chromatic@wgz.org> [rt.cpan.org 11317]
127 * test_fail() now accepts a test diagnostic rather than having to
128 call test_out() separately. <chromatic@wgz.org> [rt.cpan.org 11319]
129 - Changed Test::Builder::Tester docs to show best practice using
130 test_fail() and test_pass().
131 - isnt_num() doc example wrongly showed is_num(). <chromatic@wgz.org>
132 - Fixed a minor typo in the BAIL_OUT() docs. <Jeff Deifik>
133 - Removed the LICENSE field from the Makefile.PL as the release of
134 MakeMaker with that feature has been delayed.
136 0.62 Sat Oct 8 01:25:03 PDT 2005
137 * Absorbed Test::Builder::Tester. The last release broke it because its
138 screen scraping Test::More and the failure output changed. By
139 distributing them together we ensure TBT won't break again.
140 * Test::Builder->BAILOUT() was missing.
141 - is_deeply() can now handle function and code refs in a very limited
142 way. It simply looks to see if they have the same referent.
145 0.61 Fri Sep 23 23:26:05 PDT 2005
146 - create.t was trying to read from a file before it had been closed
147 (and thus the changes may not have yet been written).
148 * is_deeply() would call stringification methods on non-object strings
149 which happened to be the name of a string overloaded class.
152 0.60_02 Tue Aug 9 00:27:41 PDT 2005
153 * Added Test::Builder::Module.
154 - Changed Test::More and Test::Simple to use Test::Builder::Module
155 - Minor Win32 testing nit in fail-more.t
156 * Added no_diag() method to Test::Builder and changed Test::More's
157 no_diag internals to use that. [rt.cpan.org 8655]
158 * Deprecated no_diag() as an option to "use Test::More". Call the
159 Test::Builder method instead.
161 0.60_01 Sun Jul 3 18:11:58 PDT 2005
162 - Moved the docs around a little to better group all the testing
163 functions together. [rt.cpan.org 8388]
164 * Added a BAIL_OUT() function to Test::More [rt.cpan.org 8381]
165 - Changed Test::Builder->BAILOUT to BAIL_OUT to match other method's
166 naming conventions. BAILOUT remains but is deprecated.
167 * Changed the standard failure diagnostics to include the test name.
169 - is_deeply() was broken for overloaded objects in the top level in
170 0.59_01. [rt.cpan.org 13506]
171 - String overloaded objects without an 'eq' or '==' method are now
172 handled in cmp_ok() and is().
173 - cmp_ok() will now treat overloaded objects as numbers if the comparison
174 operator is numeric. [rt.cpan.org 13156]
175 - cmp_ok(), like() and unlike will now throw uninit warnings if their
176 arguments are undefined. [rt.cpan.org 13155]
177 - cmp_ok() will now throw warnings as if the comparison were run
178 normally, for example cmp_ok(2, '==', 'foo') will warn about 'foo'
179 not being numeric. Previously all warnings in the comparison were
180 supressed. [rt.cpan.org 13155]
181 - Tests will now report *both* the number of tests failed and if the
182 wrong number of tests were run. Previously if tests failed and the
183 wrong number were run it would only report the latter.
185 - Missing or extra tests are not considered failures for the purposes
186 of calculating the exit code. Should there be no failures but the
187 wrong number of tests the exit code will be 254.
188 - Avoiding an unbalanced sort in eq_set() [bugs.perl.org 36354]
189 - Documenting that eq_set() doesn't deal well with refs.
190 - Clarified how is_deeply() compares a bit.
191 * Once again working on 5.4.5.
193 0.60 Tue May 3 14:20:34 PDT 2005
195 0.59_01 Tue Apr 26 21:51:12 PDT 2005
196 * Test::Builder now has a create() method which allows you to create
197 a brand spanking new Test::Builder object.
198 * require_ok() was not working for single letter module names.
199 * is_deeply() and eq_* now work with circular scalar references
201 * Use of eq_* now officially discouraged.
202 - Removed eq_* from the SYNOPSIS.
203 - is_deeply(undef, $not_undef); now works. [rt.cpan.org 9441]
204 - is_deeply() was mistakenly interpeting the same reference used twice
205 in a data structure as being circular causing failures.
207 - Loading Test::Builder but not using it would interfere with the
208 exit code if the code exited. [rt.cpan.org 12310]
209 - is_deeply() diagnostics now disambiguate between stringified references
210 and references. [rt.cpan.org 8865]
211 - Files opened by the output methods are now autoflushed.
212 - todo() now honors $Level when looking for $TODO.
214 0.54 Wed Dec 15 04:18:43 EST 2004
215 * $how_many is optional for skip() and todo_skip(). Thanks to
216 Devel::Cover for pointing this out.
217 - Removed a user defined function called err() in the tests to placate
218 users of older versions of the dor patch before err() was weakend.
221 0.53_01 Sat Dec 11 19:02:18 EST 2004
222 - current_test() can now be set backward.
223 - *output() methods now handle tied handles and *FOO{IO} properly.
224 - maybe_regex() now handles undef gracefully.
225 - maybe_regex() now handles 'm,foo,' style regexes.
226 - sort_bug.t wasn't checking for threads properly. Would fail on
227 5.6 that had ithreads compiled in. [rt.cpan.org 8765]
229 0.53 Mon Nov 29 04:43:24 EST 2004
230 - Apparently its possible to have Module::Signature installed without
231 it being functional. Fixed the signature test to account for this.
234 0.52 Sun Nov 28 21:41:03 EST 2004
235 - plan() now better checks that the given plan is valid.
238 0.51_02 Sat Nov 27 01:25:25 EST 2004
239 * is_deeply() and all the eq_* functions now handle circular data
240 structures. [rt.cpan.org 7289]
241 * require_ok() now handles filepaths in addition to modules.
242 - Clarifying Test::More's position on overloaded objects
243 - Fixed a bug introduced in 0.51_01 causing is_deeply() to pierce
245 - Mentioning rt.cpan.org for reporting bugs.
247 0.51_01 Fri Nov 26 02:59:30 EST 2004
248 - plan() was accidentally exporting functions [rt.cpan.org 8385]
249 * diag @msgs would insert # between arguments. [rt.cpan.org 8392]
250 * eq_set() could cause problems under threads due to a weird sort bug
252 * undef no longer equals '' in is_deeply() [rt.cpan.org 6837]
253 * is_deeply() would sometimes compare references as strings.
255 - eq_array() and eq_hash() could hold onto references if they failed
256 keeping them in memory and preventing DESTROY. [rt.cpan.org 7032]
257 * is_deeply() could confuse [] with a non-existing value
259 - is_deeply() diagnostics a little off when scalar refs were inside
260 an array or hash ref [rt.cpan.org 7033]
261 - Thanks to Fergal Daly for ferretting out all these long standing
262 is_deeply and eq_* bugs.
264 0.51 Tue Nov 23 04:51:12 EST 2004
265 - Fixed bug in fail_one.t on Windows (not a real bug).
266 - TODO reasons as overloaded objects now won't blow up under threads.
268 - skip() in 0.50 tickled yet another bug in threads::shared. Hacked
271 0.50 Sat Nov 20 00:28:44 EST 2004
272 - Fixed bug in fail-more test on Windows (not a real bug).
274 - Change from CVS to SVK. Hopefully this is the last time I move
275 version control systems.
276 - Again removing File::Spec dependency (came back in 0.48_02)
277 - Change from Aegis back to CVS
279 0.49 Thu Oct 14 21:58:50 EDT 2004
280 - t/harness_active.t would fail for frivolous reasons with older
281 MakeMakers (test bug) [thanks Bill Moseley for noticing]
283 0.48_02 Mon Jul 19 02:07:23 EDT 2004
284 * Overloaded objects as names now won't blow up under threads
285 [rt.cpan.org 4218 and 4232]
286 * Overloaded objects which stringify to undef used as test names
287 now won't cause internal uninit warnings. [rt.cpan.org 4232]
288 * Failure diagnostics now come out on their own line when run in
290 - eq_set() sometimes wasn't giving the right results if nested refs
291 were involved [rt.cpan.org 3747]
292 - isnt() giving wrong diagnostics and warning if given any undefs.
293 * Give unlike() the right prototype [rt.cpan.org 4944]
294 - Change from CVS to Aegis
295 - is_deeply() will now do some basic argument checks to guard against
296 accidentally passing in a whole array instead of its reference.
297 - Mentioning Test::Differences, Test::Deep and Bundle::Test.
298 - Removed dependency on File::Spec.
299 - Fixing the grammar of diagnostic outputs when only a single test
300 is run or failed (ie. "Looks like you failed 1 tests").
303 0.48_01 Mon Nov 11 02:36:43 EST 2002
304 - Mention Test::Class in Test::More's SEE ALSO
305 * use_ok() now DWIM for version checks
306 - More problems with ithreads fixed.
307 * Test::Harness upgrade no longer optional. It was causing too
308 many problems when the T::H upgrade didn't work.
309 * Drew Taylor added a 'no_diag' option to Test::More to switch
310 off all diag() statements.
311 * Test::Builder/More no longer automatically loads threads.pm
312 when threads are enabled. The user must now do this manually.
313 * Alex Francis added reset() reset the state of Test::Builder in
314 persistent environments.
315 - David Hand noted that Test::Builder/More exit code behavior was
316 not documented. Only Test::Simple.
318 0.47 Mon Aug 26 03:54:22 PDT 2002
319 * Tatsuhiko Miyagawa noticed Test::Builder was accidentally storing
320 objects passed into test functions causing problems with tests
321 relying on object destruction.
322 - Added example of calculating the number of tests to Test::Tutorial
323 - Peter Scott made the ending logic not fire on child processes when
325 * Test::Builder is once again ithread safe.
327 0.46 Sat Jul 20 19:57:40 EDT 2002
328 - Noted eq_set() isn't really a set comparision.
329 - Test fix, exit codes are broken on MacPerl (bleadperl@16868)
330 - Make Test::Simple install itself into the core for >= 5.8
331 - Small fixes to Test::Tutorial and skip examples
332 * Added TB->has_plan() from Adrian Howard
333 - Clarified the meaning of 'actual_ok' from TB->details
334 * Added TB->details() from chromatic
335 - Neil Watkiss fixed a pre-5.8 test glitch with threads.t
336 * If the test died before a plan, it would exit with 0 [ID 20020716.013]
338 0.45 Wed Jun 19 18:41:12 EDT 2002
339 - Andy Lester made the SKIP & TODO docs a bit clearer.
340 - Explicitly disallowing double plans. (RT #553)
341 - Kicking up the minimum version of Test::Harness to one that's
343 - Made clear a common problem with use_ok and BEGIN blocks.
344 - Arthur Bergman made Test::Builder thread-safe.
346 0.44 Thu Apr 25 00:27:27 EDT 2002
347 - names containing newlines no longer produce confusing output
349 - chromatic provided a fix so can_ok() honors can() overrides.
350 - Nick Ing-Simmons suggested todo_skip() be a bit clearer about
352 - Making plan() vomit if it gets something it doesn't understand.
353 - Tatsuhiko Miyagawa fixed use_ok() with pragmata on older perls.
354 - quieting diag(undef)
356 0.43 Thu Apr 11 22:55:23 EDT 2002
357 - Adrian Howard added TB->maybe_regex()
358 - Adding Mark Fowler's suggestion to make diag() return
360 - TB->current_test() still not working when no tests were run via
361 TB itself. Fixed by Dave Rolsky.
363 0.42 Wed Mar 6 15:00:24 EST 2002
364 - Setting Test::Builder->current_test() now works (see what happens
365 when you forget to test things?)
366 - The change in is()'s undef/'' handling in 0.34 was an API change,
367 but I forgot to declare it as such.
368 - The apostrophilic jihad attacks! Philip Newtons patch for
369 grammar mistakes in the doc's.
371 0.41 Mon Dec 17 22:45:20 EST 2001
372 * chromatic added diag()
373 - Internal eval()'s sometimes interfering with $@ and $!. Fixed.
375 0.40 Fri Dec 14 15:41:39 EST 2001
376 * isa_ok() now accepts unblessed references gracefully
377 - Nick Clark found a bug with like() and a regex with % in it.
378 - exit.t was hanging on 5.005_03 VMS perl. Test now skipped.
379 - can_ok() would pass if no methods were given. Now fails.
380 - isnt() diagnostic output format changed
381 * Added some docs about embedding and extending Test::More
382 * Added Test::More->builder
386 - Piers pointed out that sometimes people override isa().
387 isa_ok() now accounts for that.
389 0.36 Thu Nov 29 14:07:39 EST 2001
390 - Matthias Urlichs found that intermixed prints to STDOUT and test
391 output came out in the wrong order when piped.
393 0.35 Tue Nov 27 19:57:03 EST 2001
394 - Little glitch in the test suite. No actual bug.
396 0.34 Tue Nov 27 15:43:56 EST 2001
397 * **API CHANGE** Empty string no longer matches undef in is()
399 * Added isnt_eq and isnt_num to Test::Builder.
401 0.33 Mon Oct 22 21:05:47 EDT 2001
402 * It's now officially safe to redirect STDOUT and STDERR without
403 affecting test output.
404 - License and POD cleanup by Autrijus Tang
405 - Synched up Test::Tutorial with the wiki version
406 - Minor VMS test nit.
408 0.32 Tue Oct 16 16:52:02 EDT 2001
409 * Finally added a seperate plan() function
410 * Adding a name field to isa_ok()
411 (Requested by Dave Rolsky)
412 - Test::More was using Carp.pm, causing the occasional false positive.
413 (Reported by Tatsuhiko Miyagawa)
415 0.31 Mon Oct 8 19:24:53 EDT 2001
416 * Added an import option to Test::More
417 * Added no_ending and no_header options to Test::Builder
418 (Thanks to Dave Rolsky for giving this a swift kick in the ass)
419 * Added is_deeply(). Display of scalar refs not quite 100%
420 (Thanks to Stas Bekman for Apache::TestUtil idea thievery)
421 - Fixed a minor warning with skip()
422 (Thanks to Wolfgang Weisselberg for finding this one)
424 0.30 Thu Sep 27 22:10:04 EDT 2001
425 * Added Test::Builder
426 (Thanks muchly to chromatic for getting this off the ground!)
427 * Diagnostics are back to using STDERR *unless* it's from a todo
428 test. Those go to STDOUT.
429 - Fixed it so nothing is printed if a test is run with a -c flag.
430 Handy when a test is being deparsed with B::Deparse.
434 0.19 Tue Sep 18 17:48:32 EDT 2001
435 * Test::Simple and Test::More no longer print their diagnostics
436 to STDERR. It instead goes to STDOUT.
437 * TODO tests which fail now print full failure diagnostics.
438 - Minor bug in ok()'s test name diagnostics made it think a blank
440 - ok() less draconian about test names
441 - Added temporary special case for Parrot::Test
442 - Now requiring File::Spec for our tests.
444 0.18 Wed Sep 5 20:35:24 EDT 2001
445 * ***API CHANGE*** can_ok() only counts as one test
446 - can_ok() has better diagnostics
447 - Minor POD fixes from mjd
448 - adjusting the internal layout to make it easier to put it into
451 0.17 Wed Aug 29 20:16:28 EDT 2001
452 * Added can_ok() and isa_ok() to Test::More
454 0.16 Tue Aug 28 19:52:11 EDT 2001
455 * vmsperl foiled my sensisble exit codes. Reverting to a much more
458 0.15 Tue Aug 28 06:18:35 EDT 2001 *UNRELEASED*
459 * Now using sensible exit codes on VMS.
461 0.14 Wed Aug 22 17:26:28 EDT 2001
462 * Added a first cut at Test::Tutorial
464 0.13 Tue Aug 14 15:30:10 EDT 2001
465 * Added a reason to the skip_all interface
466 - Fixed a bug to allow 'use Test::More;' to work.
467 (Thanks to Tatsuhiko Miyagawa again)
468 - Now always testing backwards compatibility.
470 0.12 Tue Aug 14 11:02:39 EDT 2001
471 * Fixed some compatibility bugs with older Perls
472 (Thanks to Tatsuhiko Miyagawa)
474 0.11 Sat Aug 11 23:05:19 EDT 2001
475 * Will no longer warn about testing undef values
476 - Escaping # in test names
477 - Ensuring that ok() returns true or false and not undef
478 - Minor doc typo in the example
480 0.10 Tue Jul 31 15:01:11 EDT 2001
481 * Test::More is now distributed in this tarball.
482 * skip and todo tests work!
483 * Extended use_ok() so it can import
484 - A little internal rejiggering
487 0.09 Wed Jun 27 02:55:54 EDT 2001
490 0.08 Fri Jun 15 14:39:50 EDT 2001
491 - Guarding against $/ and -l
492 - Reformatted the way failed tests are reported to make them stand out
495 0.07 Tue Jun 12 15:55:54 BST 2001
496 - 'use Test::Simple' by itself no longer causes death
497 - Yet more fixes for death in eval
498 - Limiting max failures reported via exit code to 254.
500 0.06 Wed May 9 23:38:17 BST 2001
501 - Whoops, left a private method in the public docs.
503 0.05 Wed May 9 20:40:35 BST 2001
504 - Forgot to include the exit tests.
505 - Trouble with exiting properly under 5.005_03 and 5.6.1 fixed
506 - Turned off buffering
507 * 5.004 new minimum version
508 - Now explicitly tested with 5.6.1, 5.6.0, 5.005_03 and 5.004
510 0.04 Mon Apr 2 11:05:01 BST 2001
511 - Fixed "require Test::Simple" so it doesn't bitch and exit 255
512 - Now installable with the CPAN shell.
514 0.03 Fri Mar 30 08:08:33 BST 2001
515 - ok() now prints on what line and file it failed.
516 - eval 'die' was considered abnormal. Fixed.
518 0.02 Fri Mar 30 05:12:14 BST 2001 *UNRELEASED*
520 * exit code on abnormal exit changed to 255 (thanks to Tim Bunce for
521 pointing out that Unix can't do negative exit codes)
522 - abnormal exits now better caught.
523 - No longer using Test.pm to test this, but still minimum of 5.005
526 0.01 Wed Mar 28 06:44:44 BST 2001
527 - First working version released to CPAN