[rspec-users] cucumber - mark a step as pending

aslak hellesoy aslak.hellesoy at gmail.com
Tue Sep 9 13:47:34 EDT 2008


On Tue, Sep 9, 2008 at 7:16 PM, David Chelimsky <dchelimsky at gmail.com> wrote:
> Aslak - I think Matt is looking for this:
>
> Given /blah/ do
>  pending
> end
>

I'm not crazy about this "feature". We already have a pending
mechanism for steps (not defining them). What does this bring to the
table over just not defining a step?

> Matt - I'm pretty sure that will work - give it a shot, OK?
>

That won't work. It will raise a "undefined local variable or method `pending'"

Aslak

> On Tue, Sep 9, 2008 at 12:09 PM, Aslak Hellesøy
> <aslak.hellesoy at gmail.com> wrote:
>> A plain text step with no matching step definition is pending.
>>
>> Sent from my iPhone
>>
>> On 9. sep.. 2008, at 19.05, "David Chelimsky" <dchelimsky at gmail.com> wrote:
>>
>>> Have you tried?
>>>
>>> On Tue, Sep 9, 2008 at 12:01 PM, Matt Wynne <matt at mattwynne.net> wrote:
>>>>
>>>> I love the way I can throw a call to pending() in the top of an
>>>> unfinished
>>>> RSpec example and stop it from failing the build.
>>>> Is there a similar way to do such a thing with good ole' cucumber?
>>>>
>>>> cheers,
>>>> Matt
>>>> ----
>>>> http://blog.mattwynne.net
>>>> http://songkick.com
>>>> In case you wondered: The opinions expressed in this email are my own and
>>>> do
>>>> not necessarily reflect the views of any former, current or future
>>>> employers
>>>> of mine.
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> rspec-users mailing list
>>>> rspec-users at rubyforge.org
>>>> http://rubyforge.org/mailman/listinfo/rspec-users
>>>>
>>> _______________________________________________
>>> rspec-users mailing list
>>> rspec-users at rubyforge.org
>>> http://rubyforge.org/mailman/listinfo/rspec-users
>>
>> _______________________________________________
>> rspec-users mailing list
>> rspec-users at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
>>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list