当我尝试从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
也许问题来自于这一行?
and /usr/local/rvm/gems/ruby-1.9.3-p392/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:警告:嵌套的重复运算符+
?已替换为“*”...
模式:测试脚本使用预加载服务器: none Ruby参数: -e -e -Itest Ruby SDK:项目
但我很想要这样的东西:
谢谢
https://stackoverflow.com/questions/24570266
复制相似问题