Testing 如果一个测试失败,是否可以跳过testcafe中的fixture或整个文件?
testcafeTesting 如果一个测试失败,是否可以跳过testcafe中的fixture或整个文件?,testing,automation,automated-tests,e2e-testing,testcafe,Testing,Automation,Automated Tests,E2e Testing,Testcafe,testcafe中只有一个选项--stop on first fail停止整个测试运行,而不仅仅是夹具或文件。是否有可能以某种方式分离或隔离设备或文件?我的目标是分离失败的文件,因此如果测试失败,它将停止整个文件/装置,测试运行将继续到另一个文件/装置。我想,这个功能还没有实现,我将不得不使用javascript。TestCafe中现在没有这样的功能,我看不到这个场景的任何解决方法。我建议您使用表单在TestCafe github存储库中创建一个建议。谢谢您的回答。我犯了一个逻辑错误,我想,这个
中只有一个选项--stop on first fail
停止整个测试运行,而不仅仅是夹具或文件。是否有可能以某种方式分离或隔离设备或文件?我的目标是分离失败的文件,因此如果测试失败,它将停止整个文件/装置,测试运行将继续到另一个文件/装置。我想,这个功能还没有实现,我将不得不使用javascript。TestCafe中现在没有这样的功能,我看不到这个场景的任何解决方法。我建议您使用表单在TestCafe github存储库中创建一个建议。谢谢您的回答。我犯了一个逻辑错误,我想,这个测试被认为是测试套件中一个较小的逻辑部分。而是测试套件本身。如果我想在javascript中创建一些逻辑,我需要将其放在test()
中。