Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.

Latest commit

 

History

History
29 lines (24 loc) · 992 Bytes

File metadata and controls

29 lines (24 loc) · 992 Bytes
layout page-api
title QUnit.config.reorder
excerpt Allow re-running of previously failed tests out of order.
groups
config
redirect_from
/config/reorder/
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.