我在 pytest-bdd 上实现了这样的场景
Scenario: Shopping Cart Verification
Given I am out for shopping shopping and took a cart
Given I added "2" "Tomatoes" to the cart
Given I added "3" "Bread" to the cart
Then there is "3" "Tomatoes" in the cart
Then there is "3" "Bread" in the cart
Then there are "5" items in the cart
在这里我们可以看到该步骤(然后购物车中有“3”“西红柿”)将失败,测试执行将在那里停止,其余步骤将不会执行。那么即使pytest bdd中的一个或多个步骤失败,有什么方法可以继续测试执行吗?