运行所有模型测试时,rubyMine 'MiniTest framework was detected' 错误。
我可以在常规命令行上运行所有模型测试。例如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.
我尝试将“测试单元”添加到我的 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`
注意:有趣的 } 在工作目录中。我仍然得到Unable to attach test_reporter to test fraemwork message
.
版本:Ubuntu 11 RubyMine 3.2