/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”工作正常。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)