On Wed, Dec 19, 2001 at 12:20:35PM -0700, chromatic wrote: > On Wed, 19 Dec 2001 05:12:05 -0700, Michael G Schwern wrote: > > > Its been on the TODO list to toss a diag() into Test::More. > > > > ok( ... ) || diag(...); > > > > for some reason I keep putting it off. > > > > Test::Simple won't get one, it would double the size of the API! ;) > > Something like this? diffing against a directory tree is odd... there must be > a better way.
diff -Naur old-dir new-dir works here, but only if both directory trees are pristine. Now that I've got Diff::Text out the door (though a bugfix release is headed out soon), perhaps a program that uses File::Find and Diff::Text while ignoring binary files, things matching MANIFEST.SKIP, and editor droppings wouldn't be a bad thing. Oh, for a mass injection of free time... Looks nice to me (not that I have anything to do with Schwern's modules :), but I think it needs to be in Test::More instead of Test::Simple. - Barrie