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 |
|---|---|---|---|---|---|---|---|---|
| jest-cdk-snapshot Jest matcher for cdk cloudformation comparisons. | 10.5k | +30% | - | - 2.3.6 | CommonJS | Bundled | Testing, Cloud SDKs | |
| @rstest/playwright Playwright fixture integration for Rstest | 10.5k | - | - | - | 2 days ago 0.12.1 | ESM only | Bundled | Testing |
| @adcp/sdk AdCP SDK — client, server, and compliance harnesses for the AdContext Protocol (MCP + A2A) | 10.4k | - | - | - | 2 days ago 13.1.1 | ESM + CommonJS | Bundled | Testing |
| vitest-console Quickly mock various console methods in Vitest and track their calls with custom matchers | 10.4k | +693% | - | 11 months ago 0.2.1 | ESM only | Bundled | Testing, Dev servers and API mocking | |
| react-native-test-runner Run tests in React Native's environment. | 10.4k | +62% | - | 5 years ago 5.0.0 | - | None | Testing, React | |
| unexpected-messy Unexpected plugin for the messy library | 10.3k | +21% | - | 4 years ago 11.1.0 | CommonJS | None | Testing | |
| spec-xunit-file Mocha reporter which displays Spec output and generates xunit XML file | 10.1k | -47% | - | 11 years ago 0.0.1-3 | CommonJS | None | Testing | |
| @inquirer/testing Inquirer testing utilities | 10k | - | - | - | 18 days ago 3.3.13 | ESM only | Bundled | CLI tools and terminal utilities, Testing |
| tuistory Playwright-like testing for TUI applications | 9.9k | - | - | 1 month ago 0.11.0 | ESM only | Bundled | Testing, CLI tools and terminal utilities | |
| stylelint-test-rule-node A Stylelint rule tester using Node.js built-in test runner. | 9.8k | -77% | - | 4 months ago 1.2.0 | ESM only | Bundled | Testing, Linting and formatting | |
| mockserver-node Node.js module and Grunt plugin to start and stop MockServer | 9.7k | +30% | - | 10 days ago 8.0.0 | - | Bundled | Testing, Dev servers and API mocking | |
| vitest-mock-commonjs Module loader shims 'require' to allow mocking code-under-test CommonJS modules from vitest | 9.7k | +884% | - | 2 years ago 1.0.2 | ESM only | Bundled | Testing | |
| handlebars-jest Handlebars transformer for Jest | 9.7k | -6% | - | 4 years ago 1.0.0 | CommonJS | None | Templating, Testing | |
| @zendesk/laika Test, mock, intercept and modify Apollo Client's operations — in both browser and unit tests! | 9.5k | - | - | - | 21 days ago 1.6.0 | ESM + CommonJS | Bundled | GraphQL, Testing |
| @epic-web/test-server Utility for creating HTTP and WebSocket servers for testing | 9.4k | - | - | - | 1 year ago 0.1.6 | ESM only | Bundled | Testing, WebSockets and realtime |
| must Testing and assertion library with friendly BDD syntax — awesome.must.be.true(). Many expressive matchers and is test runner and framework agnostic. Follows RFC 2119 with its use of MUST. Good and well tested stuff. | 9.2k | +40% | - | 9 years ago 0.13.4 | CommonJS | Bundled | Testing | |
| @golevelup/ts-sinon Utilities for making testing [NestJS](https://docs.nestjs.com) applications easier. | 9.2k | - | - | - | 6 months ago 2.0.0 | CommonJS | Bundled | Testing, Node.js utilities |
| mocha-sinon mocha integration for sinon | 9.1k | -52% | - | 6 years ago 2.1.2 | CommonJS | None | Testing | |
| @typedorm/testing TypeDORM - testing utilities | 9.1k | - | - | - | 3 years ago 1.15.4 | - | None | ORMs and query builders, Testing |
| zombie Insanely fast, full-stack, headless browser testing using Node.js | 9.1k | +7% | - | 7 years ago 6.1.4 | CommonJS | None | Testing, Scraping and browser automation | |
| test-data-bot Generate test data for your tests easily. | 9.1k | +27% | - | 7 years ago 0.8.0 | CommonJS | None | Testing | |
| playwright-testing-library playwright + dom-testing-library | 9k | +177% | - | 3 years ago 4.5.0 | CommonJS | Bundled | Scraping and browser automation, Testing | |
| chi-square-a-b-testing Npm module for calculating chi-square test that gives us p-value for statistical significance with practical use in A/B testing. | 9k | +21% | - | 9 years ago 0.0.1 | CommonJS | None | Testing | |
| @open-wc/karma-esm Karma plugin for testing with es modules | 8.9k | - | - | - | 5 years ago 4.0.0 | CommonJS | None | Polyfills and shims, Testing |
| msw-when-then A non-invasive 'when-then' style API for MSW | 8.8k | +50% | - | 5 years ago 1.5.1 | CommonJS | None | Dev servers and API mocking, Testing | |
| reregexp Generate a random string match a given regular expression, suitable for mocking strings. | 8.7k | +216% | - | 3 years ago 1.6.1 | ESM + CommonJS | Bundled | Dev servers and API mocking, Strings and text | |
| earl Ergonomic, modern and type-safe assertion library | 8.7k | +19% | - | 11 months ago 2.0.0 | ESM + CommonJS | Bundled | Testing, TypeScript tooling | |
| acquit Parse BDD tests (Mocha, Jasmine) to generate documentation | 8.7k | +51% | - | 1 year ago 1.4.0 | CommonJS | None | Documentation tooling, Testing | |
| @quramy/jest-prisma [](https://github.com/Quramy/jest-prisma/actions) [](https://badge.fury.io/js/@quramy%2Fjest-prisma) [ applications easier.
- mocha-sinonmocha integration for sinon
- @typedorm/testingTypeDORM - testing utilities
- zombieInsanely fast, full-stack, headless browser testing using Node.js
- test-data-botGenerate test data for your tests easily.
- playwright-testing-libraryplaywright + dom-testing-library
- chi-square-a-b-testingNpm module for calculating chi-square test that gives us p-value for statistical significance with practical use in A/B testing.
- @open-wc/karma-esmKarma plugin for testing with es modules
- msw-when-thenA non-invasive 'when-then' style API for MSW
- reregexpGenerate a random string match a given regular expression, suitable for mocking strings.
- earlErgonomic, modern and type-safe assertion library
- acquitParse BDD tests (Mocha, Jasmine) to generate documentation
- @quramy/jest-prisma[](https://github.com/Quramy/jest-prisma/actions) [](https://badge.fury.io/js/@quramy%2Fjest-prisma) [![Git
- babel-plugin-rewire-exportsBabel plugin for stubbing (ES6, ES2015) module exports
- mocha-loaderMocha loader for webpack
- quickpicklePlugin for Vitest to run tests written in Gherkin Syntax.
- @serenity-js/playwrightAdapter that integrates @serenity-js/web with Playwright, enabling Serenity/JS reporting and using the Screenplay Pattern to write component and end-to-end test scenarios
- @bahmutov/spokChecks a given object against a given set of specifications to keep you from writing boilerplate tests.
- image-crop-or-padA tiny, fully-tested utility to resize raw image data in node or browser, intended for visual regression testing.
- cypress-fail-on-network-errorfail cypress test on network error
- power-assert-renderersPower Assert output renderers
- karma-chai-sinonChai + Sinon-Chai + Sinon for Karma
- ecc-universalHarness-native agent operating system for Codex, OpenCode, Cursor, Gemini, Claude Code, and terminal workflows - skills, hooks, rules, MCP conventions, and operator control-plane patterns
- playwright-i18next-fixture<div align="center"> <br> <header> <img src="https://github.com/cubanducko/playwright-i18next-fixture/blob/main/assets/logo.png?raw=true" height="64" /> </header> <br> <h1>playwright-i18next-fixture</h1> <p> 📝 Use your `i18next` translati
- mocha-phantomjsRun mocha browser tests in phantomjs via the command line
- chai-almostExtends chai with assertions that allow for floating point rounding errors
- @deanwhillier/jest-matchmedia-mockMock for fully testing any media queries with Jest
- cypress-firebaseUtilities to help testing Firebase projects with Cypress.
- @computer-use/nut-jsNative system automation for node.js
- fs-teardownTeardown API for testing file system-dependent code.
- rollup-plugin-unassertRollupJS plugin to remove assertion calls via Unassert
- @web/dev-server-import-mapsPlugin for using import maps in @web/dev-server
- enzyme-adapter-react-15JavaScript Testing utilities for React
- karma-mocha-webworkerKarma plugin which runs your mocha tests in a WebWorker
- 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