[rspec-users] After a step fails, if successive steps have been executed and passed, cucumber reports them as skipped

David Chelimsky dchelimsky at gmail.com
Thu Oct 30 13:07:17 EDT 2008

On Thu, Oct 30, 2008 at 12:02 PM, aidy lewis <aidy.lewis at googlemail.com> wrote:
> Hi,
> I have a Given step that fails: For that Scenario the remaining
> Given's, When, and Then's are reported as being skipped, even though
> theses steps have been executed.
> Why I am not submitting this to Lighthouse, is that I believe, this
> may be intentional design.
> However, would it not be more indicative to have these steps "pass"
> for example, if the successive steps have executed and passed?

This is absolutely by design. If a step passes or fails after another
has failed, you have no way of knowing if it would still pass or fail
once the other one is passing. Cucumber reports the first problem in a
scenario so you can fix that one and move on.


> Aidy
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list