0

I am facing an issue. I am testing micro-services and we use specflow for test automation. In BeforeTest if I get an exception (e.g. due to connection). I see BeforeFeature methods of my feature files still does get called.

I would like to assert and show message in before feature itself and then stop test execution. I don't want test to go into BeforeFeature methods and start executing. Can I get help in this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.