[rspec-users] Skipping the testscenario based on Given block execution.
joe at josephwilk.net
Tue May 19 05:42:49 EDT 2009
Anil Gollaa wrote:
> I think i am not clear.
> My query is while running the testcases,
> Some times precondition of testcase fails, when precondition itself
> fails there is no point in executing the testcase further.
> so , is there any way in cucumber to skip execution of scenario when
> precondition of testcase fails.
In a Scenario if any step fails the following steps of that scenario
This is the current behaviour of Cucumber. Older versions of Cucumber
had some trouble with properly skipping these steps.
More information about the rspec-users