This Question is Not Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
3 Replies Last post: May 27, 2009 9:17 PM by aidy lewis  
aidy lewis Newbie 2 posts since
May 27, 2009
Currently Being Moderated

May 27, 2009 5:21 PM

Cucumber and RubyMine Guide

Hi,

 

Has anyone blogged about the setting up, GUI Test Runner and debugging of Cucumber feature files in RubyMine.

 

Do I need to always run through Rake for example?

 

Aidy

Dmitry Jemerov JetBrains 9,576 posts since
Aug 19, 2002
Currently Being Moderated
May 27, 2009 5:40 PM in response to: aidy lewis
Re: Cucumber and RubyMine Guide

Hello aidy,

 

Has anyone blogged about the setting up, GUI Test Runner and debugging

of Cucumber feature files in RubyMine.

 

Do I need to always run through Rake for example?

 

The only thing you need to set up is to go to Settings | Ruby SDK and Gems

and attach the Cucumber gem of version at least 0.3.7 to your project. After

that, you can right click on any .feature file and select "Run" or "Debug"

from the context menu. Running through Rake is also possible but not necessary.

 

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

 

 

 

Roman.Chernyatchik  JetBrains 864 posts since
Sep 18, 2007
Currently Being Moderated
May 27, 2009 5:35 PM in response to: aidy lewis
Re: Cucumber and RubyMine Guide

Hello Aidy,

 

Do I need to always run through Rake for example?

You can run feature files from context menu. If you right click on folder in project view RubyMine will allow to run all features in folder.

As for configuration - just attach cucumber-0.3.7 in RubyMine's Gem Manger (RM | Settings | Ruby SDK and Gems | Attach gems)

 

If you edited *.feature files in early version of RubyMine it may be mapped on Text file. So you should check that *.feature extension is mapped on "Cucumber scenario files" in RM | Settings | File Types |  Recognized File Types.

More Like This

  • Retrieving data ...