Apply revision 1241 (and 1250) from the TAP::Harness SVN repo
[p5sagit/p5-mst-13.2.git] / lib / Test / Simple / Changes
CommitLineData
82d700dc 10.85_01 Thu Oct 23 18:57:38 PDT 2008
2 New Features
3 * cmp_ok() now displays the error if the comparison throws one.
4 For example, broken overloaded objects.
5
6 Bug Fixes
7 * cmp_ok() no longer stringifies or numifies its arguments before comparing.
8 This makes cmp_ok() properly test overloaded ops.
9 [rt.cpan.org 24186] [code.google.com 16]
10 * diag() properly escapes blank lines.
11
12 Feature Changes
13 * cmp_ok() now reports warnings and errors as coming from inside cmp_ok,
14 as well as reporting the caller's file and line. This let's the user
15 know where cmp_ok() was called from while reminding them that it is
16 being run in a different context.
17
18 Other
19 * Dependency on ExtUtils::MakeMaker 6.27 only on Windows otherwise the
20 nested tests won't run.
21
22
73039790 230.84 Wed Oct 15 09:06:12 EDT 2008
24 Other
25 * 0.82 accidentally shipped with experimental Mouse dependency.
26
27
280.82 Tue Oct 14 23:06:56 EDT 2008
29 Bug Fixes
30 - 0.81_01 broke $TODO such that $TODO = '' was considered todo.
31
32
330.81_02 Tue Sep 9 04:35:40 PDT 2008
34 New Features
35 * Test::Builder->reset_outputs() to reset all the output methods back to
36 their defaults.
37
38 Bug Fixes
39 - Fixed the file and line number reported by like when it gets a bad
40 regex.
41
42 Features Changed
43 - Now preserves the tests' exit code if it exits abnormally, rather than
44 setting it to 255.
45 - Changed the "Looks like your test died" message to
46 "Looks like your test exited with $exit_code"
47 - no_plan now only warns if given an argument. There were a lot of people
48 doing that, and it's a sensible mistake. [test-more.googlecode.com 13]
49
50
510.81_01 Sat Sep 6 15:13:50 PDT 2008
52 New Features
53 * Adam Kennedy bribed me to add new_ok(). The price was one DEFCON license key.
54 [rt.cpan.org 8891]
55 * TODO tests can now start and end with 'todo_start' and 'todo_end'
56 Test::Builder methods. [rt.cpan.org 38018]
57 * Added Test::Builder->in_todo() for a safe way to check if a test is inside a
58 TODO block. This allows TODO tests with no reason.
59 * Added note() and explain() to both Test::More and Test::Builder.
60 [rt.cpan.org 14764] [test-more.googlecode.com 3]
61
62 Features Changed
63 * Changed the message for extra tests run to show the number of tests run rather than
64 the number extra to avoid the user having to do mental math.
65 [rt.cpan.org 7022]
66
67 Bug fixes
68 - using a relative path to perl broke tests [rt.cpan.org 34050]
69 - use_ok() broke $SIG{__DIE__} in the used module [rt.cpan.org 34065]
70 - diagnostics for isnt() were confusing on failure [rt.cpan.org 33642]
71 - warnings when MakeMaker's version contained _ [rt.cpan.org 33626]
72 - add explicit test that non-integer plans die correctly [rt.cpan.org 28836]
73 (Thanks to Hans Dieter Pearcey [confound] for fixing the above)
74 - die if no_plan is given an argument [rt.cpan.org 27429]
75
76
bdff39c7 770.80 Sun Apr 6 17:25:01 CEST 2008
78 Test fixes
79 - Completely disable the utf8 test. It was causing perl to panic on some OS's.
80
81
820.79_01 Wed Feb 27 03:04:54 PST 2008
83 Bug fixes
84 - Let's try the IO layer copying again, this time with the test
85 fixed for 5.10.
86
87
880.78 Wed Feb 27 01:59:09 PST 2008
89 Bug fixes
90 * Whoops, the version of Test::Builder::Tester got moved backwards.
91
92
930.77 Wed Feb 27 01:55:55 PST 2008
94 Bug fixes
95 - "use Test::Builder::Module" no longer sets exported_to() or does
96 any other importing.
97 - Fix the $TODO finding code so it can find $TODO without the benefit
98 of exported_to(), which is often wrong.
99 - Turn off the filehandle locale stuff for the moment, there's a
100 problem on 5.10. We'll try it again next release.
101
102 Doc improvements
103 - Improve the Test::Builder SYNOPSIS to use Test::Builder::Module
104 rather than write it's own import().
105
106
1070.76_02 Sun Feb 24 13:12:55 PST 2008
108 Bug fixes
109 * The default test output filehandles will NOT use utf8.
110 They will now copy the IO layers from STDOUT and STDERR.
111 This means if :utf8 is on then it will honor it and not
112 warn about wide characters.
113
114
1150.76_01 Sat Feb 23 20:44:32 PST 2008
116 Bug fixes
117 * Test::Builder no longer uses a __DIE__ handler. This resolves a number
118 of problems with exit codes being swallowed or other module's handlers
119 being interfered with. [rt.cpan.org 25294]
120 - Allow maybe_regex() to detect blessed regexes. [bleadperl @32880]
121 - The default test output filehandles will now use utf8.
122 [rt.cpan.org 21091]
123
124 Test fixes
125 - Remove the signature test. Adds no security and just generates
126 failures.
127
128
1290.75 Sat Feb 23 19:03:38 PST 2008
130 Incompatibilities
131 * The minimum version is now 5.6.0.
132
133 Bug fixes
134 - Turns out require_ok() had the same bug as use_ok() in a BEGIN block.
135 - ok() was not honoring exported_to() when looking for $TODO as it
136 should be.
137
138 Test fixes
139 * is_deeply_with_threads.t will not run unless AUTHOR_TESTING is set.
140 This is because it tickles intermittent threading bugs in many perls
141 and causes a lot of bug reports about which I can do nothing.
142
143 Misc
144 - Ran through perlcritic and did some cleaning.
145
00881caa 1460.74 Thu Nov 29 15:39:57 PST 2007
147 Misc
148 - Add abstract and author to the meta information.
149
1500.73_01 Mon Oct 15 20:35:15 EDT 2007
151 Bug fixes
152 * Put the use_ok() fix from 0.71 back.
153
4d845874 1540.72 Wed Sep 19 20:08:07 PDT 2007
155 Bug unfixes
156 * The BEGIN { use_ok } fix for [rt.cpan.org 28345] revealed a small pile of
00881caa 157 mistakes in CPAN module test suites. Rolling the fix back to give the
158 authors a bit of time to fix their tests.
4d845874 159
1600.71 Thu Sep 13 20:42:36 PDT 2007
161 Bug fixes
162 - Fixed a problem with BEGIN { use_ok } silently failing when there's no
163 plan set. [rt.cpan.org 28345] Thanks Adriano Ferreira and Yitzchak.
164 - Fixed an obscure problem with is_deeply() and overloading ==
165 [rt.cpan.org 20768]. Thanks Sisyphus.
166
167 Test fixes
168 - Removed dependency on Text::Soundex [rt.cpan.org 25022]
169 - Fixed a 5.5.x failure in fail-more.t
170 * Got rid of the annoying sort_bug.t test that revealed problems with some
00881caa 171 threaded perls. It was testing the deprecated eq_* functions and not
172 worth the bother. Now it tests is_deeply(). [rt.cpan.org 17791]
4d845874 173
174 Doc fixes
175 - Minor POD mistake in Test::Builder [rt.cpan.org 28869]
176 * Test::FAQ has been updated with some more answers.
177
178 Install fixes
179 - Fixed the "LICENSE is not a known MakeMaker parameter name" warning
180 on older MakeMakers for real this time.
181
0753bcb5 1820.70 Thu Mar 15 15:53:05 PDT 2007
183 Bug Fixes
184 * The change to is_fh() in 0.68 broke the case where a reference to
185 a tied filehandle is used for perl 5.6 and back. This made the tests
186 puke their guts out.
187
1880.69 Wed Mar 14 06:43:35 PDT 2007
189 Test fixes
190 - Minor filename compatibility fix to t/fail-more.t [rt.cpan.org 25428]
191
c00d8759 1920.68 Tue Mar 13 17:27:26 PDT 2007
193 Bug fixes
194 * If your code has a $SIG{__DIE__} handler in some cases functions like
195 use_ok(), require_ok(), can_ok() and isa_ok() could trigger that
196 handler. [rt.cpan.org 23509]
197 - Minor improvement to TB's filehandle detection in the case of overridden
198 isa(). [rt.cpan.org 20890]
199 - Will now install as a core module in 5.6.2 which ships with Test::More.
200 [rt.cpan.org 25163]
201
202 New Features
203 - Test::Builder->is_fh() provides a way to determine if a thing
204 can be used as a filehandle.
205
206 Documentation improvements
207 - Improved the docs for $Test::Builder::Level showing the encouraged
208 use (increment, don't set)
209 - Documented the return value of Test::Builder's test methods
210 - Split out TB's method documentation to differenciate between test
211 methods (ok, is_eq...), methods useful in testing (skip, BAILOUT...)
212 and methods useful for building your own tests (maybe_regex...).
213
214 Test fixes
215 - We required too old a version of Test::Pod::Coverage. Need 1.08 and not
216 1.00. [rt.cpan.org 25351]
217
2180.67 Mon Jan 22 13:27:40 PST 2007
219 Test fixes
220 - t/pod_coverage.t would fail if Test::Pod::Coverage between 1.07 and
221 1.00 were installed as it depended on all_modules being exported.
222 [rt.cpan.org 24483]
223
2240.66 Sun Dec 3 15:25:45 PST 2006
225 - Restore 5.4.5 compatibility (unobe@cpan.org) [rt.cpan.org 20513]
226
f9e5c490 2270.65 Fri Nov 10 10:26:51 CST 2006
228
004caa16 2290.64_03 Sun Nov 5 13:09:55 EST 2006
230 - Tests will no longer warn when run against an alpha version of
231 Test::Harness [rt.cpan.org #20501]
232 - Now testing our POD and POD coverage.
233 - Added a LICENSE field.
234 - Removed warning from the docs about mixing numbered and unnumbered
235 tests. There's nothing wrong with that. [rt.cpan.org 21358]
236 - Change doc examples to talk about $got and $expected rather than
237 $this and $that to correspond better to the diagnostic output
238 [rt.cpan.org 2655]
239
b7f9bbeb 2400.64_02 Sat Sep 9 12:16:56 EDT 2006
241 - Last release broke Perls earlier than 5.8.
242
2430.64_01 Mon Sep 4 04:40:42 EDT 2006
244 - Small improvement to the docs to avoid user confusion over
245 "use Test::More tests => $num_tests" (Thanks Eric Wilhelm)
246 - Minor fix for a test failure in is_deeply_fail for some Windows
247 users. Not a real bug. [rt.cpan.org 21310]
248 - _print_diag() accidentally leaked into the public documentation.
249 It is a private method.
004caa16 250 * Added Test::Builder->carp() and croak()
b7f9bbeb 251 * Made most of the error messages report in the caller's context.
252 [rt.cpan.org #20639]
253 * Made the failure diagnostic message file and line reporting portion
254 match Perl's for easier integration with Perl aware editors.
255 (so its "at $file line $line_num." now)
256 [rt.cpan.org #20639]
257 * 5.8.0 threads are no longer supported. There's too many bugs.
258
1be77ff7 2590.64 Sun Jul 16 02:47:29 PDT 2006
260 * 0.63's change to test_fail() broke backwards compatibility. They
261 have been removed for the time being. test_pass() went with it.
262 This is [rt.cpan.org 11317] and [rt.cpan.org 11319].
263 - skip() will now warn if you get the args backwards.
264
68938d83 2650.63 Sun Jul 9 02:36:36 PDT 2006
266 * Fixed can_ok() to gracefully handle no class name.
267 Submitted by "Pete Krawczyk" <perl@bsod.net>
268 Implemented by "Richard Foley" <richard.foley@rfi.net>
269 [rt.cpan.org 15654]
270 * Added test_pass() to Test::Builder::Tester rather than having to
271 call test_out("ok 1 - foo"). <chromatic@wgz.org> [rt.cpan.org 11317]
272 * test_fail() now accepts a test diagnostic rather than having to
273 call test_out() separately. <chromatic@wgz.org> [rt.cpan.org 11319]
274 - Changed Test::Builder::Tester docs to show best practice using
275 test_fail() and test_pass().
276 - isnt_num() doc example wrongly showed is_num(). <chromatic@wgz.org>
277 - Fixed a minor typo in the BAIL_OUT() docs. <Jeff Deifik>
278 - Removed the LICENSE field from the Makefile.PL as the release of
279 MakeMaker with that feature has been delayed.
280
845d7e37 2810.62 Sat Oct 8 01:25:03 PDT 2005
68938d83 282 * Absorbed Test::Builder::Tester. The last release broke it because its
845d7e37 283 screen scraping Test::More and the failure output changed. By
284 distributing them together we ensure TBT won't break again.
285 * Test::Builder->BAILOUT() was missing.
286 - is_deeply() can now handle function and code refs in a very limited
287 way. It simply looks to see if they have the same referent.
288 [rt.cpan.org 14746]
289
b1ddf169 2900.61 Fri Sep 23 23:26:05 PDT 2005
291 - create.t was trying to read from a file before it had been closed
292 (and thus the changes may not have yet been written).
293 * is_deeply() would call stringification methods on non-object strings
294 which happened to be the name of a string overloaded class.
295 [rt.cpan.org 14675]
296
2970.60_02 Tue Aug 9 00:27:41 PDT 2005
298 * Added Test::Builder::Module.
299 - Changed Test::More and Test::Simple to use Test::Builder::Module
300 - Minor Win32 testing nit in fail-more.t
301 * Added no_diag() method to Test::Builder and changed Test::More's
302 no_diag internals to use that. [rt.cpan.org 8655]
303 * Deprecated no_diag() as an option to "use Test::More". Call the
304 Test::Builder method instead.
305
3060.60_01 Sun Jul 3 18:11:58 PDT 2005
307 - Moved the docs around a little to better group all the testing
308 functions together. [rt.cpan.org 8388]
309 * Added a BAIL_OUT() function to Test::More [rt.cpan.org 8381]
310 - Changed Test::Builder->BAILOUT to BAIL_OUT to match other method's
311 naming conventions. BAILOUT remains but is deprecated.
312 * Changed the standard failure diagnostics to include the test name.
313 [rt.cpan.org 12490]
314 - is_deeply() was broken for overloaded objects in the top level in
315 0.59_01. [rt.cpan.org 13506]
316 - String overloaded objects without an 'eq' or '==' method are now
317 handled in cmp_ok() and is().
318 - cmp_ok() will now treat overloaded objects as numbers if the comparison
319 operator is numeric. [rt.cpan.org 13156]
320 - cmp_ok(), like() and unlike will now throw uninit warnings if their
321 arguments are undefined. [rt.cpan.org 13155]
322 - cmp_ok() will now throw warnings as if the comparison were run
323 normally, for example cmp_ok(2, '==', 'foo') will warn about 'foo'
324 not being numeric. Previously all warnings in the comparison were
325 supressed. [rt.cpan.org 13155]
326 - Tests will now report *both* the number of tests failed and if the
327 wrong number of tests were run. Previously if tests failed and the
328 wrong number were run it would only report the latter.
329 [rt.cpan.org 13494]
330 - Missing or extra tests are not considered failures for the purposes
331 of calculating the exit code. Should there be no failures but the
332 wrong number of tests the exit code will be 254.
333 - Avoiding an unbalanced sort in eq_set() [bugs.perl.org 36354]
334 - Documenting that eq_set() doesn't deal well with refs.
335 - Clarified how is_deeply() compares a bit.
336 * Once again working on 5.4.5.
337
5143c659 3380.60 Tue May 3 14:20:34 PDT 2005
339
3400.59_01 Tue Apr 26 21:51:12 PDT 2005
341 * Test::Builder now has a create() method which allows you to create
342 a brand spanking new Test::Builder object.
343 * require_ok() was not working for single letter module names.
344 * is_deeply() and eq_* now work with circular scalar references
345 (Thanks Fergal)
346 * Use of eq_* now officially discouraged.
347 - Removed eq_* from the SYNOPSIS.
348 - is_deeply(undef, $not_undef); now works. [rt.cpan.org 9441]
349 - is_deeply() was mistakenly interpeting the same reference used twice
350 in a data structure as being circular causing failures.
351 [rt.cpan.org 11623]
352 - Loading Test::Builder but not using it would interfere with the
353 exit code if the code exited. [rt.cpan.org 12310]
354 - is_deeply() diagnostics now disambiguate between stringified references
355 and references. [rt.cpan.org 8865]
356 - Files opened by the output methods are now autoflushed.
357 - todo() now honors $Level when looking for $TODO.
358
0257f296 3590.54 Wed Dec 15 04:18:43 EST 2004
360 * $how_many is optional for skip() and todo_skip(). Thanks to
361 Devel::Cover for pointing this out.
362 - Removed a user defined function called err() in the tests to placate
363 users of older versions of the dor patch before err() was weakend.
364 [rt.cpan.org 8734]
365
3660.53_01 Sat Dec 11 19:02:18 EST 2004
367 - current_test() can now be set backward.
368 - *output() methods now handle tied handles and *FOO{IO} properly.
369 - maybe_regex() now handles undef gracefully.
370 - maybe_regex() now handles 'm,foo,' style regexes.
371 - sort_bug.t wasn't checking for threads properly. Would fail on
372 5.6 that had ithreads compiled in. [rt.cpan.org 8765]
373
7483b81c 3740.53 Mon Nov 29 04:43:24 EST 2004
375 - Apparently its possible to have Module::Signature installed without
376 it being functional. Fixed the signature test to account for this.
377 (not a real bug)
378
3790.52 Sun Nov 28 21:41:03 EST 2004
380 - plan() now better checks that the given plan is valid.
381 [rt.cpan.org 2597]
382
3830.51_02 Sat Nov 27 01:25:25 EST 2004
384 * is_deeply() and all the eq_* functions now handle circular data
385 structures. [rt.cpan.org 7289]
386 * require_ok() now handles filepaths in addition to modules.
387 - Clarifying Test::More's position on overloaded objects
388 - Fixed a bug introduced in 0.51_01 causing is_deeply() to pierce
389 overloaded objects.
390 - Mentioning rt.cpan.org for reporting bugs.
391
3920.51_01 Fri Nov 26 02:59:30 EST 2004
393 - plan() was accidentally exporting functions [rt.cpan.org 8385]
394 * diag @msgs would insert # between arguments. [rt.cpan.org 8392]
395 * eq_set() could cause problems under threads due to a weird sort bug
396 [rt.cpan.org 6782]
397 * undef no longer equals '' in is_deeply() [rt.cpan.org 6837]
398 * is_deeply() would sometimes compare references as strings.
399 [rt.cpan.org 7031]
400 - eq_array() and eq_hash() could hold onto references if they failed
401 keeping them in memory and preventing DESTROY. [rt.cpan.org 7032]
402 * is_deeply() could confuse [] with a non-existing value
403 [rt.cpan.org 7030]
404 - is_deeply() diagnostics a little off when scalar refs were inside
405 an array or hash ref [rt.cpan.org 7033]
406 - Thanks to Fergal Daly for ferretting out all these long standing
407 is_deeply and eq_* bugs.
408
4090.51 Tue Nov 23 04:51:12 EST 2004
410 - Fixed bug in fail_one.t on Windows (not a real bug).
411 - TODO reasons as overloaded objects now won't blow up under threads.
412 [Autrijus Tang]
413 - skip() in 0.50 tickled yet another bug in threads::shared. Hacked
414 around it.
415
30e302f8 4160.50 Sat Nov 20 00:28:44 EST 2004
7483b81c 417 - Fixed bug in fail-more test on Windows (not a real bug).
30e302f8 418 [rt.cpan.org 8022]
7483b81c 419 - Change from CVS to SVK. Hopefully this is the last time I move
420 version control systems.
30e302f8 421 - Again removing File::Spec dependency (came back in 0.48_02)
422 - Change from Aegis back to CVS
423
4240.49 Thu Oct 14 21:58:50 EDT 2004
425 - t/harness_active.t would fail for frivolous reasons with older
426 MakeMakers (test bug) [thanks Bill Moseley for noticing]
427
4280.48_02 Mon Jul 19 02:07:23 EDT 2004
429 * Overloaded objects as names now won't blow up under threads
430 [rt.cpan.org 4218 and 4232]
431 * Overloaded objects which stringify to undef used as test names
432 now won't cause internal uninit warnings. [rt.cpan.org 4232]
433 * Failure diagnostics now come out on their own line when run in
434 Test::Harness.
435 - eq_set() sometimes wasn't giving the right results if nested refs
436 were involved [rt.cpan.org 3747]
437 - isnt() giving wrong diagnostics and warning if given any undefs.
438 * Give unlike() the right prototype [rt.cpan.org 4944]
439 - Change from CVS to Aegis
440 - is_deeply() will now do some basic argument checks to guard against
441 accidentally passing in a whole array instead of its reference.
442 - Mentioning Test::Differences, Test::Deep and Bundle::Test.
443 - Removed dependency on File::Spec.
444 - Fixing the grammar of diagnostic outputs when only a single test
445 is run or failed (ie. "Looks like you failed 1 tests").
446 [Darren Chamberlain]
447
4480.48_01 Mon Nov 11 02:36:43 EST 2002
449 - Mention Test::Class in Test::More's SEE ALSO
450 * use_ok() now DWIM for version checks
451 - More problems with ithreads fixed.
452 * Test::Harness upgrade no longer optional. It was causing too
453 many problems when the T::H upgrade didn't work.
454 * Drew Taylor added a 'no_diag' option to Test::More to switch
455 off all diag() statements.
456 * Test::Builder/More no longer automatically loads threads.pm
457 when threads are enabled. The user must now do this manually.
458 * Alex Francis added reset() reset the state of Test::Builder in
459 persistent environments.
460 - David Hand noted that Test::Builder/More exit code behavior was
461 not documented. Only Test::Simple.
11ea77c5 462
60ffb308 4630.47 Mon Aug 26 03:54:22 PDT 2002
464 * Tatsuhiko Miyagawa noticed Test::Builder was accidentally storing
465 objects passed into test functions causing problems with tests
466 relying on object destruction.
467 - Added example of calculating the number of tests to Test::Tutorial
468 - Peter Scott made the ending logic not fire on child processes when
469 forking.
470 * Test::Builder is once again ithread safe.
471
4720.46 Sat Jul 20 19:57:40 EDT 2002
473 - Noted eq_set() isn't really a set comparision.
474 - Test fix, exit codes are broken on MacPerl (bleadperl@16868)
475 - Make Test::Simple install itself into the core for >= 5.8
476 - Small fixes to Test::Tutorial and skip examples
477 * Added TB->has_plan() from Adrian Howard
478 - Clarified the meaning of 'actual_ok' from TB->details
479 * Added TB->details() from chromatic
480 - Neil Watkiss fixed a pre-5.8 test glitch with threads.t
481 * If the test died before a plan, it would exit with 0 [ID 20020716.013]
482
a344be10 4830.45 Wed Jun 19 18:41:12 EDT 2002
484 - Andy Lester made the SKIP & TODO docs a bit clearer.
485 - Explicitly disallowing double plans. (RT #553)
486 - Kicking up the minimum version of Test::Harness to one that's
487 fairly bug free.
488 - Made clear a common problem with use_ok and BEGIN blocks.
489 - Arthur Bergman made Test::Builder thread-safe.
490
89c1e84a 4910.44 Thu Apr 25 00:27:27 EDT 2002
492 - names containing newlines no longer produce confusing output
493 (from chromatic)
494 - chromatic provided a fix so can_ok() honors can() overrides.
495 - Nick Ing-Simmons suggested todo_skip() be a bit clearer about
496 the skipping part.
497 - Making plan() vomit if it gets something it doesn't understand.
498 - Tatsuhiko Miyagawa fixed use_ok() with pragmata on older perls.
499 - quieting diag(undef)
500
5010.43 Thu Apr 11 22:55:23 EDT 2002
502 - Adrian Howard added TB->maybe_regex()
503 - Adding Mark Fowler's suggestion to make diag() return
504 false.
505 - TB->current_test() still not working when no tests were run via
506 TB itself. Fixed by Dave Rolsky.
507
6686786d 5080.42 Wed Mar 6 15:00:24 EST 2002
509 - Setting Test::Builder->current_test() now works (see what happens
510 when you forget to test things?)
511 - The change in is()'s undef/'' handling in 0.34 was an API change,
512 but I forgot to declare it as such.
513 - The apostrophilic jihad attacks! Philip Newtons patch for
514 grammar mistakes in the doc's.
515
a9153838 5160.41 Mon Dec 17 22:45:20 EST 2001
517 * chromatic added diag()
518 - Internal eval()'s sometimes interfering with $@ and $!. Fixed.
519
5200.40 Fri Dec 14 15:41:39 EST 2001
521 * isa_ok() now accepts unblessed references gracefully
522 - Nick Clark found a bug with like() and a regex with % in it.
523 - exit.t was hanging on 5.005_03 VMS perl. Test now skipped.
524 - can_ok() would pass if no methods were given. Now fails.
525 - isnt() diagnostic output format changed
526 * Added some docs about embedding and extending Test::More
527 * Added Test::More->builder
528 * Added cmp_ok()
529 * Added todo_skip()
530 * Added unlike()
531 - Piers pointed out that sometimes people override isa().
532 isa_ok() now accounts for that.
533
5340.36 Thu Nov 29 14:07:39 EST 2001
535 - Matthias Urlichs found that intermixed prints to STDOUT and test
536 output came out in the wrong order when piped.
537
5380.35 Tue Nov 27 19:57:03 EST 2001
539 - Little glitch in the test suite. No actual bug.
540
5410.34 Tue Nov 27 15:43:56 EST 2001
6686786d 542 * **API CHANGE** Empty string no longer matches undef in is()
543 and isnt().
a9153838 544 * Added isnt_eq and isnt_num to Test::Builder.
545
4bd4e70a 5460.33 Mon Oct 22 21:05:47 EDT 2001
547 * It's now officially safe to redirect STDOUT and STDERR without
548 affecting test output.
549 - License and POD cleanup by Autrijus Tang
550 - Synched up Test::Tutorial with the wiki version
551 - Minor VMS test nit.
552
33459055 5530.32 Tue Oct 16 16:52:02 EDT 2001
554 * Finally added a seperate plan() function
555 * Adding a name field to isa_ok()
556 (Requested by Dave Rolsky)
557 - Test::More was using Carp.pm, causing the occasional false positive.
558 (Reported by Tatsuhiko Miyagawa)
559
5600.31 Mon Oct 8 19:24:53 EDT 2001
561 * Added an import option to Test::More
562 * Added no_ending and no_header options to Test::Builder
563 (Thanks to Dave Rolsky for giving this a swift kick in the ass)
564 * Added is_deeply(). Display of scalar refs not quite 100%
565 (Thanks to Stas Bekman for Apache::TestUtil idea thievery)
566 - Fixed a minor warning with skip()
567 (Thanks to Wolfgang Weisselberg for finding this one)
568
5690.30 Thu Sep 27 22:10:04 EDT 2001
570 * Added Test::Builder
4bd4e70a 571 (Thanks muchly to chromatic for getting this off the ground!)
33459055 572 * Diagnostics are back to using STDERR *unless* it's from a todo
573 test. Those go to STDOUT.
574 - Fixed it so nothing is printed if a test is run with a -c flag.
575 Handy when a test is being deparsed with B::Deparse.
576
5770.20 *UNRELEASED*
578
0cd946aa 5790.19 Tue Sep 18 17:48:32 EDT 2001
580 * Test::Simple and Test::More no longer print their diagnostics
581 to STDERR. It instead goes to STDOUT.
582 * TODO tests which fail now print full failure diagnostics.
583 - Minor bug in ok()'s test name diagnostics made it think a blank
584 name was a number.
585 - ok() less draconian about test names
586 - Added temporary special case for Parrot::Test
587 - Now requiring File::Spec for our tests.
588
d020a79a 5890.18 Wed Sep 5 20:35:24 EDT 2001
590 * ***API CHANGE*** can_ok() only counts as one test
591 - can_ok() has better diagnostics
592 - Minor POD fixes from mjd
593 - adjusting the internal layout to make it easier to put it into
594 the core
595
5960.17 Wed Aug 29 20:16:28 EDT 2001
597 * Added can_ok() and isa_ok() to Test::More
598
5990.16 Tue Aug 28 19:52:11 EDT 2001
600 * vmsperl foiled my sensisble exit codes. Reverting to a much more
601 coarse scheme.
602
6030.15 Tue Aug 28 06:18:35 EDT 2001 *UNRELEASED*
604 * Now using sensible exit codes on VMS.
605
6060.14 Wed Aug 22 17:26:28 EDT 2001
607 * Added a first cut at Test::Tutorial
608
6090.13 Tue Aug 14 15:30:10 EDT 2001
610 * Added a reason to the skip_all interface
611 - Fixed a bug to allow 'use Test::More;' to work.
612 (Thanks to Tatsuhiko Miyagawa again)
613 - Now always testing backwards compatibility.
614
6150.12 Tue Aug 14 11:02:39 EDT 2001
616 * Fixed some compatibility bugs with older Perls
617 (Thanks to Tatsuhiko Miyagawa)
618
6190.11 Sat Aug 11 23:05:19 EDT 2001
620 * Will no longer warn about testing undef values
621 - Escaping # in test names
622 - Ensuring that ok() returns true or false and not undef
623 - Minor doc typo in the example
624
6250.10 Tue Jul 31 15:01:11 EDT 2001
626 * Test::More is now distributed in this tarball.
627 * skip and todo tests work!
628 * Extended use_ok() so it can import
629 - A little internal rejiggering
630 - Added a TODO file
631
11ea77c5 6320.09 Wed Jun 27 02:55:54 EDT 2001
633 - VMS fixes
634
6350.08 Fri Jun 15 14:39:50 EDT 2001
636 - Guarding against $/ and -l
637 - Reformatted the way failed tests are reported to make them stand out
638 a bit better.
639
6400.07 Tue Jun 12 15:55:54 BST 2001
641 - 'use Test::Simple' by itself no longer causes death
642 - Yet more fixes for death in eval
643 - Limiting max failures reported via exit code to 254.
644
6450.06 Wed May 9 23:38:17 BST 2001
646 - Whoops, left a private method in the public docs.
647
6480.05 Wed May 9 20:40:35 BST 2001
649 - Forgot to include the exit tests.
650 - Trouble with exiting properly under 5.005_03 and 5.6.1 fixed
651 - Turned off buffering
652 * 5.004 new minimum version
653 - Now explicitly tested with 5.6.1, 5.6.0, 5.005_03 and 5.004
654
6550.04 Mon Apr 2 11:05:01 BST 2001
656 - Fixed "require Test::Simple" so it doesn't bitch and exit 255
657 - Now installable with the CPAN shell.
658
6590.03 Fri Mar 30 08:08:33 BST 2001
660 - ok() now prints on what line and file it failed.
661 - eval 'die' was considered abnormal. Fixed.
662
6630.02 Fri Mar 30 05:12:14 BST 2001 *UNRELEASED*
664 - exit codes tested
665 * exit code on abnormal exit changed to 255 (thanks to Tim Bunce for
666 pointing out that Unix can't do negative exit codes)
667 - abnormal exits now better caught.
668 - No longer using Test.pm to test this, but still minimum of 5.005
669 due to needing $^S.
670
6710.01 Wed Mar 28 06:44:44 BST 2001
672 - First working version released to CPAN
673