Change reentr.pl to generate reentr.h accordingly to change 29209
[p5sagit/p5-mst-13.2.git] / lib / Test / Simple / Changes
CommitLineData
b7f9bbeb 10.64_02 Sat Sep 9 12:16:56 EDT 2006
2 - Last release broke Perls earlier than 5.8.
3
40.64_01 Mon Sep 4 04:40:42 EDT 2006
5 - Small improvement to the docs to avoid user confusion over
6 "use Test::More tests => $num_tests" (Thanks Eric Wilhelm)
7 - Minor fix for a test failure in is_deeply_fail for some Windows
8 users. Not a real bug. [rt.cpan.org 21310]
9 - _print_diag() accidentally leaked into the public documentation.
10 It is a private method.
11 * Made most of the error messages report in the caller's context.
12 [rt.cpan.org #20639]
13 * Made the failure diagnostic message file and line reporting portion
14 match Perl's for easier integration with Perl aware editors.
15 (so its "at $file line $line_num." now)
16 [rt.cpan.org #20639]
17 * 5.8.0 threads are no longer supported. There's too many bugs.
18
1be77ff7 190.64 Sun Jul 16 02:47:29 PDT 2006
20 * 0.63's change to test_fail() broke backwards compatibility. They
21 have been removed for the time being. test_pass() went with it.
22 This is [rt.cpan.org 11317] and [rt.cpan.org 11319].
23 - skip() will now warn if you get the args backwards.
24
68938d83 250.63 Sun Jul 9 02:36:36 PDT 2006
26 * Fixed can_ok() to gracefully handle no class name.
27 Submitted by "Pete Krawczyk" <perl@bsod.net>
28 Implemented by "Richard Foley" <richard.foley@rfi.net>
29 [rt.cpan.org 15654]
30 * Added test_pass() to Test::Builder::Tester rather than having to
31 call test_out("ok 1 - foo"). <chromatic@wgz.org> [rt.cpan.org 11317]
32 * test_fail() now accepts a test diagnostic rather than having to
33 call test_out() separately. <chromatic@wgz.org> [rt.cpan.org 11319]
34 - Changed Test::Builder::Tester docs to show best practice using
35 test_fail() and test_pass().
36 - isnt_num() doc example wrongly showed is_num(). <chromatic@wgz.org>
37 - Fixed a minor typo in the BAIL_OUT() docs. <Jeff Deifik>
38 - Removed the LICENSE field from the Makefile.PL as the release of
39 MakeMaker with that feature has been delayed.
40
845d7e37 410.62 Sat Oct 8 01:25:03 PDT 2005
68938d83 42 * Absorbed Test::Builder::Tester. The last release broke it because its
845d7e37 43 screen scraping Test::More and the failure output changed. By
44 distributing them together we ensure TBT won't break again.
45 * Test::Builder->BAILOUT() was missing.
46 - is_deeply() can now handle function and code refs in a very limited
47 way. It simply looks to see if they have the same referent.
48 [rt.cpan.org 14746]
49
b1ddf169 500.61 Fri Sep 23 23:26:05 PDT 2005
51 - create.t was trying to read from a file before it had been closed
52 (and thus the changes may not have yet been written).
53 * is_deeply() would call stringification methods on non-object strings
54 which happened to be the name of a string overloaded class.
55 [rt.cpan.org 14675]
56
570.60_02 Tue Aug 9 00:27:41 PDT 2005
58 * Added Test::Builder::Module.
59 - Changed Test::More and Test::Simple to use Test::Builder::Module
60 - Minor Win32 testing nit in fail-more.t
61 * Added no_diag() method to Test::Builder and changed Test::More's
62 no_diag internals to use that. [rt.cpan.org 8655]
63 * Deprecated no_diag() as an option to "use Test::More". Call the
64 Test::Builder method instead.
65
660.60_01 Sun Jul 3 18:11:58 PDT 2005
67 - Moved the docs around a little to better group all the testing
68 functions together. [rt.cpan.org 8388]
69 * Added a BAIL_OUT() function to Test::More [rt.cpan.org 8381]
70 - Changed Test::Builder->BAILOUT to BAIL_OUT to match other method's
71 naming conventions. BAILOUT remains but is deprecated.
72 * Changed the standard failure diagnostics to include the test name.
73 [rt.cpan.org 12490]
74 - is_deeply() was broken for overloaded objects in the top level in
75 0.59_01. [rt.cpan.org 13506]
76 - String overloaded objects without an 'eq' or '==' method are now
77 handled in cmp_ok() and is().
78 - cmp_ok() will now treat overloaded objects as numbers if the comparison
79 operator is numeric. [rt.cpan.org 13156]
80 - cmp_ok(), like() and unlike will now throw uninit warnings if their
81 arguments are undefined. [rt.cpan.org 13155]
82 - cmp_ok() will now throw warnings as if the comparison were run
83 normally, for example cmp_ok(2, '==', 'foo') will warn about 'foo'
84 not being numeric. Previously all warnings in the comparison were
85 supressed. [rt.cpan.org 13155]
86 - Tests will now report *both* the number of tests failed and if the
87 wrong number of tests were run. Previously if tests failed and the
88 wrong number were run it would only report the latter.
89 [rt.cpan.org 13494]
90 - Missing or extra tests are not considered failures for the purposes
91 of calculating the exit code. Should there be no failures but the
92 wrong number of tests the exit code will be 254.
93 - Avoiding an unbalanced sort in eq_set() [bugs.perl.org 36354]
94 - Documenting that eq_set() doesn't deal well with refs.
95 - Clarified how is_deeply() compares a bit.
96 * Once again working on 5.4.5.
97
5143c659 980.60 Tue May 3 14:20:34 PDT 2005
99
1000.59_01 Tue Apr 26 21:51:12 PDT 2005
101 * Test::Builder now has a create() method which allows you to create
102 a brand spanking new Test::Builder object.
103 * require_ok() was not working for single letter module names.
104 * is_deeply() and eq_* now work with circular scalar references
105 (Thanks Fergal)
106 * Use of eq_* now officially discouraged.
107 - Removed eq_* from the SYNOPSIS.
108 - is_deeply(undef, $not_undef); now works. [rt.cpan.org 9441]
109 - is_deeply() was mistakenly interpeting the same reference used twice
110 in a data structure as being circular causing failures.
111 [rt.cpan.org 11623]
112 - Loading Test::Builder but not using it would interfere with the
113 exit code if the code exited. [rt.cpan.org 12310]
114 - is_deeply() diagnostics now disambiguate between stringified references
115 and references. [rt.cpan.org 8865]
116 - Files opened by the output methods are now autoflushed.
117 - todo() now honors $Level when looking for $TODO.
118
0257f296 1190.54 Wed Dec 15 04:18:43 EST 2004
120 * $how_many is optional for skip() and todo_skip(). Thanks to
121 Devel::Cover for pointing this out.
122 - Removed a user defined function called err() in the tests to placate
123 users of older versions of the dor patch before err() was weakend.
124 [rt.cpan.org 8734]
125
1260.53_01 Sat Dec 11 19:02:18 EST 2004
127 - current_test() can now be set backward.
128 - *output() methods now handle tied handles and *FOO{IO} properly.
129 - maybe_regex() now handles undef gracefully.
130 - maybe_regex() now handles 'm,foo,' style regexes.
131 - sort_bug.t wasn't checking for threads properly. Would fail on
132 5.6 that had ithreads compiled in. [rt.cpan.org 8765]
133
7483b81c 1340.53 Mon Nov 29 04:43:24 EST 2004
135 - Apparently its possible to have Module::Signature installed without
136 it being functional. Fixed the signature test to account for this.
137 (not a real bug)
138
1390.52 Sun Nov 28 21:41:03 EST 2004
140 - plan() now better checks that the given plan is valid.
141 [rt.cpan.org 2597]
142
1430.51_02 Sat Nov 27 01:25:25 EST 2004
144 * is_deeply() and all the eq_* functions now handle circular data
145 structures. [rt.cpan.org 7289]
146 * require_ok() now handles filepaths in addition to modules.
147 - Clarifying Test::More's position on overloaded objects
148 - Fixed a bug introduced in 0.51_01 causing is_deeply() to pierce
149 overloaded objects.
150 - Mentioning rt.cpan.org for reporting bugs.
151
1520.51_01 Fri Nov 26 02:59:30 EST 2004
153 - plan() was accidentally exporting functions [rt.cpan.org 8385]
154 * diag @msgs would insert # between arguments. [rt.cpan.org 8392]
155 * eq_set() could cause problems under threads due to a weird sort bug
156 [rt.cpan.org 6782]
157 * undef no longer equals '' in is_deeply() [rt.cpan.org 6837]
158 * is_deeply() would sometimes compare references as strings.
159 [rt.cpan.org 7031]
160 - eq_array() and eq_hash() could hold onto references if they failed
161 keeping them in memory and preventing DESTROY. [rt.cpan.org 7032]
162 * is_deeply() could confuse [] with a non-existing value
163 [rt.cpan.org 7030]
164 - is_deeply() diagnostics a little off when scalar refs were inside
165 an array or hash ref [rt.cpan.org 7033]
166 - Thanks to Fergal Daly for ferretting out all these long standing
167 is_deeply and eq_* bugs.
168
1690.51 Tue Nov 23 04:51:12 EST 2004
170 - Fixed bug in fail_one.t on Windows (not a real bug).
171 - TODO reasons as overloaded objects now won't blow up under threads.
172 [Autrijus Tang]
173 - skip() in 0.50 tickled yet another bug in threads::shared. Hacked
174 around it.
175
30e302f8 1760.50 Sat Nov 20 00:28:44 EST 2004
7483b81c 177 - Fixed bug in fail-more test on Windows (not a real bug).
30e302f8 178 [rt.cpan.org 8022]
7483b81c 179 - Change from CVS to SVK. Hopefully this is the last time I move
180 version control systems.
30e302f8 181 - Again removing File::Spec dependency (came back in 0.48_02)
182 - Change from Aegis back to CVS
183
1840.49 Thu Oct 14 21:58:50 EDT 2004
185 - t/harness_active.t would fail for frivolous reasons with older
186 MakeMakers (test bug) [thanks Bill Moseley for noticing]
187
1880.48_02 Mon Jul 19 02:07:23 EDT 2004
189 * Overloaded objects as names now won't blow up under threads
190 [rt.cpan.org 4218 and 4232]
191 * Overloaded objects which stringify to undef used as test names
192 now won't cause internal uninit warnings. [rt.cpan.org 4232]
193 * Failure diagnostics now come out on their own line when run in
194 Test::Harness.
195 - eq_set() sometimes wasn't giving the right results if nested refs
196 were involved [rt.cpan.org 3747]
197 - isnt() giving wrong diagnostics and warning if given any undefs.
198 * Give unlike() the right prototype [rt.cpan.org 4944]
199 - Change from CVS to Aegis
200 - is_deeply() will now do some basic argument checks to guard against
201 accidentally passing in a whole array instead of its reference.
202 - Mentioning Test::Differences, Test::Deep and Bundle::Test.
203 - Removed dependency on File::Spec.
204 - Fixing the grammar of diagnostic outputs when only a single test
205 is run or failed (ie. "Looks like you failed 1 tests").
206 [Darren Chamberlain]
207
2080.48_01 Mon Nov 11 02:36:43 EST 2002
209 - Mention Test::Class in Test::More's SEE ALSO
210 * use_ok() now DWIM for version checks
211 - More problems with ithreads fixed.
212 * Test::Harness upgrade no longer optional. It was causing too
213 many problems when the T::H upgrade didn't work.
214 * Drew Taylor added a 'no_diag' option to Test::More to switch
215 off all diag() statements.
216 * Test::Builder/More no longer automatically loads threads.pm
217 when threads are enabled. The user must now do this manually.
218 * Alex Francis added reset() reset the state of Test::Builder in
219 persistent environments.
220 - David Hand noted that Test::Builder/More exit code behavior was
221 not documented. Only Test::Simple.
11ea77c5 222
60ffb308 2230.47 Mon Aug 26 03:54:22 PDT 2002
224 * Tatsuhiko Miyagawa noticed Test::Builder was accidentally storing
225 objects passed into test functions causing problems with tests
226 relying on object destruction.
227 - Added example of calculating the number of tests to Test::Tutorial
228 - Peter Scott made the ending logic not fire on child processes when
229 forking.
230 * Test::Builder is once again ithread safe.
231
2320.46 Sat Jul 20 19:57:40 EDT 2002
233 - Noted eq_set() isn't really a set comparision.
234 - Test fix, exit codes are broken on MacPerl (bleadperl@16868)
235 - Make Test::Simple install itself into the core for >= 5.8
236 - Small fixes to Test::Tutorial and skip examples
237 * Added TB->has_plan() from Adrian Howard
238 - Clarified the meaning of 'actual_ok' from TB->details
239 * Added TB->details() from chromatic
240 - Neil Watkiss fixed a pre-5.8 test glitch with threads.t
241 * If the test died before a plan, it would exit with 0 [ID 20020716.013]
242
a344be10 2430.45 Wed Jun 19 18:41:12 EDT 2002
244 - Andy Lester made the SKIP & TODO docs a bit clearer.
245 - Explicitly disallowing double plans. (RT #553)
246 - Kicking up the minimum version of Test::Harness to one that's
247 fairly bug free.
248 - Made clear a common problem with use_ok and BEGIN blocks.
249 - Arthur Bergman made Test::Builder thread-safe.
250
89c1e84a 2510.44 Thu Apr 25 00:27:27 EDT 2002
252 - names containing newlines no longer produce confusing output
253 (from chromatic)
254 - chromatic provided a fix so can_ok() honors can() overrides.
255 - Nick Ing-Simmons suggested todo_skip() be a bit clearer about
256 the skipping part.
257 - Making plan() vomit if it gets something it doesn't understand.
258 - Tatsuhiko Miyagawa fixed use_ok() with pragmata on older perls.
259 - quieting diag(undef)
260
2610.43 Thu Apr 11 22:55:23 EDT 2002
262 - Adrian Howard added TB->maybe_regex()
263 - Adding Mark Fowler's suggestion to make diag() return
264 false.
265 - TB->current_test() still not working when no tests were run via
266 TB itself. Fixed by Dave Rolsky.
267
6686786d 2680.42 Wed Mar 6 15:00:24 EST 2002
269 - Setting Test::Builder->current_test() now works (see what happens
270 when you forget to test things?)
271 - The change in is()'s undef/'' handling in 0.34 was an API change,
272 but I forgot to declare it as such.
273 - The apostrophilic jihad attacks! Philip Newtons patch for
274 grammar mistakes in the doc's.
275
a9153838 2760.41 Mon Dec 17 22:45:20 EST 2001
277 * chromatic added diag()
278 - Internal eval()'s sometimes interfering with $@ and $!. Fixed.
279
2800.40 Fri Dec 14 15:41:39 EST 2001
281 * isa_ok() now accepts unblessed references gracefully
282 - Nick Clark found a bug with like() and a regex with % in it.
283 - exit.t was hanging on 5.005_03 VMS perl. Test now skipped.
284 - can_ok() would pass if no methods were given. Now fails.
285 - isnt() diagnostic output format changed
286 * Added some docs about embedding and extending Test::More
287 * Added Test::More->builder
288 * Added cmp_ok()
289 * Added todo_skip()
290 * Added unlike()
291 - Piers pointed out that sometimes people override isa().
292 isa_ok() now accounts for that.
293
2940.36 Thu Nov 29 14:07:39 EST 2001
295 - Matthias Urlichs found that intermixed prints to STDOUT and test
296 output came out in the wrong order when piped.
297
2980.35 Tue Nov 27 19:57:03 EST 2001
299 - Little glitch in the test suite. No actual bug.
300
3010.34 Tue Nov 27 15:43:56 EST 2001
6686786d 302 * **API CHANGE** Empty string no longer matches undef in is()
303 and isnt().
a9153838 304 * Added isnt_eq and isnt_num to Test::Builder.
305
4bd4e70a 3060.33 Mon Oct 22 21:05:47 EDT 2001
307 * It's now officially safe to redirect STDOUT and STDERR without
308 affecting test output.
309 - License and POD cleanup by Autrijus Tang
310 - Synched up Test::Tutorial with the wiki version
311 - Minor VMS test nit.
312
33459055 3130.32 Tue Oct 16 16:52:02 EDT 2001
314 * Finally added a seperate plan() function
315 * Adding a name field to isa_ok()
316 (Requested by Dave Rolsky)
317 - Test::More was using Carp.pm, causing the occasional false positive.
318 (Reported by Tatsuhiko Miyagawa)
319
3200.31 Mon Oct 8 19:24:53 EDT 2001
321 * Added an import option to Test::More
322 * Added no_ending and no_header options to Test::Builder
323 (Thanks to Dave Rolsky for giving this a swift kick in the ass)
324 * Added is_deeply(). Display of scalar refs not quite 100%
325 (Thanks to Stas Bekman for Apache::TestUtil idea thievery)
326 - Fixed a minor warning with skip()
327 (Thanks to Wolfgang Weisselberg for finding this one)
328
3290.30 Thu Sep 27 22:10:04 EDT 2001
330 * Added Test::Builder
4bd4e70a 331 (Thanks muchly to chromatic for getting this off the ground!)
33459055 332 * Diagnostics are back to using STDERR *unless* it's from a todo
333 test. Those go to STDOUT.
334 - Fixed it so nothing is printed if a test is run with a -c flag.
335 Handy when a test is being deparsed with B::Deparse.
336
3370.20 *UNRELEASED*
338
0cd946aa 3390.19 Tue Sep 18 17:48:32 EDT 2001
340 * Test::Simple and Test::More no longer print their diagnostics
341 to STDERR. It instead goes to STDOUT.
342 * TODO tests which fail now print full failure diagnostics.
343 - Minor bug in ok()'s test name diagnostics made it think a blank
344 name was a number.
345 - ok() less draconian about test names
346 - Added temporary special case for Parrot::Test
347 - Now requiring File::Spec for our tests.
348
d020a79a 3490.18 Wed Sep 5 20:35:24 EDT 2001
350 * ***API CHANGE*** can_ok() only counts as one test
351 - can_ok() has better diagnostics
352 - Minor POD fixes from mjd
353 - adjusting the internal layout to make it easier to put it into
354 the core
355
3560.17 Wed Aug 29 20:16:28 EDT 2001
357 * Added can_ok() and isa_ok() to Test::More
358
3590.16 Tue Aug 28 19:52:11 EDT 2001
360 * vmsperl foiled my sensisble exit codes. Reverting to a much more
361 coarse scheme.
362
3630.15 Tue Aug 28 06:18:35 EDT 2001 *UNRELEASED*
364 * Now using sensible exit codes on VMS.
365
3660.14 Wed Aug 22 17:26:28 EDT 2001
367 * Added a first cut at Test::Tutorial
368
3690.13 Tue Aug 14 15:30:10 EDT 2001
370 * Added a reason to the skip_all interface
371 - Fixed a bug to allow 'use Test::More;' to work.
372 (Thanks to Tatsuhiko Miyagawa again)
373 - Now always testing backwards compatibility.
374
3750.12 Tue Aug 14 11:02:39 EDT 2001
376 * Fixed some compatibility bugs with older Perls
377 (Thanks to Tatsuhiko Miyagawa)
378
3790.11 Sat Aug 11 23:05:19 EDT 2001
380 * Will no longer warn about testing undef values
381 - Escaping # in test names
382 - Ensuring that ok() returns true or false and not undef
383 - Minor doc typo in the example
384
3850.10 Tue Jul 31 15:01:11 EDT 2001
386 * Test::More is now distributed in this tarball.
387 * skip and todo tests work!
388 * Extended use_ok() so it can import
389 - A little internal rejiggering
390 - Added a TODO file
391
11ea77c5 3920.09 Wed Jun 27 02:55:54 EDT 2001
393 - VMS fixes
394
3950.08 Fri Jun 15 14:39:50 EDT 2001
396 - Guarding against $/ and -l
397 - Reformatted the way failed tests are reported to make them stand out
398 a bit better.
399
4000.07 Tue Jun 12 15:55:54 BST 2001
401 - 'use Test::Simple' by itself no longer causes death
402 - Yet more fixes for death in eval
403 - Limiting max failures reported via exit code to 254.
404
4050.06 Wed May 9 23:38:17 BST 2001
406 - Whoops, left a private method in the public docs.
407
4080.05 Wed May 9 20:40:35 BST 2001
409 - Forgot to include the exit tests.
410 - Trouble with exiting properly under 5.005_03 and 5.6.1 fixed
411 - Turned off buffering
412 * 5.004 new minimum version
413 - Now explicitly tested with 5.6.1, 5.6.0, 5.005_03 and 5.004
414
4150.04 Mon Apr 2 11:05:01 BST 2001
416 - Fixed "require Test::Simple" so it doesn't bitch and exit 255
417 - Now installable with the CPAN shell.
418
4190.03 Fri Mar 30 08:08:33 BST 2001
420 - ok() now prints on what line and file it failed.
421 - eval 'die' was considered abnormal. Fixed.
422
4230.02 Fri Mar 30 05:12:14 BST 2001 *UNRELEASED*
424 - exit codes tested
425 * exit code on abnormal exit changed to 255 (thanks to Tim Bunce for
426 pointing out that Unix can't do negative exit codes)
427 - abnormal exits now better caught.
428 - No longer using Test.pm to test this, but still minimum of 5.005
429 due to needing $^S.
430
4310.01 Wed Mar 28 06:44:44 BST 2001
432 - First working version released to CPAN
433