Cancel test execution in BeforeScenario Hook's methodAnswered
We added scenario title naming convention (squashTMId-title), add I would like to check scenario title in the code and throw an exception if the name doesn't follow the convention.
Right now when I throw an exception in BeforeScenario method the test continue.
What is the proper way to do this ?
Please sign in to leave a comment.