Package category
Testing
Test runners, assertion libraries, mocking and end-to-end testing.
1,409 packages15 comparisons
Packages compared
1,409 packages
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| pretty-format Stringify any JavaScript value. | 161.2m | +43% | - | 24 days ago 30.5.1 | ESM + CommonJS | Bundled | Testing | |
| jest-worker Module for executing heavy tasks under forked processes in parallel, by providing a `Promise` based interface, minimum overhead, and bound workers. | 91.4m | +42% | - | 24 days ago 30.5.1 | ESM + CommonJS | Bundled | Testing | |
| jest-util This packages is a collection of utilities and helper functions | 89.1m | +35% | - | 24 days ago 30.5.1 | ESM + CommonJS | Bundled | Testing, Utility libraries | |
| @vitest/spy Lightweight Jest compatible spy implementation | 88.1m | +345% | - | 10 days ago 5.0.1 | ESM only | Bundled | Testing | |
| @vitest/pretty-format Fork of pretty-format with support for ESM | 86.2m | +346% | - | 10 days ago 5.0.1 | ESM only | Bundled | Testing | |
| chai BDD/TDD assertion library for node.js and the browser. Test framework agnostic. | 85.9m | +273% | - | 9 months ago 6.2.2 | ESM only | None | Testing | |
| @vitest/expect Jest's expect matchers as a Chai plugin | 79.2m | +354% | - | 10 days ago 5.0.1 | ESM only | Bundled | Testing | |
| playwright-core A high-level API to automate web browsers | 75.4m | +277% | - | 20 days ago 1.63.0 | ESM + CommonJS | Bundled | Testing, Scraping and browser automation | |
| vitest Next generation testing framework powered by Vite | 73.8m | +425% | - | 10 days ago 5.0.1 | ESM + CommonJS | Bundled | Testing | |
| assertion-error Error constructor for test and validation frameworks that implements standardized AssertionError specification. | 72.8m | +268% | - | 2 years ago 2.0.1 | ESM only | Bundled | Testing | |
| @vitest/mocker Vitest module mocker implementation | 71.9m | +451% | - | 10 days ago 5.0.1 | ESM only | Bundled | Testing | |
| playwright A high-level API to automate web browsers | 69.1m | +260% | - | 20 days ago 1.63.0 | ESM + CommonJS | Bundled | Testing, Scraping and browser automation | |
| @vitest/snapshot Vitest snapshot manager | 66.7m | +356% | - | 10 days ago 5.0.1 | ESM only | Bundled | Testing | |
| expect-type [](https://github.com/mmkal/expect-type/actions/workflows/ci.yml)  [](ht | 63.6m | +497% | - | 2 months ago 1.4.0 | CommonJS | Bundled | TypeScript tooling, Testing | |
| @testing-library/dom Simple and complete DOM testing utilities that encourage good testing practices. | 53.5m | +144% | - | 11 days ago 10.4.2 | ESM + CommonJS | Bundled | Testing | |
| axe-core Accessibility engine for automated Web UI testing | 51.8m | +145% | - | 1 month ago 4.13.0 | CommonJS | Bundled | Accessibility, Testing | |
| @testing-library/jest-dom Custom jest matchers to test the state of the DOM | 47m | +157% | - | 1 month ago 7.0.1 | ESM + CommonJS | Bundled | Testing | |
| jest-haste-map `jest-haste-map` is a module used by Jest, a popular JavaScript testing framework, to create a fast lookup of files in a project. It helps Jest efficiently locate and track changes in files during testing, making it particularly useful for large projects | 46.6m | +28% | - | 24 days ago 30.5.1 | ESM + CommonJS | Bundled | Testing | |
| jest-validate Generic configuration validation tool that helps you with warnings, errors and deprecation messages as well as showing users examples of correct configuration. | 44.4m | +43% | - | 24 days ago 30.5.1 | ESM + CommonJS | Bundled | Testing | |
| @testing-library/react Simple and complete React DOM testing utilities that encourage good testing practices. | 43.7m | +173% | - | 28 days ago 16.3.3 | ESM + CommonJS | Bundled | Testing, React | |
| jest-get-type A utility function to get the type of a value | 43m | -3% | - | 3 years ago 29.6.3 | CommonJS | Bundled | Testing | |
| babel-jest Jest plugin to use babel for transformation. | 40.8m | +31% | - | 6 days ago 30.5.2 | ESM + CommonJS | Bundled | Testing | |
| babel-plugin-jest-hoist Babel plugin to hoist `jest.disableAutomock`, `jest.enableAutomock`, `jest.unmock`, `jest.mock`, calls above `import` statements. This plugin is automatically included when using [babel-jest](https://github.com/jestjs/jest/tree/main/packages/babel-jest). | 40.3m | +25% | - | 28 days ago 30.5.0 | ESM + CommonJS | Bundled | Testing | |
| babel-preset-jest > Babel preset for all Jest plugins. This preset is automatically included when using [babel-jest](https://github.com/jestjs/jest/tree/main/packages/babel-jest). | 40.3m | +32% | - | 28 days ago 30.5.0 | CommonJS | None | Testing | |
| deep-eql Improved deep equality testing for Node.js and the browser. | 40.2m | +90% | - | 2 years ago 5.0.2 | ESM only | None | Testing | |
| jest-watcher Delightful JavaScript Testing. | 39.2m | +25% | - | 6 days ago 30.5.2 | ESM + CommonJS | Bundled | Testing | |
| @testing-library/user-event Fire events the same way the user does | 38.4m | +136% | - | 23 days ago 14.6.7 | ESM + CommonJS | Bundled | Testing | |
| jest-docblock `jest-docblock` is a package that can extract and parse a specially-formatted comment called a "docblock" at the top of a file. | 37.5m | +24% | - | 28 days ago 30.5.0 | ESM + CommonJS | Bundled | Testing | |
| jest-each Parameterised tests for Jest | 36.6m | +20% | - | 6 days ago 30.5.2 | ESM + CommonJS | Bundled | Testing | |
| jest-leak-detector Module for verifying whether an object has been garbage collected or not. | 36.3m | +28% | - | 24 days ago 30.5.1 | ESM + CommonJS | Bundled | Testing | |
| tinyspy A minimal fork of nanospy, with more features | 36.2m | +120% | - | 20 days ago 4.0.6 | ESM only | Bundled | Testing, TypeScript tooling | |
| diff-sequences Compare items in two sequences to find a longest common subsequence | 36.2m | +0% | - | 3 years ago 29.6.3 | CommonJS | Bundled | Testing | |
| jest Delightful JavaScript Testing. | 35.4m | +23% | - | 6 days ago 30.5.2 | ESM + CommonJS | Bundled | Testing | |
| jest-changed-files A module used internally by Jest to check which files have changed since you last committed in git or hg. | 35.3m | +26% | - | 24 days ago 30.5.1 | ESM + CommonJS | Bundled | Testing | |
| jest-cli Delightful JavaScript Testing. | 35m | +17% | - | 6 days ago 30.5.2 | ESM + CommonJS | Bundled | Testing | |
| @jest/core Delightful JavaScript Testing. | 34.7m | +29% | - | 6 days ago 30.5.2 | ESM + CommonJS | Bundled | Testing | |
| jest-circus [type-definitions]: https://github.com/jestjs/jest/blob/main/packages/jest-types/src/Circus.ts | 34.3m | +34% | - | 6 days ago 30.5.2 | ESM + CommonJS | Bundled | Testing | |
| fast-check Property based testing framework for JavaScript (like QuickCheck) | 30m | +535% | - | 5 days ago 4.10.2 | ESM + CommonJS | Bundled | Testing, Dev servers and API mocking | |
| jest-pnp-resolver plug'n'play resolver for Webpack | 29.1m | +20% | - | 3 years ago 1.2.3 | - | None | Testing | |
| memfs In-memory file-system with Node's fs API. | 28.8m | +48% | - | 2 days ago 4.79.0 | CommonJS | Bundled | Files and file systems, Testing | |
| @vitest/coverage-v8 V8 coverage provider for Vitest | 27.8m | +354% | - | 10 days ago 5.0.1 | ESM only | Bundled | Testing | |
| responselike A response-like object for mocking a Node.js HTTP response stream | 24.6m | +38% | - | 11 months ago 4.0.2 | ESM only | Bundled | Dev servers and API mocking, Testing | |
| ast-v8-to-istanbul AST-aware v8-to-istanbul | 24.3m | +511% | - | 3 days ago 1.0.7 | ESM only | Bundled | Testing | |
| ts-jest A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript | 19.3m | +22% | - | 2 days ago 29.4.13 | CommonJS | Bundled | Testing, TypeScript tooling | |
| @mswjs/interceptors Low-level network interception library for Node.js. | 15.6m | +155% | - | today 0.45.1 | ESM only | Bundled | Testing, Dev servers and API mocking | |
| msw Seamless REST/GraphQL API mocking library for browser and Node.js. | 14.4m | +159% | - | 2 months ago 2.15.0 | ESM + CommonJS | Bundled | Dev servers and API mocking, Testing | |
| supertest SuperAgent driven library for testing HTTP servers | 12.3m | +84% | - | 2 days ago 7.3.0 | CommonJS | None | Testing | |
| mocha Classic, reliable, trusted test framework for Node.js and the browser | 10.8m | +4% | - | 7 days ago 12.0.2 | ESM only | None | Testing | |
| query-selector-shadow-dom use querySelector syntax to search for nodes inside of (nested) shadow roots | 9.6m | +948% | - | 3 years ago 1.0.1 | CommonJS | None | Scraping and browser automation, Testing | |
| identity-obj-proxy an identity object using ES6 proxies | 9.1m | +11% | - | 10 years ago 3.0.0 | CommonJS | None | Testing |
12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.
- pretty-formatStringify any JavaScript value.
- jest-workerModule for executing heavy tasks under forked processes in parallel, by providing a `Promise` based interface, minimum overhead, and bound workers.
- jest-utilThis packages is a collection of utilities and helper functions
- @vitest/spyLightweight Jest compatible spy implementation
- @vitest/pretty-formatFork of pretty-format with support for ESM
- chaiBDD/TDD assertion library for node.js and the browser. Test framework agnostic.
- @vitest/expectJest's expect matchers as a Chai plugin
- playwright-coreA high-level API to automate web browsers
- vitestNext generation testing framework powered by Vite
- assertion-errorError constructor for test and validation frameworks that implements standardized AssertionError specification.
- @vitest/mockerVitest module mocker implementation
- playwrightA high-level API to automate web browsers
- @vitest/snapshotVitest snapshot manager
- expect-type[](https://github.com/mmkal/expect-type/actions/workflows/ci.yml)  [](ht
- @testing-library/domSimple and complete DOM testing utilities that encourage good testing practices.
- axe-coreAccessibility engine for automated Web UI testing
- @testing-library/jest-domCustom jest matchers to test the state of the DOM
- jest-haste-map`jest-haste-map` is a module used by Jest, a popular JavaScript testing framework, to create a fast lookup of files in a project. It helps Jest efficiently locate and track changes in files during testing, making it particularly useful for large projects
- jest-validateGeneric configuration validation tool that helps you with warnings, errors and deprecation messages as well as showing users examples of correct configuration.
- @testing-library/reactSimple and complete React DOM testing utilities that encourage good testing practices.
- jest-get-typeA utility function to get the type of a value
- babel-jestJest plugin to use babel for transformation.
- babel-plugin-jest-hoistBabel plugin to hoist `jest.disableAutomock`, `jest.enableAutomock`, `jest.unmock`, `jest.mock`, calls above `import` statements. This plugin is automatically included when using [babel-jest](https://github.com/jestjs/jest/tree/main/packages/babel-jest).
- babel-preset-jest> Babel preset for all Jest plugins. This preset is automatically included when using [babel-jest](https://github.com/jestjs/jest/tree/main/packages/babel-jest).
- deep-eqlImproved deep equality testing for Node.js and the browser.
- jest-watcherDelightful JavaScript Testing.
- @testing-library/user-eventFire events the same way the user does
- jest-docblock`jest-docblock` is a package that can extract and parse a specially-formatted comment called a "docblock" at the top of a file.
- jest-eachParameterised tests for Jest
- jest-leak-detectorModule for verifying whether an object has been garbage collected or not.
- tinyspyA minimal fork of nanospy, with more features
- diff-sequencesCompare items in two sequences to find a longest common subsequence
- jestDelightful JavaScript Testing.
- jest-changed-filesA module used internally by Jest to check which files have changed since you last committed in git or hg.
- jest-cliDelightful JavaScript Testing.
- @jest/coreDelightful JavaScript Testing.
- jest-circus[type-definitions]: https://github.com/jestjs/jest/blob/main/packages/jest-types/src/Circus.ts
- fast-checkProperty based testing framework for JavaScript (like QuickCheck)
- jest-pnp-resolverplug'n'play resolver for Webpack
- memfsIn-memory file-system with Node's fs API.
- @vitest/coverage-v8V8 coverage provider for Vitest
- responselikeA response-like object for mocking a Node.js HTTP response stream
- ast-v8-to-istanbulAST-aware v8-to-istanbul
- ts-jestA Jest transformer with source map support that lets you use Jest to test projects written in TypeScript
- @mswjs/interceptorsLow-level network interception library for Node.js.
- mswSeamless REST/GraphQL API mocking library for browser and Node.js.
- supertestSuperAgent driven library for testing HTTP servers
- mochaClassic, reliable, trusted test framework for Node.js and the browser
- query-selector-shadow-domuse querySelector syntax to search for nodes inside of (nested) shadow roots
- identity-obj-proxyan identity object using ES6 proxies
- selenium-webdriver vs wd
- @appium/types vs selenium-webdriver
- msw vs json-server
- @copilotkit/aimock vs mock-socket
- @appium/types vs wd
- mockttp vs ts-mockito
- mock-socket vs ts-mockito
- rewire vs ng-mocks
- msw vs miragejs
- codeceptjs vs playwright-bdd
- codeceptjs vs nightwatch
- mocha vs jasmine-core
- mock-socket vs ng-mocks
- fast-check vs rewire
- ts-jest vs @golevelup/ts-jest