[rspec-users] [Cucumber] Enforce a skip on a non-implemented step
aslak.hellesoy at gmail.com
Wed Feb 25 06:41:29 EST 2009
On Wed, Feb 25, 2009 at 11:52 AM, aidy lewis <aidy.lewis at googlemail.com> wrote:
> When we create step defintions. For example:
> When /^that data is loaded$/ do
> The above is seen in the Cucucmber run as implemented.
> Is it possible to put something within this method to enforce a skip flag?
I'm not sure I understand what you mean. You want to skip running
certain step definitions if a certain condition is true?
When /^that data is loaded$/ do
# load the data
$ MAGIC=true cucumber ...
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users