[rspec-users] Nicer failure message formatting
aslak.hellesoy at gmail.com
Fri Jun 22 09:08:05 EDT 2007
On 6/22/07, Tom Locke <tom at hobocentral.net> wrote:
> Are there any tools around that make rspec's failure messages easier
> to read?
> unit_diff from ZenTest doesn't seem to work - unless I missed something.
> A simple but very helpful improvement would be to use more line-
> breaks, e.g.
> Current output:
> expected "this is a very long string blah blah", got "this is a very
> very long string blah blah" (using ==)
> Easier to read:
> "this is a very long string blah blah"
> "this is a very very long string blah blah"
> (using ==)
Try the --diff option. But I agree that we should consider breaking
things up like you suggest anyway.
What do others think?
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users