Min*_*ohn 5 rspec colors rubymine rspec2
我使用Rspec进行测试,但无法找到如何将灰色更改为红色和绿色.我测试了很多 - 特别是当发生错误时 - 我很难读取传递和失败.
你能帮忙的话,我会很高兴 :)
Tra*_*ash 5
我通过做以下两件事来运行它:
-c
Runner options
在您的 中spec_helper.rb,添加以下代码:
spec_helper.rb
RSpec.configure do |config| config.tty = true end
附加信息:http : //rubyforge.org/pipermail/rspec-users/2011-January/019327.html
归档时间:
12 年,7 月 前
查看次数:
646 次
最近记录:
11 年,2 月 前