http://mungus.schwern.org/~schwern/src/Test-Simple-0.48_02.tar.gz
A new alpha release of Test::Simple/More/Builder. You can consider this the 0.49 release candidate. Please let me know how it goes. There's a new feature. When run under Test::Harness diagnostic output will throw in a leading newline for better readability. $ perl -MTest::Harness -wle 'runtests @ARGV' ~/tmp/foo.t /Users/schwern/tmp/foo....NOK 3 # Failed test (/Users/schwern/tmp/foo.t at line 7) # got: '1' # expected: '2' # Looks like you failed 1 test of 4. /Users/schwern/tmp/foo....dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 3 Failed 1/4 tests, 75.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- /Users/schwern/tmp/foo.t 1 256 4 1 25.00% 3 Failed 1/1 test scripts, 0.00% okay. 1/4 subtests failed, 75.00% okay. Its about bloody time, isn't it. Here's the important bug fixes: * A couple of bug fixes having to do with overloaded objects and threads. * unlike() didn't have a prototype causing it to work a little different than like() * isnt() gave the wrong diagnostics if either arg was undef 0.48_02 Mon Jul 19 02:07:23 EDT 2004 * Overloaded objects as names now won't blow up under threads [rt.cpan.org 4218 and 4232] * Overloaded objects which stringify to undef used as test names now won't cause internal uninit warnings. [rt.cpan.org 4232] * Failure diagnostics now come out on their own line when run in Test::Harness. - eq_set() sometimes wasn't giving the right results if nested refs were involved [rt.cpan.org 3747] - isnt() giving wrong diagnostics and warning if given any undefs. * Give unlike() the right prototype [rt.cpan.org 4944] - Change from CVS to Aegis - is_deeply() will now do some basic argument checks to guard against accidentally passing in a whole array instead of its reference. - Mentioning Test::Differences, Test::Deep and Bundle::Test. - Removed dependency on File::Spec. - Fixing the grammar of diagnostic outputs when only a single test is run or failed (ie. "Looks like you failed 1 tests"). [Darren Chamberlain] 0.48_01 Mon Nov 11 02:36:43 EST 2002 - Mention Test::Class in Test::More's SEE ALSO * use_ok() now DWIM for version checks - More problems with ithreads fixed. * Test::Harness upgrade no longer optional. It was causing too many problems when the T::H upgrade didn't work. * Drew Taylor added a 'no_diag' option to Test::More to switch off all diag() statements. * Test::Builder/More no longer automatically loads threads.pm when threads are enabled. The user must now do this manually. * Alex Francis added reset() reset the state of Test::Builder in persistent environments. - David Hand noted that Test::Builder/More exit code behavior was not documented. Only Test::Simple. 0.47 Mon Aug 26 03:54:22 PDT 2002 * Tatsuhiko Miyagawa noticed Test::Builder was accidentally storing objects passed into test functions causing problems with tests relying on object destruction. - Added example of calculating the number of tests to Test::Tutorial - Peter Scott made the ending logic not fire on child processes when forking. * Test::Builder is once again ithread safe. -- Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern/ Keep your stick on the ice. -- Red Green