Skip to content
JS
Package category

Testing

Test runners, assertion libraries, mocking and end-to-end testing.

1,409 packages15 comparisons

Packages compared

1,409 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
@open-wc/semantic-dom-diff
To compare dom and shadow dom trees. Part of open-wc recommendations
110.3k---2 months ago
0.21.0
ESM onlyBundledTesting
vitest-browser-vue
Render Vue components in Vitest Browser Mode
110.2k+658%-21 days ago
3.1.0
ESM onlyBundledVue, Testing
redux-saga-testing
A no-brainer way of testing your Sagas
109.9k+424%-4 years ago
2.0.2
CommonJSBundledTesting, State management
@angular-builders/jest
Jest runner for Angular build facade. Allows ng test run with Jest instead of Karma
108k---3 months ago
22.0.1
CommonJSBundledTesting, Angular
@rstest/core
The Rsbuild-based test tool.
105.9k---2 days ago
0.12.1
ESM onlyBundledTesting, Bundlers
babel-plugin-tester
Utilities for testing babel plugins
105.8k+14%--
12.0.0
CommonJSBundledTesting, TypeScript tooling
@vgpu/adapter-mock
Mock GPU adapter for testing vgpu code without real WebGPU hardware.
105.7k---11 days ago
0.5.0
ESM onlyBundledTesting, 3D, WebGL and game engines
country-data-list
Data about countries - like their ISO codes and currencies
103.6k+213%-4 months ago
1.6.3
ESM + CommonJSBundledLinting and formatting, Testing
@storybook/experimental-addon-test
Integrate Vitest with Storybook
102.3k---1 year ago
8.6.14
ESM + CommonJSBundledTesting, Documentation tooling
fictional
Generate fake data deterministically from a given input
102.1k+220%-1 year ago
3.0.1
ESM + CommonJSBundledDev servers and API mocking, Testing
chai-arrays
a simple chai plugin for better array assertions
101k+4%-6 years ago
2.2.0
CommonJSNoneTesting
@argos-ci/cli
Command-line (CLI) for visual testing with Argos.
101k---12 days ago
6.9.4
ESM onlyNoneTesting, CLI tools and terminal utilities
mock-stdin
Mock STDIN file descriptor in Node.js
99.7k-28%-6 years ago
1.0.0
CommonJSNoneTesting
babel-plugin-espower
Babel plugin for power-assert
98.4k-42%-7 years ago
3.0.1
CommonJSNoneTesting
power-assert-formatter
Power Assert output formatter
98.3k-53%-10 years ago
1.4.1
CommonJSNoneTesting
power-assert
Power Assert in JavaScript
97.2k-52%-8 years ago
1.6.1
CommonJSNoneTesting
chai-datetime
date / time comparison matchers for chai
97.1k-11%-2 years ago
1.8.1
CommonJSNoneDate and time, Testing
pa11y-ci
Pa11y CI is a CI-centric accessibility test runner, built using Pa11y
96.6k+29%-4 months ago
4.1.1
CommonJSNoneAccessibility, Testing
next-test-api-route-handler
Confidently unit and integration test your Next.js API routes/handlers in an isolated Next.js-like environment
96.4k+56%-1 month ago
5.0.7
CommonJSBundledTesting
mockserver-client
A node client for the MockServer
95.8k+31%-10 days ago
8.0.0
-BundledTesting, Dev servers and API mocking
mock-xmlhttprequest
XMLHttpRequest mock for testing
94k-31%-1 year ago
8.4.1
ESM + CommonJSBundledTesting, Dev servers and API mocking
canvas-size
Determine the maximum area, height, width, and custom dimensions of an HTML canvas element.
93.7k+139%-2 years ago
2.0.0
ESM onlyNone3D, WebGL and game engines, Testing
@grafana/e2e-selectors
Grafana End-to-End Test Selectors Library
93.5k---10 days ago
13.2.2
ESM + CommonJSBundledTesting
rxjs-marbles
An RxJS marble testing library for any test framework
93.4k+33%-5 years ago
7.0.1
ESM + CommonJSBundledTesting, Promises and async control flow
@vue/vue2-jest
Jest transformer for Vue 2
93.4k---3 years ago
29.2.6
CommonJSNoneVue, Testing
@jasminejs/reporters
Reporters for the Jasmine testing framework
93.2k---1 month ago
1.1.0
CommonJSNoneTesting
@open-wc/testing
Testing following open-wc recommendations
92.3k---2 months ago
5.0.0
ESM onlyBundledTesting
shadow-dom-testing-library
An extension of DOM-testing-library to provide hooks into the shadow dom
92k+56%-11 days ago
1.14.2
ESM + CommonJSBundledTesting
@knapsack-pro/vitest
Knapsack Pro Vitest splits Vitest tests across CI nodes and makes sure that tests will run in optimal time on each CI node.
91.7k---9 days ago
0.6.1
ESM onlyNoneTesting
deep-equal-ident
A function to test for identical deep equality (based on lodash's isEqual).
90.5k-39%-10 years ago
1.1.1
CommonJSNoneTesting, Utility libraries
empower
Power Assert feature enhancer for assert function/object
89.6k-52%-8 years ago
1.3.1
CommonJSNoneTesting
testdouble
A minimal test double library for TDD with JavaScript
88.9k-46%-4 days ago
3.21.0
ESM + CommonJSBundledTesting, Dev servers and API mocking
universal-deep-strict-equal
A port of Node v6's internal _deepEqual function in a universal style
88.9k-51%-10 years ago
1.2.2
CommonJSNoneTesting
@cypress/react
Test React components using Cypress
88.2k---29 days ago
10.0.0
ESM + CommonJSBundledTesting, React
pusher-js-mock
Mock Pusher.js in your JavaScript tests with ease
88k+42%-1 year ago
0.3.9
CommonJSBundledTesting
wiremock-rest-client
Lightweight REST client to interact with a running WireMock server
87.9k-43%-1 year ago
1.11.0
CommonJSBundledTesting
jest-enzyme
Testing Matchers for Enzyme
87.2k-39%-6 years ago
7.1.2
CommonJSBundledTesting
@wordpress/e2e-test-utils-playwright
End-To-End (E2E) test utils for WordPress.
85.4k---2 days ago
2.1.0
CommonJSBundledTesting
mockery
Simplifying the use of mocks with Node.js
85.3k-38%-9 years ago
2.1.0
CommonJSNoneTesting
stdout-stderr
mock stdout and stderr
83.4k-40%-6 years ago
0.1.13
CommonJSBundledTesting
msw-trpc
tRPC API for Mock Service Worker (MSW).
83.4k+101%-1 year ago
2.0.1
ESM onlyBundledTesting
@allurereport/cli-commons
Collection of utilities used across the Allure CLI
83.3k---7 days ago
3.18.0
ESM onlyBundledTesting
dom-element-descriptors
An implementation of https://github.com/emberjs/rfcs/pull/726
82.7k+50%-2 years ago
0.5.1
ESM onlyBundledDOM and browser utilities, Testing
karma-typescript
Simplifying running unit tests with coverage for Typescript projects.
82.2k+6%-3 years ago
5.5.4
CommonJSBundledTypeScript tooling, Testing
sauce-connect-launcher
A library to download and launch Sauce Connect.
82k-12%-6 years ago
1.3.2
CommonJSNoneScraping and browser automation, Testing
jest-environment-enzyme
Runtime Environment for enzyme tests in jest
82k-41%-6 years ago
7.1.2
CommonJSBundledTesting
@japa/core
Implementation of core APIs for the Japa tests runner
81.8k---9 months ago
10.4.0
ESM onlyNoneTesting
cypress-cucumber-preprocessor
Run gherkin-syntaxed specs with cypress.io
81.4k-49%-4 years ago
4.3.1
CommonJSNoneTesting
pactum
REST API Testing Tool for all levels in a Test Pyramid
80k-34%-6 months ago
3.9.1
CommonJSBundledTesting
jest-openapi
Jest matchers for asserting that HTTP responses satisfy an OpenAPI spec
79.9k+201%-4 years ago
0.14.2
CommonJSBundledDocumentation tooling, 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.