2012-05-30 36 views
0

是否有任何通過testrb獲取顏色的方法,它不涉及將測試單元添加到gemfile並在1.9上使用bundle exec(所有顏色爲1.8)?Ruby:如何在testrb中獲取顏色

  • ruby test/xxx_test.rb - >顏色
  • testrb test/xxx_test.rb - >無顏色
  • 測試單元添加到Gemfile中和bundle exec testrb test/xxx_test.rb - >顏色

回答

0

--use-color=yes的伎倆......好東西它不是記錄在案:D