Cucumber with IronRuby

Seems like the forums file attach limit is less then 1.5 MB (Are we
living in the 80’s? :slight_smile:

Anyway, here is the url:

http://www.highoncoding.com/articledownloads/IronRubyConsoleApp.zip

Jim D. wrote:

Ok. We’re missing something here. Let’s take this offline. Email me
personally, with a copy of your project if you can.

JD

Heh, that’s why I said send it to me offline. Anyways, addition.rb is
pure ruby, you can’t have the last three lines of the file as is.

JD

But I am trying to execute prime_steps.rb. Does it execute all of them
by default or something??

Jim D. wrote:

Heh, that’s why I said send it to me offline. Anyways, addition.rb is
pure ruby, you can’t have the last three lines of the file as is.

JD

Ok. We’re missing something here. Let’s take this offline. Email me
personally, with a copy of your project if you can.

JD

I cannot believe it that was the problem. I deleted the addition.rb file
and it started working. Lesson learned!! Cucumber will execute
everything inside the step_definations.

Jim D. wrote:

Heh, that’s why I said send it to me offline. Anyways, addition.rb is
pure ruby, you can’t have the last three lines of the file as is.

JD

It loads all of them by default

The thing is, you might have a login.rb file that has login steps, that
is then used in all of your features that require logging in. It appears
you can override automatic loading via -r, but otherwise, it has to load
everything to be safe.

JD