RubyMine 内からテストを実行しようとすると、問題が発生します。しかし、奇妙なのは、コマンド ラインからテストを実行すると正常に動作することです。
「テスト フレームワークが予期せず終了しました」
/usr/local/rvm/rubies/ruby-1.9.3-p392/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) -Itest /Users/sabour/Desktop/EIP/project/test/controllers/categories_controller_test.rb
Testing started at 1:39 AM ...
Run options: --seed 14336
# Running tests:
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228: warning: nested repeat operator + and ? was replaced with '*'
...
Finished tests in 2.554592s, 1.1744 tests/s, 8.6119 assertions/s.
3 tests, 22 assertions, 0 failures, 0 errors, 0 skips
Process finished with exit code 0
たぶん問題はその行から来ていますか?
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228: 警告: ネストされた繰り返し演算子 + と ? 「*」に置き換えられました...
モード:テスト スクリプト プリロード サーバーを使用:なし Ruby 引数: -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) -Itest Ruby SDK:プロジェクト
しかし、私はこのようなものが欲しいです:
ありがとうございました