Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/testing/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Testing 如果一个测试失败,是否可以跳过testcafe中的fixture或整个文件?_Testing_Automation_Automated Tests_E2e Testing_Testcafe - Fatal编程技术网

Testing 如果一个测试失败,是否可以跳过testcafe中的fixture或整个文件?

Testing 如果一个测试失败,是否可以跳过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存储库中创建一个建议。谢谢您的回答。我犯了一个逻辑错误,我想,这个

testcafe
中只有一个选项--stop on first fail
停止整个测试运行,而不仅仅是夹具或文件。是否有可能以某种方式分离或隔离设备或文件?我的目标是分离失败的文件,因此如果测试失败,它将停止整个文件/装置,测试运行将继续到另一个文件/装置。我想,这个功能还没有实现,我将不得不使用javascript。

TestCafe中现在没有这样的功能,我看不到这个场景的任何解决方法。我建议您使用表单在TestCafe github存储库中创建一个建议。

谢谢您的回答。我犯了一个逻辑错误,我想,这个测试被认为是测试套件中一个较小的逻辑部分。而是测试套件本身。如果我想在javascript中创建一些逻辑,我需要将其放在
test()
中。