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

aslak hellesoy aslak.hellesoy at gmail.com
Wed Jan 14 12:47:11 EST 2009


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

> Hello RSpec forum,
> So...I realize this is a bit of a crazy question, but I wanted to throw
> it out there to see what answers came back: is there any way to start an
> "interactive Cucumber" session similar to irb?
>
> For example:
> bash> crb
> >> Given that I do stuff
> >> When I do more stuff
> >> Then stuff should happen
>
> For each line, this imaginary "crb" utility would search some feature &
> steps folders that I define somewhere, go look them up and then execute
> them one by one. I was thinking it'd be kinda neat for experimenting and
> playing around.
>

What value vould it bring over plain old:

cucumber features/scratchpad.feature:34


> Also, I'm my own case, I'm integrating Cucumber with Selenium, so it'd
> be nice to be able to drive the browser and play around as you're
> writing up a feature (I was thinking the QA folks I work with would find
> it pretty fun).
>
> Is this even possible, or am I dreaming the impossible dream? What would
> it take to accomplish? I'd love to contribute this if it was doable. :)
>

I assume you've stumbled upon this:
http://wiki.github.com/aslakhellesoy/cucumber/setting-up-selenium

Aslak


>
> Thank you!
> Sebastian
> --
> 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/507125d2/attachment.html>


More information about the rspec-users mailing list