[rspec-users] IRB-like utility for Cucumber?

aslak hellesoy aslak.hellesoy at gmail.com
Wed Jan 14 16:22:12 EST 2009


On Wed, Jan 14, 2009 at 9:55 PM, Sebastian W. <lists at ruby-forum.com> wrote:

> Aslak Hellesøy wrote:
>
>
> > cucumber features/scratchpad.feature:34
> >
> >
>
> Hi Aslak, I tried running this against one of my own feature files, but
> it didn't seem to do anything? I wasn't sure what was supposed to
> happen. Any light you can shed would be awesome. : )
>

The :line suffix tells cuke to run only the scenario on that particular
line.

http://wiki.github.com/aslakhellesoy/cucumber/running-features
cucumber --help

Aslak


>
>
> > I assume you've stumbled upon this:
> > http://wiki.github.com/aslakhellesoy/cucumber/setting-up-selenium
> >
>
> Yes! It is awesome. Thanks a million.
>
> For Scott: I definitely want to do the same thing with the debugger,
> being able to step through the steps and so forth, but the use case for
> "crb" would be just to play around and try writing expressions for fun.
>
> E.g. if I wrote "Given that I do some step that hasn't been implemented
> yet", the utility might say "=> pending" or some other message. I don't
> know, color the shell yellow maybe, for the return value?
>
> Bottom line is that this is more for fun than profit. :)
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20090114/8203b759/attachment.html>


More information about the rspec-users mailing list