本文介绍了一切变绿后,我如何让autospec/test不运行完整的测试套件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
与 twitter 中的waloeiii相同的问题:
Same question as waloeiii in twitter:
我宁愿手动运行完整的测试套件.
I'd rather run the full test suite manually.
顺便说一句,我尝试添加一个失败的规范:
By the way, I tried adding a failing spec:
it "should flunk" do
flunk
end
但是当感觉到时autospec似乎会忽略它.
but autospec seems to ignore it when it feels like it.
推荐答案
有点晚了,但是我也在寻找这个,所以以为我会发布我的解决方案:
Bit late but I was looking for this as well so thought I'd post my solution:
在〜/.autotest中添加以下内容:
Add the following to ~/.autotest:
class Autotest
def rerun_all_tests
end
end
这篇关于一切变绿后,我如何让autospec/test不运行完整的测试套件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!