能够在步骤失败后继续下一步(空手道)
Be able to continue Next Steps after a failed step (karate)
在某些功能中,我需要步骤在步骤失败后继续(不被跳过)。
是否可以在空手道中配置设置?
简化示例:
* create product A
Given delete a product
When path is wrong
Then status should be 404
* delete product A
所以,如果 Then status should be 404
失败,我希望 delete product A
成为 运行 而不是被跳过
为此使用 JS,请参阅 conditional logic
上的文档
在某些功能中,我需要步骤在步骤失败后继续(不被跳过)。 是否可以在空手道中配置设置? 简化示例:
* create product A
Given delete a product
When path is wrong
Then status should be 404
* delete product A
所以,如果 Then status should be 404
失败,我希望 delete product A
成为 运行 而不是被跳过
为此使用 JS,请参阅 conditional logic
上的文档