lundi 11 novembre 2019

In TechTalk SpecFlow, how do I abandon a Scenario?

My scenario reads a file with hundreds of lines. Each line calls an API Service, but the service may not be running. If I get a non-200 response (available inside the 'Then' method), I want to abandon the Scenario & save time. How can I tell TechTalk SpecFlow to not carry on with the other tests?

Aucun commentaire:

Enregistrer un commentaire