home *** CD-ROM | disk | FTP | other *** search
/ Netrunner 2004 October / NETRUNNER0410.ISO / regular / ActivePerl-5.8.4.810-MSWin32-x86.msi / _db8630222218ab3f1c737ff0bc4e5de4 < prev    next >
Encoding:
Text File  |  2004-06-01  |  16.3 KB  |  421 lines

  1. Revision history for Perl extension Test::Harness
  2.  
  3. 2.40        Tue Dec 30 20:38:59 CST 2003
  4.     [FIXES]
  5.     * Test::Harness::Straps should now properly quote on VMS.
  6.  
  7.     [ENHANCEMENTS]
  8.     * prove now takes a -l option to add lib/ to @INC.  Now when you're
  9.       building a module, you don't have to do a make before you run
  10.       the prove.  Thanks to David Wheeler for the idea.
  11.  
  12.     [INTERNALS]
  13.     * Internal functions corestatus() and canonfailed() prepended with
  14.       underscores, to indicate such.
  15.  
  16.     * Gratuitous text-only changes in Test::Harness::Iterator.
  17.     
  18.     * All tests now do their use_ok() in a BEGIN block.  Some of the
  19.       use_ok() calls were too much of a hassle to put into a BEGIN block,
  20.       so I changed them to regular use calls.
  21.  
  22.  
  23. 2.38        Mon Nov 24 22:36:18 CST 2003
  24.     Released.  See changes below.
  25.  
  26. 2.37_03        Tue Nov 18 23:51:38 CST 2003
  27.     [ENHANCEMENTS]
  28.     * prove -V now shows the Perl version being used.
  29.     * Now there's a HARNESS_DEBUG flag that shows diagnostics as the
  30.       harness runs the tests.  This is different from HARNESS_VERBOSE,
  31.       which shows test output, but not information about the harness
  32.       itself.
  33.     * Added _command_line() to the Strap API.
  34.  
  35.     [FIXES]
  36.     * Bad interaction with Module::Build:  The strap was only checking
  37.       $ENV{HARNESS_PERL_SWITCHES} for definedness, but not emptiness.
  38.       It now also strips any leading or trailing whitesapce from the
  39.       switches.
  40.     * Test::Harness and prove only quote those parms that actually need
  41.       to be quoted: Have some whitespace and aren't already quoted.
  42.  
  43. 2.36        Fri Nov 14 09:24:44 CST 2003
  44.     [FIXES]
  45.     * t/prove-includes.t properly ignores PROVE_SWITCHES that you may
  46.       already have set.
  47.  
  48. 2.35_02     Thu Nov 13 09:57:36 CST 2003
  49.     [ENHANCEMENTS]
  50.     * prove's --blib now works just like the blib pragma.
  51.  
  52. 2.35_01     Wed Nov 12 23:08:45 CST 2003
  53.     [FIXES]
  54.     * Fixed taint-handling and path preservation under MacOS.  Thanks to
  55.       Schwern for the patch and the tests.
  56.  
  57.     * Preserves case of -t or -T in the shebang line of the test.
  58.  
  59.     [ENHANCEMENTS]
  60.     * Added -t to prove analogous to Perl's -t.  Removed the --taint
  61.       switch.
  62.  
  63.     * prove can take default options from the PROVE_SWITCHES variable.
  64.  
  65.     * Added HARNESS_PERL to allow you to specify the Perl interpreter
  66.       to run the tests as.
  67.  
  68.     * prove's --perl switch sets the HARNESS_PERL on the fly for you.
  69.  
  70.     * Quotes the switches and filename in the subprogram.  This helps
  71.       with filenames with spaces that are subject to shell mangling.
  72.  
  73.  
  74. 2.34        Sat Nov  8 22:09:15 CST 2003
  75.     [FIXES]
  76.     * Allowed prove to run on Perl versions < 5.6.0.
  77.  
  78.     [ENHANCEMENTS]
  79.     * Command-line switches to prove may now be stacked.
  80.     * Added check for proper Pod::Usage version.
  81.     * "make clean" does a better job of cleaning up after itself.
  82.  
  83.  
  84. 2.32        Fri Nov  7 09:41:21 CST 2003
  85.     Test::Harness now includes a powerful development tool to help
  86.     programmers work with automated tests.  The prove utility runs
  87.     test files against the harness, like a "make test", but with many
  88.     advantages:
  89.  
  90.     * prove is designed as a development tool
  91.         Perl users typically run the test harness through a makefile via
  92.         "make test". That's fine for module distributions, but it's
  93.         suboptimal for a test/code/debug development cycle.
  94.  
  95.     * prove is granular
  96.         prove lets your run against only the files you want to check.
  97.         Running "prove t/live/ t/master.t" checks every *.t in t/live, plus
  98.         t/master.t.
  99.  
  100.     * prove has an easy verbose mode
  101.         To get full test program output from "make test", you must set
  102.         "HARNESS_VERBOSE" in the environment. prove has a "-v" option.
  103.  
  104.     * prove can run under taint mode
  105.         prove's "-T" runs your tests under "perl -T".
  106.  
  107.     * prove can shuffle tests
  108.         You can use prove's "--shuffle" option to try to excite problems
  109.         that don't show up when tests are run in the same order every time.
  110.  
  111.     * Not everything is a module
  112.         More and more users are using Perl's testing tools outside the
  113.         context of a module distribution, and may not even use a makefile at
  114.         all.
  115.  
  116.     Prove requires Pod::Usage, which is standard after Perl 5.004.
  117.  
  118.     I'm very excited about prove, and hope that developers will begin
  119.     adopting it to their coding cycles.  I welcome your comments at
  120.     andy@petdance.com.
  121.  
  122.     There are also some minor bug fixes in Test::Harness itself, listed
  123.     below in the 2.31_* notes.
  124.      
  125.  
  126. 2.31_05     Thu Nov  6 14:56:22 CST 2003
  127.     [FIXES]
  128.     - If a MacPerl script had a shebang with -T, the -T wouldn't get
  129.       passed as a switch.
  130.     - Removed the -T on three *.t files, which didn't need them, and 
  131.       which were causing problems.
  132.     - Conditionally installs bin/prove, depending on whether Pod::Usage
  133.       is available, which prove needs.
  134.     - Removed old leftover code from Makefile.PL.
  135.  
  136. 2.31_04     Mon Nov  3 23:36:06 CST 2003
  137.     Minor tweaks here and there, almost ready to release.
  138.  
  139. 2.31_03     Mon Nov  3 08:50:36 CST 2003
  140.     [FEATURES]
  141.     - prove is almost feature-complete.  Removed the handling of
  142.       --exclude for excluding certain tests.  It may go back in the
  143.       future.
  144.     - prove -d is now debug.  Dry is prove -D.
  145.  
  146. 2.31_02     Fri Oct 31 23:46:03 CST 2003
  147.     [FEATURES]
  148.     - Added many more switches to prove: -d for dry run, and -b for
  149.       blib.
  150.  
  151.     [FIXES]
  152.     - T:H:Straps now recognizes MSWin32 in $^0.
  153.     - RT#3811: Could do regex matching on garbage in _is_test().
  154.       Fixed by Yves Orton
  155.     - RT#3827: Strips backslashes from and normalizes @INC entries
  156.       for Win32.  Fixed by Yves Orton.
  157.  
  158.     [INTERNALS]
  159.     - Added $self->{_is_macos} to the T:H:Strap object.
  160.     - t/test-harness.t sorts its test results, rather than relying on
  161.       internal key order.
  162.  
  163. 2.31_01
  164.     [FEATURES]
  165.     - Added "prove" script to run a test or set of tests through the
  166.       harness.  Thanks to Curtis Poe for the foundation.
  167.  
  168.     [DOCUMENTATION]
  169.     - Fixed POD problem in Test::Harness::Assert
  170.  
  171. 2.30        Thu Aug 14 20:04:00 CDT 2003
  172.     No functional changes in this version.  It's only to make some doc
  173.     tweaks, and bump up the version number in T:H:Straps.
  174.  
  175.     [DOCUMENTATION]
  176.     - Changed Schwern to Andy as the maintainer.
  177.     - Incorporated the TODO file into Harness.pm proper.
  178.     - Cleaned up formatting in Test::Harness::Straps.
  179.  
  180. 2.29        Wed Jul 17 14:08:00 CDT 2003
  181.     - Released as 2.29.
  182.  
  183. 2.28_91     Sun Jul 13 00:10:00 CDT 2003
  184.     [ENHANCEMENTS]
  185.     - Added support for HARNESS_OK_SLOW.  This will make a significant
  186.       speedup for slower connections.
  187.     - Folded in some changes from bleadperl that spiff up the
  188.       failure reports.
  189.  
  190.     [INTERNALS]
  191.     - Added some isa_ok() checks to the tests.
  192.     - All Test::Harness* modules are used by use_ok()
  193.     - Fixed the prototype for the canonfailed() function, not that
  194.       it matters since it's never called without parens.
  195.  
  196. 2.28_90     Sat Jul 05 20:21:00 CDT 2003
  197.     [ENHANCEMENTS]
  198.     - Now, when you run a test harnessed, the numbers don't fly by one
  199.       at a time, one update per second.  This significantly speeds
  200.       up the run time for running thousands of tests.  *COUGH*
  201.       Regexp::Common *COUGH*
  202.  
  203. 2.28     Thu Apr 24 14:39:00 CDT 2003
  204.     - No functional changes.
  205.  
  206. 2.27_05  Mon Apr 21 15:55:00 CDT 2003
  207.     - No functional changes.
  208.     - Fixed circular depency in the test suite.  Thanks, Rob Brown.
  209.  
  210. 2.27_04  Sat Apr 12 21:42:00 CDT 2003
  211.     - Added test for $Test::Harness::Switches patch below.
  212.  
  213. 2.27_03  Thu Apr 03 10:47:00 CDT 2003
  214.     - Fixed straps not respecting $Test::Harness::Switches.  Thanks
  215.       to Miyagawa for the patch.
  216.     - Added t/pod.t to test POD validity.
  217.  
  218. 2.27_02  Mon Mar 24 13:17:00 CDT 2003
  219. 2.27_01  Sun Mar 23 19:46:00 CDT 2003
  220.     - Handed over to Andy Lester for further maintenance.
  221.     - Fixed when the path to perl contains spaces on Windows
  222.     * Stas Bekman noticed that tests with no output at all were
  223.       interpreted as passing
  224.     - MacPerl test tweak for busted exit codes (bleadperl 17345)
  225.     - Abigail and Nick Clark both hit the 100000 "huge test that will
  226.       suck up all your memory" limit with legit tests.  Made the check
  227.       smarter to allow large, planned tests to work.
  228.     - Partial fix of stats display when a test fails only because there's
  229.       too many tests.
  230.     - Made wait.ph and WCOREDUMP anti-vommit protection more robust in
  231.       cases where wait.ph loads but WCOREDUMP() pukes when run.
  232.     - Added a LICENSE.
  233.     - Ilya noticed the per test skip reason was accumlating between tests.
  234.  
  235. 2.26  Wed Jun 19 16:58:02 EDT 2002
  236.     - Workaround for MacPerl's lack of a working putenv.  It will never 
  237.       see the PERL5LIB environment variable (perl@16942).
  238.  
  239. 2.25  Sun Jun 16 03:00:33 EDT 2002
  240.     - $Strap is now a global to allow Test::Harness::Straps
  241.       experimentation.
  242.     - Little spelling nit in a diagnostic.
  243.     - Chris Richmond noted that the runtests() docs were wrong.  It will
  244.       die, not return false, when any tests fail.  This is silly, but
  245.       historically necessary for 'make test'.  Docs corrected.
  246.     - MacPerl test fixes from Pudge. (mutation of bleadperl@16989)
  247.     - Undef warning introduced in 2.24 on skipped tests with no reasons 
  248.       fixed.
  249.     * Test::Harness now depends on File::Spec
  250.  
  251. 2.24  Wed May 29 19:02:18 EDT 2002
  252.     * Nikola Knezevic found a bug when tests are completely skipped
  253.       but no reason is given it was considered a failure.
  254.     * Made Test::Harness::Straps->analyze_file & Test::Harness a bit
  255.       more graceful when the test doesn't exist.
  256.  
  257. 2.23  Wed May 22 12:59:47 EDT 2002
  258.     - reason for all skip wasn't being displayed.  Broken in 2.20.
  259.     - Changed the wait status tests to conform with POSIX standards.
  260.     - Quieted some SYSTEM$ABORT noise leaking out from dying test tests
  261.       on VMS.
  262.  
  263. 2.22  Fri May 17 19:01:35 EDT 2002
  264.     - Fixed parsing of #!/usr/bin/perl-current to not see a -t.
  265.       (RT #574)
  266.     - Fixed exit codes on MPE/iX
  267.  
  268. 2.21  Mon May  6 00:43:22 EDT 2002
  269.     - removed a bunch of dead code left over after 2.20's gutting.
  270.     - The fix for the $^X "bug" added in 2.02 has been removed.  It
  271.       caused more trouble than the old bug (I'd never seen a problem
  272.       before anyway)
  273.     - 2.20 broke $verbose
  274.  
  275. 2.20  Sat May  4 22:31:20 EDT 2002
  276.     * An almost complete conversion of the Test::Harness test parsing
  277.       to use Test::Harness::Straps.
  278.  
  279. 2.04  Tue Apr 30 00:54:49 EDT 2002
  280.     * Changing the output format of skips
  281.     - Taking into account VMS's special exit codes in the tests.
  282.  
  283. 2.03  Thu Apr 25 01:01:34 EDT 2002
  284.     * $^X fix made safer.
  285.     - Noise from loading wait.ph to analyze core files supressed
  286.     - MJD found a situation where a test could run Test::Harness
  287.       out of memory.  Protecting against that specific case.
  288.     - Made the 1..M docs a bit clearer.
  289.     - Fixed TODO tests so Test::Harness does not display a NOK for
  290.       them.
  291.     - Test::Harness::Straps->analyze_file() docs were not clear as to
  292.       its effects
  293.  
  294. 2.02  Thu Mar 14 18:06:04 EST 2002
  295.     * Ken Williams fixed the long standing $^X bug.
  296.     * Added HARNESS_VERBOSE
  297.     * Fixed a bug where Test::Harness::Straps was considering a test that 
  298.       is ok but died as passing.
  299.     - Added the exit and wait codes of the test to the 
  300.       analyze_file() results.
  301.  
  302. 2.01  Thu Dec 27 18:54:36 EST 2001
  303.     * Added 'passing' to the results to tell you if the test passed
  304.     * Added Test::Harness::Straps example (examples/mini_harness.plx)
  305.     * Header-at-end tests were being interpreted as failing sometimes
  306.     - The 'skip_all' results from analyze* was not being set
  307.     - analyze_fh() and analyze_file() now work more efficiently, reading
  308.       line-by-line instead of slurping as before.
  309.  
  310. 2.00  Sun Dec 23 19:13:57 EST 2001
  311.     - Fixed a warning on VMS.
  312.     - Removed a little unnecessary code from analyze_file()
  313.     - Made sure filehandles are getting closed
  314.     - analyze() now considers "not \nok" to be a failure (VMSism)
  315.       but Test::Harness still doesn't.
  316.  
  317. 2.00_05 Mon Dec 17 22:08:02 EST 2001
  318.     * Wasn't filtering @INC properly when a test is run with -T, caused the 
  319.       command line to be too long on VMS.  VMS should be 100% now.
  320.     - Little bug in the skip 'various reasons' logic.
  321.     - Minor POD nit in 5.004_04
  322.     - Little speling mistak
  323.  
  324. 2.00_04 Sun Dec 16 00:33:32 EST 2001
  325.     * Major Test::Harness::Straps doc bug.
  326.  
  327. 2.00_03 Sat Dec 15 23:52:17 EST 2001
  328.     * First release candidate
  329.     * 'summary' is now 'details'
  330.     * Test #1 is now element 0 on the details array.  It works out better
  331.       that way.
  332.     * analyze_file() is more portable, but no longer taint clean
  333.     * analyze_file() properly preserves @INC and handles -T switches
  334.     - minor mistake in the test header line parsing
  335.  
  336. 1.26  Mon Nov 12 15:44:01 EST 2001
  337.     * An excuse to upload a new version to CPAN to get Test::Harness
  338.       back on the index.
  339.  
  340. 2.00_00  Sat Sep 29 00:12:03 EDT 2001
  341.     * Partial gutting of the internals
  342.     * Added Test::Harness::Straps
  343.  
  344. 1.25  Tue Aug  7 08:51:09 EDT 2001
  345.     * Fixed a bug with tests failing if they're all skipped
  346.       reported by Stas Bekman.
  347.     - Fixed a very minor warning in 5.004_04
  348.     - Fixed displaying filenames not from @ARGV
  349.     - Merging with bleadperl
  350.     -  minor fixes to the filename in the report
  351.     -  '[no reason given]' skip reason
  352.  
  353. 1.24  Tue Aug  7 08:51:09 EDT 2001
  354.     - Added internal information about number of todo tests
  355.  
  356. 1.23  Tue Jul 31 15:06:47 EDT 2001
  357.     - Merged in Ilya's "various reasons" patch
  358.     * Fixed "not ok 23 - some name # TODO" style tests
  359.  
  360. 1.22  Mon Jun 25 02:00:02 EDT 2001
  361.     * Fixed bug with failing tests using header at end.
  362.     - Documented how Test::Harness deals with garbage input
  363.     - Turned on test counter mismatch warning
  364.  
  365. 1.21  Wed May 23 19:22:53 BST 2001
  366.     * No longer considered unstable.  Merging back with the perl core.
  367.     - Fixed minor nit about the report summary
  368.     - Added docs on the meaning of the failure report
  369.     - Minor POD nits fixed mirroring perl change 9176
  370.     - TODO and SEE ALSO expanded
  371.  
  372. 1.20  Wed Mar 14 23:09:20 GMT 2001 by Michael G Schwern    *UNSTABLE*
  373.     * Fixed and tested with 5.004!
  374.     - Added EXAMPLE docs
  375.     - Added TODO docs
  376.     - Now uneffected by -l, $\ or $,
  377.  
  378. 1.19  Sat Mar 10 00:43:29 GMT 2001 by Michael G Schwern    *UNSTABLE*
  379.     - More internal reworking
  380.     * Removed use of experimental /(?>...)/ feature for backwards compat
  381.     * Removed use of open(my $fh, $file) for backwards compatibility
  382.     * Removed use of Tie::StdHandle in tests for backwards compat
  383.     * Added dire warning that this is unstable.
  384.     - Added some tests from the old CPAN release
  385.  
  386. 1.18  Mon Mar  5 17:35:11 GMT 2001 by Michael G Schwern
  387.     * Under new management!
  388.     * Test::Harness is now being concurrently shipped on CPAN as well
  389.       as in the core.
  390.     - Switched "our" for "use vars" and moved the minimum version back
  391.       to 5.004.  This may be optimistic.
  392.  
  393.  
  394. *** Missing version history to be extracted from Perl changes ***
  395.  
  396.  
  397. 1.07  Fri Feb 23 1996 by Andreas Koenig
  398.     - Gisle sent me a documentation patch that showed me, that the
  399.       unless(/^#/) is unnessessary. Applied the patch and deleted the block
  400.       checking for "comment" lines. -- All lines are comment lines that do
  401.       not match /^1\.\.([0-9]+)/ or /^(not\s+)?ok\b/.
  402.     - Ilyaz request to print "ok (empty test case)" whenever we say 1..0
  403.       implemented.
  404.     - Harness now doesn't abort anymore if we received confused test output,
  405.       just warns instead.
  406.  
  407. 1.05  Wed Jan 31 1996 by Andreas Koenig
  408.     - More updates on docu and introduced the liberality that the script
  409.       output may omit the test numbers.
  410.  
  411. 1.03  Mon January 28 1996 by Andreas Koenig
  412.     - Added the statistics for subtests. Updated the documentation.
  413.  
  414. 1.02  by Andreas Koenig
  415.     - This version reports a list of the tests that failed accompanied by
  416.       some trivial statistics. The older (unnumbered) version stopped
  417.       processing after the first failed test.
  418.     - Additionally it reports the exit status if there is one.
  419.  
  420.  
  421.