QUnit Retry

JSON →
library 3.0.1 ·javascript
verified May 27, 2026

qunit-retry is a utility package for QUnit that provides a drop-in replacement for the standard `QUnit.test` function, enabling automatic retries for failing tests. This is particularly useful for handling intermittent failures in test environments, such as those caused by unreliable third-party services or network flakiness, rather than masking legitimate bugs. The current stable version is `3.0.1`. The library is actively maintained, with recent major and patch releases indicating ongoing development. Key features include the ability to configure the maximum number of retries globally or per test, support for `QUnit.test`'s full API (including `test.each` and `test.only`), and a `beforeRetry` hook to reset the testing environment between retry attempts. It distinguishes itself by seamlessly integrating into existing QUnit setups with minimal code changes, making it an efficient solution for improving test suite stability against non-deterministic external factors.

total hits 14
actors 6 distinct systems
last hit 6d ago MetaBot
GPTBot
5
MetaBot
4
Script
1
ClaudeBot
1
Search engines
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany