rubyMineすべてのモデルテストを実行しているときに 'MiniTest framework was detected'エラーが発生しました。rubyMine 'テストレポーターをテストフレームワークに添付できません'
すべてのモデルテストは、通常のコマンドラインで実行できます。例: rake spec:models
rubyMineを使用すると:
私は1つのモデルテストを実行できます。
は、しかし、私は、モデル内のすべてのテストを実行しようとすると、私は
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に「テスト・ユニット」を追加し、rebundlingみましたが、現在は入手:
`/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 ルビーマイン3.2
私は同様の問題を持っているhttp://stackoverflow.com/questions/7575057/exception-message-no-such-file-to-load-in-rails-applicationと私の作業ディレクトリは、アプリケーションのルートを指しています。助けてください。ありがとう! – Ava
これも私の問題を解決しました:/usr/local/rvm/rubies/ruby-2.0.0-p195/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in 'require ':できませんそのようなファイルをロードする - spec_helper(LoadError) –