/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.
我在这里想念什么?
最佳答案
我终于在周末有一些时间自己研究一下。
问题是.autotest文件中的“ require'redgreen / autotest'”语句
我将自动测试配置保留在〜/ .autotest中
注释该行以及“ autospec”,“ autotest”和“ cucumber”都可以正常工作。