我可以使用rake:models
为黄瓜测试而不仅仅是rake
并在所有级别运行所有测试的任何选项都可以做到这一点吗?
我试过了:
$ rake spec:cucumber
rake aborted!
Don't know how to build task 'spec:cucumber'
答案 0 :(得分:12)
您应该可以只运行rake cucumber
rake -T
的快速输出显示:
rake cucumber # Alias for cucumber:ok
rake cucumber:all # Run all features
rake cucumber:ok # Run features that should pass
rake cucumber:rerun # Record failing features and run only them if any exist
rake cucumber:wip # Run features that are being worked on