Cucumber Configuration with Radiant

Configuring cucumber with Radiant Application:

The command  > ruby script/generate cucumber does not succeed in case of Radiant application.

Issues encountered:

The command  >ruby script/generate cucumber
cannot be executed.

It gives error “Couldn’t find ‘cucumber’ generator”

Possible reason & solution:

Seems that this is because Radiant Application does not use generator and looks for generators in other places. Solution to this would be generate new Rails Application and execute the above command.Then manually copy the generated directory “features” under the root of your Radiant application.

Of course you need to copy all your written features and step-definitions in this directoy. This should hold good !!!

Now you can use Cucumber as it is with your normal rails application.

This entry was posted in CMS, Radiant, Ruby on Rails and tagged . Bookmark the permalink.