Skip to content

Commit

Permalink
Docs: Mention "reorder" origin story
Browse files Browse the repository at this point in the history
Might further improvements!
  • Loading branch information
Krinkle committed Jul 16, 2024
1 parent e41bbb3 commit 5e61dbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/api/config/reorder.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ By default, QUnit will prioritize re-running tests that failed on a previous run
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.

This feature is limited to [browser environments](../../browser.md) by default, as it utilizes the `sessionStorage` API. Set [QUnit.config.storage](./storage.md) to enable this feature in Node.js or in other environments.

The QUnit reorder feature was inspired by Kent Beck, who designed a similar mechanism in JUnit Max for Eclipse. <sup>[[1]](https://topenddevs.com/podcasts/javascript-jabber/episodes/050-jsj-qunit-with-jorn-zaefferer) [[2]](https://www.youtube.com/watch?v=g9ykvSI0gjg) [[3]](https://web.archive.org/web/20141018095913/http://junitmax.com/)</sup>

0 comments on commit 5e61dbe

Please sign in to comment.