/usr/local/bin/ruby -rrubygems -e "require 'redgreen'" /usr/local/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec --autospec <files_here> -O spec/spec.opts
invalid option: --autospec
Test::Unit automatic runner.
Usage: -e [options] [-- untouched arguments]
which spec says "/usr/local/bin/spec"
which autospec says "/usr/local/bin/autospec"
/usr/local/bin/spec --help includes --autospec option in the list.
我在這裏錯過了什麼?無效選項: - autospec
在rspec的彩色輸出,並且它還是彩色輸出! – 2010-07-29 19:20:50
單位測試部分不着色,黃瓜是。 – ramonrails 2010-08-01 16:39:32
還有什麼辦法讓單元測試着色? – stigi 2010-11-02 22:26:20