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