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