version added: 1.0.0

Allow re-running of previously failed tests out of order, before all other tests.


type boolean
default true

By default, QUnit will first re-run any tests that failed on a previous run. For large test suites, this can speed up your feedback cycle by a lot.

Note that this feature may lead to unexpected failures if you have non-atomic tests that rely on a very specific execution order. You should consider improving such tests, but this option allows you to disable the reordering behaviour.

When a previously failed test is running first, the HTML Reporter displays “Rerunning previously failed test” in the summary whereas just “Running” is displayed otherwise.