webdriverio-boneyard / wdio-mocha-framework

A WebdriverIO v4 plugin. Adapter for Mocha testing framework.
MIT License
39 stars 30 forks source link

Wrap debug command to ensure mocha timeout not triggered #118

Open jaridmargolin opened 6 years ago

jaridmargolin commented 6 years ago

This is not the final implementation (missing tests), but wanted to open a quick PR to discuss if this would conceptually be considered for merge.

jsf-clabot commented 6 years ago

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

jaridmargolin commented 6 years ago

@christian-bromann any chance you could give this a quick look? This fixes the very annoying issue of needing to set the timeout each time you need to use a debug statement.

christian-bromann commented 6 years ago

Hey, yeah this would be very helpful. We should be consistent with Jasmine and Cucumber and apply the same change there too.

jaridmargolin commented 6 years ago

Ok... I have a little less familiarity with these two runners, but I'll give it a look.