# qunitjs/qunit

🔮 An easy-to-use JavaScript unit testing framework.

Repository: https://github.com/qunitjs/qunit
Canonical: https://ross.abutalabs.com/products/qunit
Homepage: https://qunitjs.com
Language: JavaScript
License: MIT
License Family: permissive
Topics: qunit, testing, javascript
Last push: 2026-06-28T13:36:20+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 89, release rhythm 74, longevity 100
- inputs: {"age_days": 6249, "days_push": 66, "days_rel": 93, "gap_med": 44, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4033, forks 772 (observed 2026-08-28T04:08:32.820310+00:00)

## What it is
QUnit is a dependency-free JavaScript unit testing framework originally developed for jQuery, now used widely including as the default for the Ember.js ecosystem. It runs in browsers, Node.js, SpiderMonkey, and Web Workers, with a lean, extensible API for tests, assertions, and reporters.

## Use cases
- unit test javascript code
- test node.js library with zero config
- run tests in the browser
- test ember.js applications
- write assertions for client-side javascript
- run javascript tests in web workers

## When to choose
- you want a simple, zero-dependency test framework for browser or Node.js code
- you work in the Ember.js ecosystem where QUnit is the default
- you need tests to run in the same environment as your code, including workers
- you prefer a lean, extensible API over heavyweight frameworks

## When to avoid
- you need built-in component testing or snapshot testing like Jest or Vitest
- you are testing non-JavaScript languages
- you need an integrated mocking/coverage suite out of the box

## Facets
- artifact type: library
- maturity: stable
- function: testing, e2e-testing
- domain: testing, developer-tools, web-development, frontend
- platform: browser, cross-platform, cli
- tags: unit-testing, test-runner, assertions, tap, jquery, ember, zero-dependency, javascript, nodejs

## Member repositories
- qunitjs/qunit (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:32.820310+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:23:49.826879+00:00, confidence not recorded.
  - readme: https://github.com/qunitjs/qunit (fetched 2026-08-28T04:08:32.820310+00:00, sha c661ac4eb842)
  - homepage: https://qunitjs.com (fetched 2026-08-29T09:16:44.410954+00:00, sha d95036acd837)
  - site_page: https://qunitjs.com/about (fetched 2026-08-29T09:16:44.422480+00:00, sha bf9d8b9ade0a)
  - registry_npm: https://registry.npmjs.org/qunit (fetched 2026-08-29T09:16:44.424766+00:00, sha ba871a13a2d9)
  - site_page: https://qunitjs.com/api (fetched 2026-08-29T09:16:44.419948+00:00, sha 54b5e72e9078)
- Data as of 2026-08-30T08:39:29.467469+00:00.
