JavaScript testing libraries and tools
Explore Jest, Mocha, Jasmine, Playwright, and Cypress. Review releases, dependency requirements, and package details for your testing stack.
6 indexed packages. Inspect package specifications and compare alternatives according to their actual role in your application.
Packages in this category
- Jasmine: CLI for Jasmine, a simple JavaScript testing framework for browsers and Node
- Mocha: Classic, reliable, trusted test framework for Node.js and the browser
- QUnit: The powerful, easy-to-use testing framework.
- Cypress: Cypress is a next generation front end testing tool built for the modern web
- Playwright: A high-level API to automate web browsers
- Jest: Delightful JavaScript Testing.
What to compare
- Separate unit-test runners, browser automation, and end-to-end testing requirements.
- Check the Node.js range and documented execution environment, including browser installation needs.
- Review coverage, assertions, mocking, and integration requirements in the official documentation.
- Consider toolchain and CI dependencies; a minified browser bundle is not a test-runner performance measure.
Example package specifications
jasmine
| Latest version | 7.0.0 |
|---|---|
| Runtime dependencies | 3 |
| Bundled types | Not declared |
| Gzip measurement | 60.67 KiB |
Evidence and freshness
- https://registry.npmjs.org/jasmine/7.0.0 — retrieved 2026-10-29T05:08:26.115Z
- https://api.deps.dev/v3/systems/npm/packages/jasmine/versions/7.0.0 — retrieved 2026-10-29T05:08:26.277Z
- https://api.deps.dev/v3/systems/npm/packages/jasmine/versions/7.0.0:dependencies — retrieved 2026-10-28T23:30:33.288Z
- https://bundlephobia.com/api/size?package=jasmine%407.0.0 — retrieved 2026-10-28T23:30:33.526Z
- https://api.deps.dev/v3/projects/github.com%2Fjasmine%2Fjasmine-npm — retrieved 2026-10-29T05:08:26.528Z
mocha
| Latest version | 12.0.3 |
|---|---|
| Runtime dependencies | 16 |
| Bundled types | Not declared |
| Gzip measurement | 31.29 KiB |
Evidence and freshness
- https://registry.npmjs.org/mocha/12.0.3 — retrieved 2026-10-29T05:09:29.829Z
- https://api.deps.dev/v3/systems/npm/packages/mocha/versions/12.0.3 — retrieved 2026-10-29T05:09:29.965Z
- https://api.deps.dev/v3/systems/npm/packages/mocha/versions/12.0.3:dependencies — retrieved 2026-10-28T23:30:33.944Z
- https://bundlephobia.com/api/size?package=mocha%4012.0.3 — retrieved 2026-10-28T23:30:34.196Z
- https://api.deps.dev/v3/projects/github.com%2Fmochajs%2Fmocha — retrieved 2026-10-29T05:09:30.162Z