How to exit running feature file completely when a Scenario fails in Cucumber framework | Selenium Forum
M
msudhir369 Posted on 27/08/2022
0

We have Cucumber framework on API testing with RestAssured (this could be with Selenium framework). Suppose I have a feature file having 20 Scenarios and when 5th Scenario fails I want to stop and exit completely of that feature.

i know when one Scenario fails it will jump to next and runs but I want it to exist competely the feature file itself.