Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

The whole test suite is failed when beforeEach hook is failed #154

Open
sanyco92 opened this issue Mar 14, 2019 · 0 comments
Open

The whole test suite is failed when beforeEach hook is failed #154

sanyco92 opened this issue Mar 14, 2019 · 0 comments

Comments

@sanyco92
Copy link

Hello, I'm facing a similar issue as described in mochajs/mocha#1014 thread. I have a test suite with 100+ scenarios, and also I have beforeEach hook. But sometimes something may go wrong and 'beforeEach' hook can be failed. I don't need to stop the whole test suite execution, instead, I need to continue execution of the following test scenarios. But it looks like mocha just exits and test execution is stopped. I tried the solution from mochajs/mocha#1014, changed some parts of the code and it works as I need. Could someone add this fix to wdio-mocha-framework? Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant