简体   繁体   English

在RubyMine 6.3中的RSpec文件夹的上下文菜单中进行测试

[英]Tests in context menu of RSpec folder in RubyMine 6.3

I'm using RubyMine 6.3 for Rails 3.2 project. 我正在将RubyMine 6.3用于Rails 3.2项目。

At first, in a context menu of RSpec folder in Project panel I was able to choose from the list which test I'd like to run. 首先,在项目面板的RSpec文件夹的上下文菜单中,我可以从列表中选择要运行的测试。 I've chosen "Run 'all tests in spec: …' " by mistake and now it is an only option in the context menu. 我错误地选择了“运行'规范中的所有测试:...'”,现在它是上下文菜单中的唯一选项。

How could I change context menu option from "Run 'all tests in spec: …' " to "Run 'all specs in spec: …' " or at least reset it to default? 如何将上下文菜单选项从“运行'规范中的所有测试:...'”更改为“运行'规范中的所有测试:...'”,或者至少将其重置为默认值?

Check the "run" menu. 检查“运行”菜单。 You should see an option that lets you edit configurations. 您应该看到一个用于编辑配置的选项。 If you remove all the configurations that exist for the item you are testing then ruby mine will use the default to create a new configuration the next time you run a test. 如果您删除了要测试的项目的所有配置,那么下次运行测试时,ruby mine将使用默认值创建新配置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM