使用RSpec,我可以指定记录的故障吗?

使用RSpec,我们可以使用--only-failures标志在fail_examples.txt中运行示例。

如果我将该文件复制为Featured_examples.txt,是否可以通过该文件中的示例运行RSpec?

chntm2000 回答:使用RSpec,我可以指定记录的故障吗?

RSpec似乎不支持它,但要扑救一下!

类似的事情应该起作用

cat failed_examples.txt | xargs rspec

或者也许

rspec $(cat failed_examples.txt)
本文链接:https://www.f2er.com/3120537.html

大家都在问