# qunit

> The powerful, easy-to-use testing framework.

Latest version **2.26.0** (published 2026-06-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install qunit
pnpm add qunit
yarn add qunit
bun add qunit
```

Provides the command `qunit`.

## Health

**Score 58/100 (C)** — status: active.

Positive: has types package; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 2.26.0 |
| Published | 2026-06-01 |
| First published | 2011-11-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/qunit) |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 3 |
| Unpacked size | 304.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4030 |
| Author | OpenJS Foundation and other contributors |
| Maintainers | jzaefferer, gibson042, krinkle, leobalter, trentmwillis |
| Keywords | testing, unit, assert, assertion, tap, tape, karma, jquery |

## Links

- npm: https://www.npmjs.com/package/qunit
- Repository: https://github.com/qunitjs/qunit
- Homepage: https://qunitjs.com
- Issues: https://github.com/qunitjs/qunit/issues
- npm.io page: https://npm.io/package/qunit

## Dependencies (3)

- [commander](https://npm.io/package/commander.md) 7.2.0
- [tiny-glob](https://npm.io/package/tiny-glob.md) 0.2.9
- [node-watch](https://npm.io/package/node-watch.md) 0.7.3

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 2.26.0 (latest) — 2026-06-01
- 3.0.0-rc1 (alpha) — 2026-01-11
- 2.25.0 — 2025-12-31
- 2.24.3 — 2025-11-30
- 2.24.2 — 2025-10-10
- 2.24.1 — 2025-01-26
- 2.24.0 — 2025-01-20
- 2.23.1 — 2024-12-06
- 2.23.0 — 2024-12-03
- 3.0.0-alpha.4 — 2024-11-04
- 3.0.0-alpha.3 — 2024-08-19
- 2.22.0 — 2024-08-18
- 3.0.0-alpha.2 — 2024-07-21
- 2.21.1 — 2024-07-20
- 3.0.0-alpha.1 — 2024-07-12
- … 97 more at https://npm.io/package/qunit/versions

## README

<p align="center"><img src="docs/img/logo-with-colored-dark-text.svg" height="80" alt="QUnit"></p>

<div align="center">

[![Continuous integration](https://github.com/qunitjs/qunit/actions/workflows/CI.yaml/badge.svg)](https://github.com/qunitjs/qunit/actions/workflows/CI.yaml)
[![Test coverage](https://coveralls.io/repos/qunitjs/qunit/badge.svg)](https://coveralls.io/github/qunitjs/qunit)
[![Chat on Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/qunitjs/qunit?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![npm](https://img.shields.io/npm/v/qunit.svg?style=flat)](https://www.npmjs.com/package/qunit)
[![Reproducible build status](https://img.shields.io/badge/Reproducible_Builds-ok-success?labelColor=1e5b96)](https://github.com/qunitjs/qunit/actions/workflows/reproducible.yaml)

</div>

**QUnit** is a powerful, easy-to-use JavaScript testing framework. It was originally developed for the jQuery
project and has since evolved to test any client-side or server-side JavaScript code. QUnit has no dependencies and supports Node.js, SpiderMonkey, and all major web browsers.

## Documentation

* [API documentation](https://qunitjs.com/api/)
* [Guides how-to](https://qunitjs.com/guides/)
* [Browser support](https://qunitjs.com/intro/#browser-support)
* [Integrations](https://qunitjs.com/intro/#integrations)

## Support

To report a bug or request a new feature, [open an issue](https://github.com/qunitjs/qunit/issues).

If you need help using QUnit, chat with us on [Gitter](https://gitter.im/qunitjs/qunit).

## Contribute

If you are interested in helping develop QUnit, check out our [contributing guide](./CONTRIBUTING.md).

---
_Source: https://npm.io/package/qunit · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
