rubyMine'无法将测试报告者附加到测试框架'

Mic*_*ant 13 testing rspec model ruby-on-rails rubymine

运行所有模型测试时,检测到rubyMine'MiniTest框架'错误.

我可以在常规命令行运行所有模型测试.例如,rake spec:models
当我使用rubyMine时:
我可以运行一个模型测试.
但是,当我尝试在模型中运行所有测试时,我得到了
MiniTest framework was detected. It is a limited version of original Test::Unit framework. RubyMine/IDEA Ruby plugin test runner requires full-featured version of the framework, otherwise default console tests reporter will be used instead. Please install 'test-unit' gem and activate it on runtime.

我尝试将'test-unit'添加到我的Gemfile并重新绑定,但现在得到:

`/home/durrantm/.rvm/rubies/ruby-1.9.2-p180/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) 
  /home/durrantm/Downloads/RubyMine-3.2.3/rb/testing/runner/tunit_in_folder_runner.rb
Testing started at 9:33 AM ...
Work directory: /home/durrantm/Dropbox_not_syncd/webs/3/rubyists/spec/models}
Loading files.... 
=========================================
0 files were loaded.
=========================================
Searching test suites...
=========================================
0 test suites, 0 tests, 0 assertions, 0 failures, 0 errors
Process finished with exit code 0`
Run Code Online (Sandbox Code Playgroud)

注意:搞笑}在工作目录中.我还是得到了Unable to attach test_reporter to test fraemwork message.

版本:Ubuntu 11 RubyMine 3.2

Mic*_*ant 11

我终于开始工作了.主要通过更改菜单下的内容:
运行 - >编辑配置 - >单击Rspec - >创建新配置.

对于新配置,确保specs文件夹指向应用程序规格模型.

最后一步(实际上让它工作的那一步)是将工作目录(仍然在运行/调试配置屏幕上)设置为我的应用程序根目录!

我还做的另一件事是添加gem 'test-unit'到Gemfile并捆绑它当然.然而,后来的测试(删除它和分拆)显示它不需要,实际上是使用空套件进行多次测试(可能尝试默认unit :: test以及运行rspec).