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