Run "All specs in: features"
Until recently right clicking on the features folder gave me the option to 'Run "All features in: features"' but this has recently changed to the rather non sensical option in the subject. Can anyone tell me what I have done to break this?
Thanks in advance.
请先登录再写评论。
Well I have no idea what I did, but the option is now appearing again. I would still love an explanation, but I can no longer repeat the problem (for now, at least).
I managed to repeat the problem (don't know how) and this time found and remembered the solution: Run | Edit Configurations, right click on Cucumber - Add New Configuration
Not clear for me, I'm not sure that I understand it right. Could you give more detailed explanation of the problem?
Normally right clicking on the Features folder offers the option "Run all Features in Features" (with a "Run all Specs ..." option as well). For some reason that option disappeared for me, leaving only the "Run all Specs..." option (which was not much use as the features folder only contained cucumber .feature files.
It has happened twice but I have not seen a pattern I'm afraid.
Run "All features in .." menu item is shown if "cucumber" gem is attached in RubyMine project settings. Probably "cucumber" gem registration was commented in your Gemfile or you had just added it and RubyMine didn't refresh attached gems list.