Mat*_*ias 7 gem ruby-on-rails
是否有可能在rake任务上运行simplecov coverage-tool而不是每次运行测试时?
The*_*ous 7
您可以使用环境变量解决此问题:
SimpleCov.start if ENV["COVERAGE"]
然后,运行rake test/rspec/cucumber with
$ COVERAGE=true rake test
归档时间:
15 年,2 月 前
查看次数:
1922 次
最近记录:
9 年,2 月 前