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 version7.0.0
Runtime dependencies3
Bundled typesNot declared
Gzip measurement60.67 KiB

Evidence and freshness

mocha

Latest version12.0.3
Runtime dependencies16
Bundled typesNot declared
Gzip measurement31.29 KiB

Evidence and freshness

Category comparisons

Filter this category by your requirements