in reply to Re: RFC: Test::Cases -- Worth releasing?
in thread RFC: Test::Cases -- Worth releasing?
That's an interesting approach. I've tried similar things at times but usually found that maintaining the separate files meant more work keeping my inputs and outputs in sync -- but I could see that approach being better if the files themselves are particularly long.
As for diff, I actually use Test::Differences instead of Test::More's is() (but only if it's available so end users won't need Test::Differences as a dependency) to give me that kind of comparison, but I could see that direct access to diff would make some complex cases easier to figure out. (I wish I could get unified context diffs from Test::Differences.)
-xdg
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: RFC: Test::Cases -- Worth releasing?
by sgifford (Prior) on Sep 16, 2005 at 16:49 UTC |