我有几个跳过的规范。
Pending: (Failures listed here are expected and do not affect your suite's status)
1) ...
# Not yet implemented
# ./spec/requests/request_spec.rb:22
如何抑制未决规范的输出?
最佳答案
您可以添加以下配置选项以从运行中过滤掉所有待处理的规范:
RSpec.configure do |config|
config.filter_run_excluding skip: true
end
此外,here是一个更详细的抑制输出的建议
关于ruby - 如何禁止在 RSpec 中显示挂起(跳过)的规范?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29906229/