Commit | Line | Data |
2fe373ce |
1 | Revision history for Perl extension Test::Harness |
2 | |
5b1ebecd |
3 | NEXT |
4 | [FIXES] |
5 | * prove's --perl=/path/to/file wasn't taking a value. |
6 | * prove's version number was not getting incremented. From now on, |
7 | prove's $VERSION will match Test::Harness's $VERSION, and I added |
8 | a test to make sure this is the case. |
9 | |
10 | [ENHANCEMENTS] |
11 | * Added test straps overload via HARNESS_STRAP_OVERLOAD environment |
12 | variable. prove now takes a --strap=class parameter. Thanks, |
13 | Adam Kennedy. |
14 | |
15 | 2.63_01 Fri Jun 30 16:59:50 CDT 2006 |
16 | [ENHANCEMENTS] |
17 | * Failed tests used to say "NOK x", and now say "NOK x/y". |
18 | Thanks to Will Coleda. |
19 | |
20 | * Added the Test::Harness::Results object, so we have a well-defined |
21 | object, and not just a hash that we pass around. Thanks to YAPC::NA |
22 | 2006 Hackathon! |
23 | |
d1ef75db |
24 | 2.62 Thu Jun 8 14:11:57 CDT 2006 |
25 | [FIXES] |
26 | * Restored the behavior of dying if any subtests failed. This is a |
27 | pretty crucial bug that I should have fixed long ago. Not having this |
28 | means that CPANPLUS will install modules even if their tests fail. :-( |
29 | |
d820f324 |
30 | 2.60 Wed May 24 14:48:44 CDT 2006 |
31 | [FIXES] |
32 | * Fixed the headers in the summary failure table. |
33 | |
34 | 2.58 Sat May 13 22:53:53 CDT 2006 |
35 | No changes. Released to the world with a non-beta number. |
36 | |
ea5423ed |
37 | 2.57_06 Sun Apr 23 00:55:43 CDT 2006 |
38 | [THINGS THAT MIGHT BREAK YOUR CODE] |
39 | * Anything that displays a percentage of tests passed has been |
40 | removed. Output at the end of failing runs is now different. |
41 | |
42 | [FIXES] |
43 | * Fixed the TODO-passing patch from 2.57_05. |
44 | |
45 | [ENHANCEMENTS] |
46 | * The unnecessary display of percentages of tests passing and failing |
47 | have been removed. Tests are not a percentage game. |
48 | |
49 | * Caches the results of _default_inc(), which is expensive because |
50 | of shelling out to get the pathnames. Benchmarking was showing that |
51 | 15% of Test::Harness's time was spent in this function. For test |
52 | suites with many test files, this can be significant. With this |
53 | speedup, the "make test" for the Perl core speeds up 2.5%. |
54 | Thanks to Nicholas Clark for finding this. |
55 | |
56 | [DOCUMENTATION] |
57 | * Fixed HARNESS_PERL_SWITCHES typo. Thanks, Andreas Koenig. |
58 | |
59 | * Added docs on HARNESS_TIMER and --timer. Thanks, Mike O'Regan. |
60 | |
20f9f807 |
61 | 2.57_05 Wed Apr 19 00:31:10 CDT 2006 |
62 | [ENHANCEMENTS] |
63 | * Now shows details of the tests that unexpectedly pass, instead of |
64 | just giving a number. Thanks, demerphq! |
65 | |
66 | [INTERNALS] |
67 | * Fixed globbing to work under Perls before 5.6.0. Before Perl 5.6.0, |
68 | prove just uses the internal glob() function. |
69 | |
70 | 2.57_04 Mon Apr 17 13:35:10 CDT 2006 |
71 | [ENHANCEMENTS] |
72 | * prove's globbing is now done with File::Glob::bsd_glob(). |
73 | Otherwise, "prove c:\program files\svk\t\*" fails because glob() |
74 | considers it to be two patterns, splitting on whitespace. Thanks to |
75 | Audrey Tang. |
76 | |
77 | [DOCUMENTATION] |
78 | * Added information about other TAP implementations in other languages. |
79 | |
80 | 2.57_03 Dec 31 2005 |
81 | |
82 | [THINGS THAT MAY BREAK YOUR CODE] |
83 | * Internal functions _run_all_tests() and _show_results() no longer |
84 | exist. You shouldn't have been using them anyway since they're |
85 | prepended with underscores. |
86 | |
87 | [INTERNALS] |
88 | * Added the ability to send test output to a filehandle of |
89 | one's choosing. Two internal functions are now exposed: |
90 | execute_tests() and get_results() (formerly _run_all_tests() and |
91 | _show_results()). This should allow CPANPLUS to work properly |
92 | with Module::Build. Thanks to Ken Williams. |
93 | |
94 | [DOCUMENTATION] |
95 | * Hid the documentation for the private methods in Test::Harness::Straps. |
96 | |
97 | 2.57_02 Fri Dec 30 23:51:17 CST 2005 |
98 | [THINGS THAT MAY BREAK YOUR CODE] |
99 | * prove's --ext option has been removed. I'm betting that nobody used it. |
100 | |
101 | [ENHANCEMENTS] |
102 | * prove can now take -w and -W switches, analogous to those in perl. |
103 | This means that "prove -wlb t/*.t" is exactly the same as "make test". |
104 | Thanks to Rob Kinyon. |
105 | * Started a Test::Harness::Util module for code that may be reused |
106 | by other Harness-using modules. |
107 | |
108 | [INTERNALS] |
109 | * The t/prove*.t tests now use $^X to call prove. Thanks to Yves Orton. |
110 | * Test::Harness::Straps no longer uses Win32::GetShortPathName(). |
111 | Thanks to Gisle Aas. |
112 | |
113 | 2.57_01 Mon Dec 26 01:39:07 CST 2005 |
114 | [FIXES] |
115 | * Removed code and docs mentioning HARNESS_IGNORE_EXITCODE, which |
116 | is not used anywhere. |
117 | |
118 | [ENHANCEMENTS] |
119 | * If we have hi-res timings, then they're shown in integer |
120 | milliseconds, rather than fractional seconds. |
121 | |
122 | * Added the --perl switch to prove. |
123 | |
124 | [DOCUMENTATION] |
125 | * Added links to CPAN support sites. |
126 | |
73ea3450 |
127 | 2.56 Wed Sep 28 16:04:00 CDT 2005 |
128 | [FIXES] |
129 | * Incorporate bleadperl patch to fix Test::Harness on VMS. |
130 | |
131 | 2.54 Wed Sep 28 09:52:19 CDT 2005 |
132 | [FIXES] |
133 | * Test counts were wrong, so wouldn't install on Perls < 5.8.0. |
134 | |
135 | 2.53_02 Thu Aug 25 21:37:01 CDT 2005 |
136 | [FIXES] |
137 | * File order in prove is now sorted within the directory. It's not |
138 | the sorting that's important as much as the deterministic results. |
139 | Thanks to Adam Kennedy and Casey West for pointing this out, |
140 | independently of each other, with 12 hours of the other. |
141 | |
142 | [INTERNALS] |
143 | * Fix calls to podusage() to not use the DATA typeglob. Thanks sungo. |
144 | |
145 | 2.53_01 Sun Jul 10 10:45:27 CDT 2005 |
146 | [FIXES] |
147 | * If we go over 100,000 tests, it used to print out a warning for |
148 | every test over 100,000. Now, we stop after the first. Thanks to |
149 | Sebastien Aperghis-Tramoni. |
150 | |
43ef773b |
151 | 2.52 Sun Jun 26 23:05:19 CDT 2005 |
152 | No changes |
153 | |
154 | 2.51_02 |
155 | [ENHANCEMENTS] |
156 | * The Test::Harness timer is now off by default. Set HARNESS_TIMER |
157 | true if you want it. Added --timer flag to prove. |
158 | |
159 | 2.50_01 |
160 | [FIXES] |
161 | * Call CORE::time() to figure out if we should print when we're |
162 | printing once per second. Otherwise, we're using Time::HiRes' |
163 | version of it. Thanks, Nicholas Clark. |
164 | |
165 | 2.50 Tue Jun 21 14:32:12 CDT 2005 |
166 | [FIXES] |
167 | * Added some includes in t/strap-analyze.t to make Cygwin happy. |
168 | |
ca09b021 |
169 | 2.49_02 Tue Jun 21 09:54:44 CDT 2005 |
170 | [FIXES] |
171 | * Added some includes in t/test_harness.t to make Cygwin happy. |
172 | |
173 | 2.49_01 Fri Jun 10 15:37:31 CDT 2005 |
174 | [ENHANCEMENTS] |
175 | * Now shows elapsed time in 1000ths of a second if Time::HiRes |
176 | is available. |
177 | |
178 | [FIXES] |
179 | * Test::Harness::Iterator didn't have a 1; at the end. Thanks to |
180 | Steve Peters for finding it. |
181 | |
c0c1f8c2 |
182 | 2.48 Fri Apr 22 22:41:46 CDT 2005 |
183 | Released after weeks of non-complaint. |
184 | |
185 | 2.47_03 Wed Mar 2 16:52:55 CST 2005 |
186 | [THINGS THAT MIGHT BREAK YOUR CODE] |
187 | * Test::Harness now requires Perl 5.005_03 or above. |
188 | |
189 | [FIXES] |
190 | * Fixed incorrect "confused by tests in wrong order" error in 2.47_02. |
191 | |
192 | 2.47_02 Tue Mar 1 23:15:47 CST 2005 |
193 | [THINGS THAT MIGHT BREAK YOUR CODE] |
194 | * Test directives for skip tests used to be anything that matches |
195 | /^skip/i, like the word "skipped", but now it must match |
196 | /^skip\s+/i. |
197 | |
198 | [ENHANCEMENTS] |
199 | * T::H now sets environment variable HARNESS_VERSION, in case a test |
200 | program wants to know what version of T::H it's running under. |
201 | |
202 | 2.47_01 Mon Feb 21 01:14:13 CST 2005 |
203 | [FIXES] |
204 | * Fixed a problem submitted by Craig Berry: |
205 | |
206 | Several of the Test::Harness tests now fail on VMS with the |
207 | following warning: |
208 | |
209 | Can't find string terminator "]" anywhere before EOF at -e line 1. |
210 | |
211 | The problem is that when a command is piped to the shell and that |
212 | command has a newline character embedded in it, the part after |
213 | the newline is invisible to the shell. The patch below corrects |
214 | that by escaping the newline so it is not subject to variable |
215 | interpolation until it gets to the child's Perl one-liner. |
216 | |
217 | [ENHANCEMENTS] |
218 | * Test::Harness::Straps now has diagnostic gathering without changing |
219 | how tests are run. It also adds these messages by default. |
220 | Note that the new method, _is_diagnostic(), is for internal |
221 | use only. It may change soon. Thanks to chromatic. |
222 | |
223 | [DOCUMENTATION] |
224 | * Expanded Test::Harness::TAP.pod, and added examples. |
225 | |
226 | * Fixed a crucial documentation typo in Test::Harness::Straps. |
227 | |
3c87ea76 |
228 | 2.46 Thu Jan 20 11:50:59 CST 2005 |
229 | Released. |
230 | |
231 | 2.45_02 Fri Dec 31 14:57:33 CST 2004 |
232 | [ENHANCEMENTS] |
233 | * Turns off buffering on both STDERR and STDOUT, so that the two |
234 | output handles don't get out of sync with each other. Thanks to |
235 | David Wheeler. |
236 | |
237 | * No longer requires, or supports, the HARNESS_OK_SLOW environment |
238 | variable. Test counts are only updated once per second, which |
239 | used to require having HARNESS_OK_SLOW set. |
240 | |
241 | 2.45_01 Fri Dec 17 22:39:17 CST 2004 |
242 | [THINGS THAT MIGHT BREAK YOUR CODE] |
243 | * Test::Harness now requires Perl 5.004_05. |
244 | |
245 | * We no longer try to print a stack if a coredump is detected. |
246 | |
247 | [FIXES] |
248 | * Reverted Test::Harness::Iterator::next()'s use of readline, since |
249 | it fails under Perl 5.5.4. |
250 | |
251 | * We no longer try to print a stack if a coredump is detected. |
252 | This means that the external problems we've had with wait.ph |
253 | now disappear. This resolves a number of problems that various |
254 | Linux distros have, and closes a couple of RT tickets like #2729 |
255 | and #7716. |
256 | |
257 | [ENHANCEMENTS] |
258 | * Added Test::Harness->strap() method to access the internal strap. |
259 | |
260 | [DOCUMENTATION] |
261 | * Obfuscated the rt.cpan.org email address. The damage is already |
262 | done, but at least we'll have it hidden going forward. |
263 | |
264 | 2.44 Tue Nov 30 18:38:17 CST 2004 |
265 | [INTERNALS] |
266 | * De-anonymized the callbacks and handlers in Test::Harness, mostly |
267 | so I can profile better. |
268 | |
269 | * Checks _is_header() only if _is_line() fails first. No point |
270 | in checking every line of the input for something that can only |
271 | occur once. |
272 | |
273 | * Inline the _detailize() function, which was getting called once |
274 | per line of input. Reduced execution time about 5-7%. |
275 | |
276 | * Removed unnecessary temporary variables in Test::Harness::Straps |
277 | and in Test::Harness::Iterator. |
278 | |
279 | 2.43_02 Thu Nov 25 00:20:36 CST 2004 |
280 | [ENHANCEMENTS] |
281 | * Added more debug output if $Test::Harness::Debug is on. |
282 | |
283 | [FIXES] |
284 | * Test::Harness now removes default paths from the paths that it |
285 | sets in PERL5LIB. This fixes RT #5649. Thanks, Schwern. |
286 | |
287 | [THINGS THAT MIGHT BREAK YOUR CODE] |
288 | * Test::Harness::Straps' constructor no longer will work as an |
289 | object method. You can't say $strap->new any more, but that's |
290 | OK because you never really wanted to anyway. |
291 | |
292 | 2.43_01 |
293 | [FIXES] |
294 | * Added workaround for local $ENV{} bug on Cygwin to |
295 | t/prove-switches.t. See the following RT tickets for details. |
296 | |
297 | https://rt.cpan.org/Ticket/Display.html?id=6452 |
298 | http://rt.perl.org/rt3/Ticket/Display.html?id=30952 |
299 | |
300 | |
42d29bac |
301 | 2.42 Wed Apr 28 22:13:11 CDT 2004 |
302 | [ENHANCEMENTS] |
303 | * prove -v now sets TEST_VERBOSE in case your tests rely on them. |
304 | * prove globs the command line, since Win32's shell doesn't. |
305 | |
306 | [FIXES] |
307 | * Cross-platform test fixes on t/prove-globbing.t |
308 | |
309 | |
310 | 2.40 Tue Dec 30 20:38:59 CST 2003 |
60e33a80 |
311 | [FIXES] |
312 | * Test::Harness::Straps should now properly quote on VMS. |
313 | |
314 | [ENHANCEMENTS] |
315 | * prove now takes a -l option to add lib/ to @INC. Now when you're |
316 | building a module, you don't have to do a make before you run |
317 | the prove. Thanks to David Wheeler for the idea. |
318 | |
319 | [INTERNALS] |
320 | * Internal functions corestatus() and canonfailed() prepended with |
321 | underscores, to indicate such. |
322 | |
323 | * Gratuitous text-only changes in Test::Harness::Iterator. |
42d29bac |
324 | |
60e33a80 |
325 | * All tests now do their use_ok() in a BEGIN block. Some of the |
326 | use_ok() calls were too much of a hassle to put into a BEGIN block, |
327 | so I changed them to regular use calls. |
328 | |
329 | |
42d29bac |
330 | 2.38 Mon Nov 24 22:36:18 CST 2003 |
e4fc8a1e |
331 | Released. See changes below. |
332 | |
42d29bac |
333 | 2.37_03 Tue Nov 18 23:51:38 CST 2003 |
e4fc8a1e |
334 | [ENHANCEMENTS] |
335 | * prove -V now shows the Perl version being used. |
336 | * Now there's a HARNESS_DEBUG flag that shows diagnostics as the |
337 | harness runs the tests. This is different from HARNESS_VERBOSE, |
338 | which shows test output, but not information about the harness |
339 | itself. |
340 | * Added _command_line() to the Strap API. |
341 | |
342 | [FIXES] |
343 | * Bad interaction with Module::Build: The strap was only checking |
344 | $ENV{HARNESS_PERL_SWITCHES} for definedness, but not emptiness. |
345 | It now also strips any leading or trailing whitesapce from the |
346 | switches. |
347 | * Test::Harness and prove only quote those parms that actually need |
348 | to be quoted: Have some whitespace and aren't already quoted. |
349 | |
350 | 2.36 Fri Nov 14 09:24:44 CST 2003 |
351 | [FIXES] |
352 | * t/prove-includes.t properly ignores PROVE_SWITCHES that you may |
353 | already have set. |
354 | |
355 | 2.35_02 Thu Nov 13 09:57:36 CST 2003 |
356 | [ENHANCEMENTS] |
357 | * prove's --blib now works just like the blib pragma. |
358 | |
359 | 2.35_01 Wed Nov 12 23:08:45 CST 2003 |
360 | [FIXES] |
361 | * Fixed taint-handling and path preservation under MacOS. Thanks to |
362 | Schwern for the patch and the tests. |
363 | |
364 | * Preserves case of -t or -T in the shebang line of the test. |
365 | |
366 | [ENHANCEMENTS] |
367 | * Added -t to prove analogous to Perl's -t. Removed the --taint |
368 | switch. |
369 | |
370 | * prove can take default options from the PROVE_SWITCHES variable. |
371 | |
372 | * Added HARNESS_PERL to allow you to specify the Perl interpreter |
373 | to run the tests as. |
374 | |
375 | * prove's --perl switch sets the HARNESS_PERL on the fly for you. |
376 | |
377 | * Quotes the switches and filename in the subprogram. This helps |
378 | with filenames with spaces that are subject to shell mangling. |
379 | |
380 | |
381 | 2.34 Sat Nov 8 22:09:15 CST 2003 |
382 | [FIXES] |
383 | * Allowed prove to run on Perl versions < 5.6.0. |
384 | |
385 | [ENHANCEMENTS] |
386 | * Command-line switches to prove may now be stacked. |
387 | * Added check for proper Pod::Usage version. |
388 | * "make clean" does a better job of cleaning up after itself. |
389 | |
390 | |
391 | 2.32 Fri Nov 7 09:41:21 CST 2003 |
392 | Test::Harness now includes a powerful development tool to help |
393 | programmers work with automated tests. The prove utility runs |
394 | test files against the harness, like a "make test", but with many |
395 | advantages: |
396 | |
397 | * prove is designed as a development tool |
398 | Perl users typically run the test harness through a makefile via |
399 | "make test". That's fine for module distributions, but it's |
400 | suboptimal for a test/code/debug development cycle. |
401 | |
402 | * prove is granular |
403 | prove lets your run against only the files you want to check. |
404 | Running "prove t/live/ t/master.t" checks every *.t in t/live, plus |
405 | t/master.t. |
406 | |
407 | * prove has an easy verbose mode |
408 | To get full test program output from "make test", you must set |
409 | "HARNESS_VERBOSE" in the environment. prove has a "-v" option. |
410 | |
411 | * prove can run under taint mode |
412 | prove's "-T" runs your tests under "perl -T". |
413 | |
414 | * prove can shuffle tests |
415 | You can use prove's "--shuffle" option to try to excite problems |
416 | that don't show up when tests are run in the same order every time. |
417 | |
418 | * Not everything is a module |
419 | More and more users are using Perl's testing tools outside the |
420 | context of a module distribution, and may not even use a makefile at |
421 | all. |
422 | |
423 | Prove requires Pod::Usage, which is standard after Perl 5.004. |
424 | |
425 | I'm very excited about prove, and hope that developers will begin |
426 | adopting it to their coding cycles. I welcome your comments at |
427 | andy@petdance.com. |
428 | |
429 | There are also some minor bug fixes in Test::Harness itself, listed |
430 | below in the 2.31_* notes. |
431 | |
432 | |
433 | 2.31_05 Thu Nov 6 14:56:22 CST 2003 |
434 | [FIXES] |
435 | - If a MacPerl script had a shebang with -T, the -T wouldn't get |
436 | passed as a switch. |
437 | - Removed the -T on three *.t files, which didn't need them, and |
438 | which were causing problems. |
439 | - Conditionally installs bin/prove, depending on whether Pod::Usage |
440 | is available, which prove needs. |
441 | - Removed old leftover code from Makefile.PL. |
442 | |
443 | 2.31_04 Mon Nov 3 23:36:06 CST 2003 |
444 | Minor tweaks here and there, almost ready to release. |
445 | |
446 | 2.31_03 Mon Nov 3 08:50:36 CST 2003 |
447 | [FEATURES] |
448 | - prove is almost feature-complete. Removed the handling of |
449 | --exclude for excluding certain tests. It may go back in the |
450 | future. |
451 | - prove -d is now debug. Dry is prove -D. |
452 | |
453 | 2.31_02 Fri Oct 31 23:46:03 CST 2003 |
454 | [FEATURES] |
455 | - Added many more switches to prove: -d for dry run, and -b for |
456 | blib. |
457 | |
458 | [FIXES] |
459 | - T:H:Straps now recognizes MSWin32 in $^0. |
460 | - RT#3811: Could do regex matching on garbage in _is_test(). |
461 | Fixed by Yves Orton |
462 | - RT#3827: Strips backslashes from and normalizes @INC entries |
463 | for Win32. Fixed by Yves Orton. |
464 | |
465 | [INTERNALS] |
466 | - Added $self->{_is_macos} to the T:H:Strap object. |
467 | - t/test-harness.t sorts its test results, rather than relying on |
468 | internal key order. |
469 | |
470 | 2.31_01 |
471 | [FEATURES] |
472 | - Added "prove" script to run a test or set of tests through the |
473 | harness. Thanks to Curtis Poe for the foundation. |
474 | |
475 | [DOCUMENTATION] |
476 | - Fixed POD problem in Test::Harness::Assert |
477 | |
cf2ab31a |
478 | 2.30 Thu Aug 14 20:04:00 CDT 2003 |
479 | No functional changes in this version. It's only to make some doc |
480 | tweaks, and bump up the version number in T:H:Straps. |
481 | |
482 | [DOCUMENTATION] |
483 | - Changed Schwern to Andy as the maintainer. |
484 | - Incorporated the TODO file into Harness.pm proper. |
485 | - Cleaned up formatting in Test::Harness::Straps. |
486 | |
e4fc8a1e |
487 | 2.29 Wed Jul 17 14:08:00 CDT 2003 |
cf2ab31a |
488 | - Released as 2.29. |
489 | |
e4fc8a1e |
490 | 2.28_91 Sun Jul 13 00:10:00 CDT 2003 |
cf2ab31a |
491 | [ENHANCEMENTS] |
492 | - Added support for HARNESS_OK_SLOW. This will make a significant |
493 | speedup for slower connections. |
494 | - Folded in some changes from bleadperl that spiff up the |
495 | failure reports. |
496 | |
497 | [INTERNALS] |
498 | - Added some isa_ok() checks to the tests. |
499 | - All Test::Harness* modules are used by use_ok() |
500 | - Fixed the prototype for the canonfailed() function, not that |
501 | it matters since it's never called without parens. |
502 | |
e4fc8a1e |
503 | 2.28_90 Sat Jul 05 20:21:00 CDT 2003 |
cf2ab31a |
504 | [ENHANCEMENTS] |
505 | - Now, when you run a test harnessed, the numbers don't fly by one |
506 | at a time, one update per second. This significantly speeds |
507 | up the run time for running thousands of tests. *COUGH* |
508 | Regexp::Common *COUGH* |
509 | |
e8df9912 |
510 | 2.28 Thu Apr 24 14:39:00 CDT 2003 |
511 | - No functional changes. |
512 | |
513 | 2.27_05 Mon Apr 21 15:55:00 CDT 2003 |
514 | - No functional changes. |
515 | - Fixed circular depency in the test suite. Thanks, Rob Brown. |
516 | |
517 | 2.27_04 Sat Apr 12 21:42:00 CDT 2003 |
518 | - Added test for $Test::Harness::Switches patch below. |
519 | |
520 | 2.27_03 Thu Apr 03 10:47:00 CDT 2003 |
521 | - Fixed straps not respecting $Test::Harness::Switches. Thanks |
522 | to Miyagawa for the patch. |
523 | - Added t/pod.t to test POD validity. |
524 | |
a72fde19 |
525 | 2.27_02 Mon Mar 24 13:17:00 CDT 2003 |
526 | 2.27_01 Sun Mar 23 19:46:00 CDT 2003 |
527 | - Handed over to Andy Lester for further maintenance. |
528 | - Fixed when the path to perl contains spaces on Windows |
529 | * Stas Bekman noticed that tests with no output at all were |
530 | interpreted as passing |
531 | - MacPerl test tweak for busted exit codes (bleadperl 17345) |
532 | - Abigail and Nick Clark both hit the 100000 "huge test that will |
533 | suck up all your memory" limit with legit tests. Made the check |
534 | smarter to allow large, planned tests to work. |
535 | - Partial fix of stats display when a test fails only because there's |
536 | too many tests. |
537 | - Made wait.ph and WCOREDUMP anti-vommit protection more robust in |
538 | cases where wait.ph loads but WCOREDUMP() pukes when run. |
539 | - Added a LICENSE. |
540 | - Ilya noticed the per test skip reason was accumlating between tests. |
541 | |
11c6125c |
542 | 2.26 Wed Jun 19 16:58:02 EDT 2002 |
543 | - Workaround for MacPerl's lack of a working putenv. It will never |
544 | see the PERL5LIB environment variable (perl@16942). |
545 | |
d5d4ec93 |
546 | 2.25 Sun Jun 16 03:00:33 EDT 2002 |
547 | - $Strap is now a global to allow Test::Harness::Straps |
548 | experimentation. |
549 | - Little spelling nit in a diagnostic. |
550 | - Chris Richmond noted that the runtests() docs were wrong. It will |
551 | die, not return false, when any tests fail. This is silly, but |
552 | historically necessary for 'make test'. Docs corrected. |
553 | - MacPerl test fixes from Pudge. (mutation of bleadperl@16989) |
554 | - Undef warning introduced in 2.24 on skipped tests with no reasons |
555 | fixed. |
556 | * Test::Harness now depends on File::Spec |
557 | |
0be28027 |
558 | 2.24 Wed May 29 19:02:18 EDT 2002 |
559 | * Nikola Knezevic found a bug when tests are completely skipped |
560 | but no reason is given it was considered a failure. |
561 | * Made Test::Harness::Straps->analyze_file & Test::Harness a bit |
562 | more graceful when the test doesn't exist. |
563 | |
c0bb2de7 |
564 | 2.23 Wed May 22 12:59:47 EDT 2002 |
565 | - reason for all skip wasn't being displayed. Broken in 2.20. |
566 | - Changed the wait status tests to conform with POSIX standards. |
567 | - Quieted some SYSTEM$ABORT noise leaking out from dying test tests |
568 | on VMS. |
569 | |
6e5a998b |
570 | 2.22 Fri May 17 19:01:35 EDT 2002 |
571 | - Fixed parsing of #!/usr/bin/perl-current to not see a -t. |
572 | (RT #574) |
573 | - Fixed exit codes on MPE/iX |
574 | |
308957f5 |
575 | 2.21 Mon May 6 00:43:22 EDT 2002 |
576 | - removed a bunch of dead code left over after 2.20's gutting. |
577 | - The fix for the $^X "bug" added in 2.02 has been removed. It |
578 | caused more trouble than the old bug (I'd never seen a problem |
579 | before anyway) |
580 | - 2.20 broke $verbose |
581 | |
582 | 2.20 Sat May 4 22:31:20 EDT 2002 |
583 | * An almost complete conversion of the Test::Harness test parsing |
584 | to use Test::Harness::Straps. |
585 | |
586 | 2.04 Tue Apr 30 00:54:49 EDT 2002 |
587 | * Changing the output format of skips |
588 | - Taking into account VMS's special exit codes in the tests. |
589 | |
356733da |
590 | 2.03 Thu Apr 25 01:01:34 EDT 2002 |
591 | * $^X fix made safer. |
592 | - Noise from loading wait.ph to analyze core files supressed |
593 | - MJD found a situation where a test could run Test::Harness |
594 | out of memory. Protecting against that specific case. |
595 | - Made the 1..M docs a bit clearer. |
596 | - Fixed TODO tests so Test::Harness does not display a NOK for |
597 | them. |
598 | - Test::Harness::Straps->analyze_file() docs were not clear as to |
599 | its effects |
600 | |
601 | 2.02 Thu Mar 14 18:06:04 EST 2002 |
602 | * Ken Williams fixed the long standing $^X bug. |
603 | * Added HARNESS_VERBOSE |
604 | * Fixed a bug where Test::Harness::Straps was considering a test that |
605 | is ok but died as passing. |
606 | - Added the exit and wait codes of the test to the |
607 | analyze_file() results. |
608 | |
13287dd5 |
609 | 2.01 Thu Dec 27 18:54:36 EST 2001 |
610 | * Added 'passing' to the results to tell you if the test passed |
611 | * Added Test::Harness::Straps example (examples/mini_harness.plx) |
612 | * Header-at-end tests were being interpreted as failing sometimes |
613 | - The 'skip_all' results from analyze* was not being set |
614 | - analyze_fh() and analyze_file() now work more efficiently, reading |
615 | line-by-line instead of slurping as before. |
616 | |
617 | 2.00 Sun Dec 23 19:13:57 EST 2001 |
618 | - Fixed a warning on VMS. |
619 | - Removed a little unnecessary code from analyze_file() |
620 | - Made sure filehandles are getting closed |
621 | - analyze() now considers "not \nok" to be a failure (VMSism) |
622 | but Test::Harness still doesn't. |
623 | |
624 | 2.00_05 Mon Dec 17 22:08:02 EST 2001 |
625 | * Wasn't filtering @INC properly when a test is run with -T, caused the |
626 | command line to be too long on VMS. VMS should be 100% now. |
627 | - Little bug in the skip 'various reasons' logic. |
628 | - Minor POD nit in 5.004_04 |
629 | - Little speling mistak |
630 | |
631 | 2.00_04 Sun Dec 16 00:33:32 EST 2001 |
632 | * Major Test::Harness::Straps doc bug. |
633 | |
634 | 2.00_03 Sat Dec 15 23:52:17 EST 2001 |
635 | * First release candidate |
636 | * 'summary' is now 'details' |
637 | * Test #1 is now element 0 on the details array. It works out better |
638 | that way. |
639 | * analyze_file() is more portable, but no longer taint clean |
640 | * analyze_file() properly preserves @INC and handles -T switches |
641 | - minor mistake in the test header line parsing |
642 | |
433ad7b6 |
643 | 1.26 Mon Nov 12 15:44:01 EST 2001 |
644 | * An excuse to upload a new version to CPAN to get Test::Harness |
645 | back on the index. |
646 | |
13287dd5 |
647 | 2.00_00 Sat Sep 29 00:12:03 EDT 2001 |
648 | * Partial gutting of the internals |
649 | * Added Test::Harness::Straps |
650 | |
2fe373ce |
651 | 1.25 Tue Aug 7 08:51:09 EDT 2001 |
652 | * Fixed a bug with tests failing if they're all skipped |
653 | reported by Stas Bekman. |
654 | - Fixed a very minor warning in 5.004_04 |
655 | - Fixed displaying filenames not from @ARGV |
656 | - Merging with bleadperl |
657 | - minor fixes to the filename in the report |
658 | - '[no reason given]' skip reason |
659 | |
13287dd5 |
660 | 1.24 Tue Aug 7 08:51:09 EDT 2001 |
2fe373ce |
661 | - Added internal information about number of todo tests |
662 | |
663 | 1.23 Tue Jul 31 15:06:47 EDT 2001 |
664 | - Merged in Ilya's "various reasons" patch |
665 | * Fixed "not ok 23 - some name # TODO" style tests |
666 | |
667 | 1.22 Mon Jun 25 02:00:02 EDT 2001 |
668 | * Fixed bug with failing tests using header at end. |
669 | - Documented how Test::Harness deals with garbage input |
670 | - Turned on test counter mismatch warning |
671 | |
672 | 1.21 Wed May 23 19:22:53 BST 2001 |
673 | * No longer considered unstable. Merging back with the perl core. |
674 | - Fixed minor nit about the report summary |
675 | - Added docs on the meaning of the failure report |
676 | - Minor POD nits fixed mirroring perl change 9176 |
677 | - TODO and SEE ALSO expanded |
678 | |
679 | 1.20 Wed Mar 14 23:09:20 GMT 2001 by Michael G Schwern *UNSTABLE* |
680 | * Fixed and tested with 5.004! |
681 | - Added EXAMPLE docs |
682 | - Added TODO docs |
683 | - Now uneffected by -l, $\ or $, |
684 | |
685 | 1.19 Sat Mar 10 00:43:29 GMT 2001 by Michael G Schwern *UNSTABLE* |
686 | - More internal reworking |
687 | * Removed use of experimental /(?>...)/ feature for backwards compat |
688 | * Removed use of open(my $fh, $file) for backwards compatibility |
689 | * Removed use of Tie::StdHandle in tests for backwards compat |
690 | * Added dire warning that this is unstable. |
691 | - Added some tests from the old CPAN release |
692 | |
693 | 1.18 Mon Mar 5 17:35:11 GMT 2001 by Michael G Schwern |
694 | * Under new management! |
695 | * Test::Harness is now being concurrently shipped on CPAN as well |
696 | as in the core. |
697 | - Switched "our" for "use vars" and moved the minimum version back |
698 | to 5.004. This may be optimistic. |
699 | |
700 | |
701 | *** Missing version history to be extracted from Perl changes *** |
702 | |
703 | |
704 | 1.07 Fri Feb 23 1996 by Andreas Koenig |
705 | - Gisle sent me a documentation patch that showed me, that the |
706 | unless(/^#/) is unnessessary. Applied the patch and deleted the block |
707 | checking for "comment" lines. -- All lines are comment lines that do |
708 | not match /^1\.\.([0-9]+)/ or /^(not\s+)?ok\b/. |
709 | - Ilyaz request to print "ok (empty test case)" whenever we say 1..0 |
710 | implemented. |
711 | - Harness now doesn't abort anymore if we received confused test output, |
712 | just warns instead. |
713 | |
714 | 1.05 Wed Jan 31 1996 by Andreas Koenig |
715 | - More updates on docu and introduced the liberality that the script |
716 | output may omit the test numbers. |
717 | |
718 | 1.03 Mon January 28 1996 by Andreas Koenig |
719 | - Added the statistics for subtests. Updated the documentation. |
720 | |
721 | 1.02 by Andreas Koenig |
722 | - This version reports a list of the tests that failed accompanied by |
723 | some trivial statistics. The older (unnumbered) version stopped |
724 | processing after the first failed test. |
725 | - Additionally it reports the exit status if there is one. |
726 | |
727 | |