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

2008-09-17 Thread [EMAIL PROTECTED]
On Sep 9, 11:16 pm, Pat Maddox <[EMAIL PROTECTED]> wrote: > "aslak hellesoy" <[EMAIL PROTECTED]> writes: > > On Tue, Sep 9, 2008 at 7:16 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > >> Aslak - I think Matt is looking for this: > > >> Given /blah/ do > >>  pending > >> end > > > I'm not crazy

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

2008-09-09 Thread Pat Maddox
"aslak hellesoy" <[EMAIL PROTECTED]> writes: > On Tue, Sep 9, 2008 at 7:16 PM, David Chelimsky <[EMAIL PROTECTED]> 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

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

2008-09-09 Thread Matt Wynne
On 9 Sep 2008, at 21:34, aslak hellesoy wrote: On Tue, Sep 9, 2008 at 8:46 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: On Tue, Sep 9, 2008 at 12:47 PM, aslak hellesoy <[EMAIL PROTECTED]> wrote: On Tue, Sep 9, 2008 at 7:16 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: Aslak - I think Mat

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

2008-09-09 Thread aslak hellesoy
On Tue, Sep 9, 2008 at 8:46 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Tue, Sep 9, 2008 at 12:47 PM, aslak hellesoy > <[EMAIL PROTECTED]> wrote: >> On Tue, Sep 9, 2008 at 7:16 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: >>> Aslak - I think Matt is looking for this: >>> >>> Given /blah/

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

2008-09-09 Thread David Chelimsky
On Tue, Sep 9, 2008 at 12:47 PM, aslak hellesoy <[EMAIL PROTECTED]> wrote: > On Tue, Sep 9, 2008 at 7:16 PM, David Chelimsky <[EMAIL PROTECTED]> 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

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

2008-09-09 Thread Matt Wynne
It's by design, but I'm open for suggestions. David created a similar ticket yesterday: http://rspec.lighthouseapp.com/projects/16211/tickets/8-all-steps- after-a-failure-are-listed-as-skipped#ticket-8-1 Currently, only a failure (red) will cause subsequent steps to be skipped. In case I've

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

2008-09-09 Thread aslak hellesoy
On Tue, Sep 9, 2008 at 7:52 PM, Matt Wynne <[EMAIL PROTECTED]> wrote: > Yeah the trouble is it fails with the following error: > > Spec::Example::ExamplePendingError > > Which cucumber doesn't understand as anything other than a complete fail. > > Our workaround we've arrived at (thanks Aslak for p

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

2008-09-09 Thread Matt Wynne
Yeah the trouble is it fails with the following error: Spec::Example::ExamplePendingError Which cucumber doesn't understand as anything other than a complete fail. Our workaround we've arrived at (thanks Aslak for pointing out the obvious that we'd missed!) is to just write PENDING at the

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

2008-09-09 Thread aslak hellesoy
On Tue, Sep 9, 2008 at 7:16 PM, David Chelimsky <[EMAIL PROTECTED]> 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 ove

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

2008-09-09 Thread David Chelimsky
Aslak - I think Matt is looking for this: Given /blah/ do pending end Matt - I'm pretty sure that will work - give it a shot, OK? On Tue, Sep 9, 2008 at 12:09 PM, Aslak Hellesøy <[EMAIL PROTECTED]> wrote: > A plain text step with no matching step definition is pending. > > Sent from my iPhone

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

2008-09-09 Thread Aslak Hellesøy
A plain text step with no matching step definition is pending. Sent from my iPhone On 9. sep.. 2008, at 19.05, "David Chelimsky" <[EMAIL PROTECTED]> wrote: Have you tried? On Tue, Sep 9, 2008 at 12:01 PM, Matt Wynne <[EMAIL PROTECTED]> wrote: I love the way I can throw a call to pending(

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

2008-09-09 Thread David Chelimsky
Have you tried? On Tue, Sep 9, 2008 at 12:01 PM, Matt Wynne <[EMAIL PROTECTED]> 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, >

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

2008-09-09 Thread Matt Wynne
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 ex