Failure on before hook skips all tests but marks execution as passed
javierbrea opened this issue · comments
When there is an error in a "before" hook, all tests in the spec file are skipped, but the execution is marked as "passed", as no one test has failed.
It is desirable to mark the spec execution as "failed" somehow, or to force the next test to fail, so the execution will be marked as failed. It is also desirable to get traces about the error in the hook.