[QUESTION] How can I forcefully abort a testcase and advance to next in queue #1755
Open
Description
- QUnit version: 2.20.1
- Which environment are you using? (e.g., browser, Node): browser
- How are you running QUnit? (e.g., QUnit CLI, Grunt, Karma, manually in browser): ember-qunit
We have a huge testsuite. Some testcases have been set assert.timeout
option upto 3 to 5 minutes. We cannot remove this timeout
option for now. Sometimes when any exception is thrown, tests are hanging for a long time (upto the timeout mentioned) before moving to the next testcase. We want to abort a test immediately if it throws any uncaught exception (not any test assertion failures) and proceed to next testcase. We couldn't able to find any option to do so. Is there any way to achieve this?