2

我可以运行所有模型rake:models

有什么选择可以为黄瓜测试而不是仅仅rake运行所有级别的所有测试?

我试过:

$ rake spec:cucumber
rake aborted!
Don't know how to build task 'spec:cucumber'
4

1 回答 1

14

你应该能够运行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
于 2012-08-28T17:31:33.683 回答