Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
考虑 RSpec 测试发现错误的情况。我写了 PR,但我希望测试继续进行。我可以评论 expect() 但我不想忘记失败。
有没有办法发出警告而不是失败?像 expect_warn(...,'PR0032')
当 PR 修复后,我想返回并替换为原始的 expect()
谢谢
您可以将规范标记为待处理或已跳过。