pretty errors for: aString.should == aDiffString
Reported by Dr Nic | November 2nd, 2008 @ 04:57 AM
Apparently rspec has a --diff option (ruby some_spec.rb --diff) so that string comparisons are displayed as diffs rather than showing both strings.
Is there a way to enabled this for the cucumber app?
(created via http://rspec.lighthouseapp.com/p...
Comments and changes to this ticket
-
Aslak Hellesøy November 2nd, 2008 @ 11:25 AM
Currently not implemented in Cucumber, but the RSpec code could be reused from Cucumber.
-
Aslak Hellesøy December 3rd, 2008 @ 06:05 PM
However - we should avoid hard deps on RSpec, so we'll probably "borrow" the diff code instead so that people not using RSpec can get diffs too.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
TreeTop based implementation of rbehave (a.k.a. Story Runner, a.k.a. Feature Runner)
