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!"
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.
Hello aidy,
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!"
Hello Aidy,
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.
Hi,
Thanks for the response.
I have associated 0.3.8 to the project, and the cukes icon marks the feature files (nice).
If I right-click the features folder and choose run 'Run All in features' I am given only Rspec and Test;;Unit configuration options.
I can right-click any feature but I do not receive a run\debug option for that particular file.
Aidy