webdriverio-boneyard / wdio-jasmine-framework

A WebdriverIO v4 plugin. Adapter for Jasmine testing framework.
http://webdriver.io/
MIT License
23 stars 23 forks source link

Implement Stop After Failure Functionality #51

Open ChadKillingsworth opened 7 years ago

ChadKillingsworth commented 7 years ago

From the discussion at webdriverio/webdriverio#1928

Jasmine has implemented the concept of stopping after the first failure: https://github.com/jasmine/jasmine-npm/blob/80e6b334d424202893519e6900568c65a663db40/lib/jasmine.js#L147-L149

However, it simply causes expectations to throw exceptions. Based on the framework tests, those throws are intentionally ignored.

I have been unable to figure out how to properly handle this. If I can get some guidance, I'll PR the changes.

christian-bromann commented 7 years ago

I have been unable to figure out how to properly handle this. If I can get some guidance, I'll PR the changes.

@ChadKillingsworth what kind of guidance do you need? Happy to help!