Skip to content
SPECIFICTION
Get listed

QUnit vs uvu

QUnit

qunitjs.com

uvu

github.com

Side by side

FigureQUnituvu
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WebYesYes
WindowsYes—
macOSYes—
LinuxYes—
iOSYes—
AndroidYes—
APIYes—
Self-hostedYes—
Plans published11
Spec score · JavaScript Testing Frameworks8.5 (#2)7.6 (#11)
IntegrationsDocumented browser automation integrations include Karma, Web Test Runner, Testem, WebdriverIO, and TestCafe.The README demonstrates using `uvu` with Node.js and shows `esm` as a preload for legacy Node.js versions.
Intended usersQUnit is intended for developers testing JavaScript in the environment where the code runs, including browsers, workers, and servers.The project describes uvu as a test runner for Node.js and browser projects.
PurposeQUnit is a JavaScript testing framework originally developed for jQuery and now used by JavaScript libraries and applications.uvu is a fast, lightweight test runner for Node.js and the browser.

Plans

QUnit

  • QUnitFree

QUnit pricing →

uvu

  • uvuFree

uvu pricing →

In their own words

QUnit

QUnit is a free JavaScript testing framework first developed for the jQuery project. It runs in web browsers, Node.js, SpiderMonkey and Web Worker threads, so developers can test code in different runtime environments. Its APIs allow custom assertions, test runners and reporters. Browser releases have no runtime dependencies, and the project describes Node.js setup as requiring zero configuration and browser setup as minimal. For DOM tests, QUnit resets fixture markup after each test. Its browser reporter presents results and can include expected and actual values, assertion details and failure stack traces. Developers can rerun selected tests or modules and prioritize previously failing tests. Guides cover modules, asynchronous tests, callbacks and assertions, while plugins can add or modify capabilities such as DOM assertions, themes and JUnit XML reports. QUnit integrates with browser automation tools including Karma, Web Test Runner, Testem and WebdriverIO’s QUnit service. QUnit 3.0 is distributed through the jQuery CDN and npm, and is also installable with Yarn. For its ESM version, the compatibility guide lists Node.js 18+ and specified browser versions.

Visit qunitjs.com

uvu

uvu is a free, lightweight test runner for Node.js and browser projects. It supports individually executable test files, asynchronous tests that may return Promises, native ES modules and a familiar API. Tests can be grouped into named suites or registered through a simpler test interface, and snapshot testing is supported. Each file is self-contained and can also be run directly with Node.js. The optional CLI collects and executes suites, with options to stop after the first failure, ignore patterns, preload modules, set a working directory and colorize output. When a directory is specified, file matching takes a regular-expression pattern rather than relying on glob patterns. The optional assertion module works in browsers and can be swapped for another library, including Node.js’s native assert. Installation uses `npm install --save-dev uvu`. Package metadata specifies Node.js version `>=8`; the repository identifies the project as MIT licensed and credits Luke Edwards.

Visit github.com