http://www.pobox.com/~schwern/src/Test-Simple-0.31.tar.gz
Three major new things in this version. I think this should make everyone happy. * Test::More::is_deeply() A deep comparison version of is() with sensible diagnostics: use Test::More tests => 1; $foo = { foo => [1..9] }; $bar = { foo => [1..10] }; is_deeply($foo, $bar); 1..1 not ok 1 # Failed test (- at line 4) # Structures begin differing at: # $got->{foo}[9] = Does not exist # $expected->{foo}[9] = '10' properly displaying structures involving scalar references still needs some work. Look at the test commented out in t/is_deeply.t for details. I need to gut this functionality out of Test::More and into Test::Builder so others can use it. * use Test::More tests => 42, import => [!fail]; Control of what functions Test::More exports. * Test::Builder->no_header and Test::Builder->no_ending Control of if the "1..42" line is displayed and if the end of tests diagnostics are done (ie. the "# looks like you failed..."). 0.31 Mon Oct 8 19:24:53 EDT 2001 * Added an import option to Test::More * Added no_ending and no_header options to Test::Builder (Thanks to Dave Rolsky for giving this a swift kick in the ass) * Added is_deeply(). Display of scalar refs not quite 100% (Thanks to Stas Bekman and Apache::TestUtil idea thievery) - Fixed a minor warning with skip() (Thanks to Wolfgang Weisselberg for finding this one) 0.30 Thu Sep 27 22:10:04 EDT 2001 * Added Test::Builder * Diagnostics are back to using STDERR *unless* it's from a todo test. Those go to STDOUT. - Fixed it so nothing is printed if a test is run with a -c flag. Handy when a test is being deparsed with B::Deparse. -- Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One Lesbian lovers return to fourth grade slogans EAT SOME PASTE, they cry sobbing lesbian excluded from the party allergic to wheat -- mjd