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 |
|---|---|---|---|---|---|---|---|---|
| stubby a lightweight server for stubbing external systems and endpoints | 5.1k | +107% | - | 2 months ago 5.1.1 | CommonJS | None | Testing | |
| mock-env morph process.env by adding/chaning/removing env vars for the lifetime of a callback | 5.1k | -36% | - | - 0.2.0 | CommonJS | None | Testing | |
| auto-playwright Automate Playwright tests using ChatGPT. | 5.1k | +172% | - | 1 year ago 1.16.1 | CommonJS | None | Scraping and browser automation, Testing | |
| run-when-changed Selectively executes commands when watched files are changed. | 5.1k | +196% | - | 8 years ago 2.1.0 | CommonJS | None | Testing | |
| node-test-github-reporter A GitHub test reporter for the Node.js test runner | 5k | -9% | - | 3 months ago 1.3.2 | ESM only | None | Testing | |
| jest-google-maps-mock Jest mock for google maps | 5k | -57% | - | 5 years ago 1.0.7 | CommonJS | None | Testing, Maps and geolocation | |
| cypress-autorecord It simplifies mocking by auto-recording/stubbing HTTP interactions and automate the process of updating/deleting recordings. | 5k | +82% | - | - 3.1.2 | CommonJS | Bundled | Testing | |
| @mocky-balboa/server Server library for Mocky Balboa to enable real-time network mocking for your server-side network requests in your browser based test suites via WebSockets. | 4.9k | - | - | - | 4 months ago 1.0.10 | ESM + CommonJS | Bundled | Testing |
| @web/test-runner-saucelabs Saucelabs launcher for Web Test Runner | 4.9k | - | - | - | 2 months ago 1.0.0 | ESM + CommonJS | Bundled | Testing |
| babel-plugin-import-remove-resource-query Remove the resourceQuery param when importing modules via babel. Useful with Jest, that doesn't support resourceQueries | 4.9k | -11% | - | 8 years ago 1.0.0 | CommonJS | None | Testing | |
| a_mock Sub package of a. Mocking framework | 4.9k | +39% | - | 7 months ago 2.0.5 | CommonJS | Bundled | Testing, Dev servers and API mocking | |
| mock-http mock http request response | 4.8k | -30% | - | 1 year ago 1.1.1 | CommonJS | Bundled | Testing | |
| inspect-loader Webpack loader designed for loader testing and debugging. Calls a function with the received input. | 4.8k | +477% | - | 5 years ago 2.0.0 | ESM + CommonJS | None | Testing, Bundler plugins and loaders | |
| @mocky-balboa/client Client library for Mocky Balboa to interact with the WebSocket server for real-time network mocking in your test suites. | 4.8k | - | - | - | 4 months ago 2.1.0 | ESM + CommonJS | Bundled | Testing |
| betterwright A persistent, policy-guarded Playwright browser for AI agents with network controls, trusted credential filling, proof screenshots, and CAPTCHA helpers. | 4.8k | - | - | 4 days ago 2.8.8 | ESM only | Bundled | Scraping and browser automation, Testing | |
| @wonderland/walletless Virtual EIP-1193 provider for E2E testing with Wagmi connector | 4.8k | - | - | - | 7 months ago 1.2.0 | ESM only | Bundled | Blockchain and Web3, Testing |
| mock-require-lazy Mock CommonJS require and native ESM import, together or separately, with lazy factories. A drop-in replacement for mock-require | 4.8k | +254% | - | - 3.0.0 | ESM + CommonJS | Bundled | Testing, TypeScript tooling | |
| mock-gcs Mock implementation of the Google Cloud Storage SDK. | 4.8k | +46% | - | 2 years ago 2.1.0 | CommonJS | Bundled | Dev servers and API mocking, Testing | |
| nothing-mock A chainable, callable mock object which always returns itself | 4.7k | +34% | - | - 1.0.5 | ESM + CommonJS | Bundled | Testing, Dev servers and API mocking | |
| grunt-mocha Grunt task for running client-side Mocha specs in PhantomJS | 4.7k | +20% | - | - 1.2.0 | CommonJS | None | Testing | |
| @stacksjs/testing The Stacks way of testing. | 4.7k | - | - | - | today 0.74.68 | ESM only | Bundled | Testing, TypeScript tooling |
| @mocky-balboa/playwright Playwright integration for Mocky Balboa. Mock your full-stack network requests directly inside your Playwright tests. | 4.7k | - | - | - | 4 months ago 2.0.2 | ESM + CommonJS | Bundled | Testing |
| @mbtest/mountebank Over the wire test doubles | 4.7k | - | - | - | 5 months ago 2.9.4 | CommonJS | None | Testing, Dev servers and API mocking |
| window-resizeto A window.resizeTo polyfill for test environments like Jest & JSDOM | 4.6k | +88% | - | 6 years ago 0.0.2 | ESM + CommonJS | Bundled | Polyfills and shims, Testing | |
| @stdlib/math-base-assert-is-probability Test if a double-precision floating-point number is a probability. | 4.6k | - | - | - | 7 months ago 0.2.4 | CommonJS | Bundled | Utility libraries, Testing |
| lws-mock-response Middleware adding mock responses to lws | 4.5k | -10% | - | - 2.0.0 | - | None | Testing | |
| @stacksjs/ts-faker ts-mocker is a performance-focused and lightweight faker/data mocking library for TypeScript. | 4.4k | - | - | - | 4 months ago 0.1.8 | ESM only | Bundled | Internationalisation, Testing |
| @stdlib/number-float64-base-assert-is-same-value Test if two double-precision floating-point numbers are the same value. | 4.4k | - | - | - | 7 months ago 0.2.2 | CommonJS | Bundled | Testing |
| @cowasm/memfs In-memory file-system with Node's fs API. | 4.4k | - | - | - | 3 years ago 3.5.1 | CommonJS | Bundled | Files and file systems, Testing |
| @stdlib/ndarray-base-assert-is-struct-data-type Test if an input value is a supported ndarray struct data type. | 4.4k | - | - | - | 7 months ago 0.1.1 | CommonJS | Bundled | Testing, Node.js utilities |
| ng-bullet Angular library which drastically improves execution time of your component's unit tests | 4.3k | -59% | - | 8 years ago 1.0.3 | ESM + CommonJS | Bundled | Angular, Testing | |
| @mocky-balboa/next-js Next.js integration for Mocky Balboa. Mock your full-stack network requests in your test suites. | 4.3k | - | - | - | 4 months ago 1.2.6 | ESM + CommonJS | Bundled | Testing |
| gulp-jest Gulp plugin for running your Jest tests | 4.3k | -0% | - | 5 years ago 4.0.4 | CommonJS | None | Testing | |
| @layerzerolabs/hardhat-deploy Hardhat Plugin For Replicable Deployments And Tests | 4.3k | - | - | - | 2 years ago 0.11.45-lz.4 | CommonJS | Bundled | Testing |
| @dramaorg/delectus-culpa-reprehenderit [![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im | 4.3k | - | - | - | 2 years ago 3.5.94 | CommonJS | None | CLI tools and terminal utilities, Testing |
| nodemailer-mock-transport mock-mailer for putting tests around services that use node-mailer | 4.2k | -44% | - | - 1.3.0 | CommonJS | None | Email, Testing | |
| tap-min Minimal TAP output formatter. | 4.2k | +13% | - | - 3.0.0 | ESM only | None | Testing | |
| tunnelmole Tunnelmole, an open source ngrok alternative. Instant public URLs for any http/https based application. Available as a command line application or as an NPM dependency for your code. Stable and maintained. Good test coverage. Works behind firewalls | 4.2k | +39% | - | 1 year ago 2.4.0 | ESM only | Bundled | Testing, WebSockets and realtime | |
| grunt-simple-mocha A simple wrapper for running tests with Mocha. | 4.1k | +26% | - | - 0.4.1 | CommonJS | None | Testing | |
| qunit-phantomjs-runner A PhantomJS-powered headless test runner for QUnit | 4.1k | +31% | - | 5 years ago 2.4.2 | CommonJS | None | Testing | |
| w3wallets browser wallets for playwright | 4.1k | +86% | - | 3 days ago 1.0.0-beta.13 | CommonJS | Bundled | Testing, Blockchain and Web3 | |
| @i18n-micro/test-utils Testing helpers for Nuxt I18n Micro (translations, locales, formatting mocks). | 4.1k | - | - | - | 1 day ago 1.2.16 | ESM + CommonJS | Bundled | Internationalisation, Testing |
| e2e-mailbox E2E test your email notification system using GuerrillaMail API. | 4k | +95% | - | 1 year ago 1.1.7 | ESM + CommonJS | Bundled | Email, Testing | |
| pgsql-test pgsql-test offers isolated, role-aware, and rollback-friendly PostgreSQL environments for integration tests — giving developers realistic test coverage without external state pollution | 4k | +165% | - | today 5.17.0 | ESM + CommonJS | Bundled | Testing, ORMs and query builders | |
| gulp-mocha-phantomjs run client-side Mocha tests with PhantomJS | 4k | +87% | - | 8 years ago 0.12.2 | CommonJS | None | Testing | |
| connect-prism Record, mock, and proxy HTTP traffic. | 4k | -32% | - | 7 years ago 1.0.21 | CommonJS | None | Testing | |
| jest-mock-req-res Jest mocks for Express Request and Response objects. Inspired by mock-req-res. | 4k | -26% | - | 6 years ago 1.0.2 | ESM + CommonJS | Bundled | Testing | |
| pta Test runner for nodejs using zora | 4k | +679% | - | 2 months ago 1.4.0 | ESM only | None | Testing | |
| @stdlib/assert-is-same-value Test if two arguments are the same value. | 4k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Utility libraries, Testing |
| react-native-accessibility-engine Make accessibility-related assertions on React Native code using React Test Renderer | 3.9k | -59% | - | 3 years ago 3.2.0 | ESM + CommonJS | Bundled | Accessibility, 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.
- stubbya lightweight server for stubbing external systems and endpoints
- mock-envmorph process.env by adding/chaning/removing env vars for the lifetime of a callback
- auto-playwrightAutomate Playwright tests using ChatGPT.
- run-when-changedSelectively executes commands when watched files are changed.
- node-test-github-reporterA GitHub test reporter for the Node.js test runner
- jest-google-maps-mockJest mock for google maps
- cypress-autorecordIt simplifies mocking by auto-recording/stubbing HTTP interactions and automate the process of updating/deleting recordings.
- @mocky-balboa/serverServer library for Mocky Balboa to enable real-time network mocking for your server-side network requests in your browser based test suites via WebSockets.
- @web/test-runner-saucelabsSaucelabs launcher for Web Test Runner
- babel-plugin-import-remove-resource-queryRemove the resourceQuery param when importing modules via babel. Useful with Jest, that doesn't support resourceQueries
- a_mockSub package of a. Mocking framework
- mock-httpmock http request response
- inspect-loaderWebpack loader designed for loader testing and debugging. Calls a function with the received input.
- @mocky-balboa/clientClient library for Mocky Balboa to interact with the WebSocket server for real-time network mocking in your test suites.
- betterwrightA persistent, policy-guarded Playwright browser for AI agents with network controls, trusted credential filling, proof screenshots, and CAPTCHA helpers.
- @wonderland/walletlessVirtual EIP-1193 provider for E2E testing with Wagmi connector
- mock-require-lazyMock CommonJS require and native ESM import, together or separately, with lazy factories. A drop-in replacement for mock-require
- mock-gcsMock implementation of the Google Cloud Storage SDK.
- nothing-mockA chainable, callable mock object which always returns itself
- grunt-mochaGrunt task for running client-side Mocha specs in PhantomJS
- @stacksjs/testingThe Stacks way of testing.
- @mocky-balboa/playwrightPlaywright integration for Mocky Balboa. Mock your full-stack network requests directly inside your Playwright tests.
- @mbtest/mountebankOver the wire test doubles
- window-resizetoA window.resizeTo polyfill for test environments like Jest & JSDOM
- @stdlib/math-base-assert-is-probabilityTest if a double-precision floating-point number is a probability.
- lws-mock-responseMiddleware adding mock responses to lws
- @stacksjs/ts-fakerts-mocker is a performance-focused and lightweight faker/data mocking library for TypeScript.
- @stdlib/number-float64-base-assert-is-same-valueTest if two double-precision floating-point numbers are the same value.
- @cowasm/memfsIn-memory file-system with Node's fs API.
- @stdlib/ndarray-base-assert-is-struct-data-typeTest if an input value is a supported ndarray struct data type.
- ng-bulletAngular library which drastically improves execution time of your component's unit tests
- @mocky-balboa/next-jsNext.js integration for Mocky Balboa. Mock your full-stack network requests in your test suites.
- gulp-jestGulp plugin for running your Jest tests
- @layerzerolabs/hardhat-deployHardhat Plugin For Replicable Deployments And Tests
- @dramaorg/delectus-culpa-reprehenderit[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
- nodemailer-mock-transportmock-mailer for putting tests around services that use node-mailer
- tap-minMinimal TAP output formatter.
- tunnelmoleTunnelmole, an open source ngrok alternative. Instant public URLs for any http/https based application. Available as a command line application or as an NPM dependency for your code. Stable and maintained. Good test coverage. Works behind firewalls
- grunt-simple-mochaA simple wrapper for running tests with Mocha.
- qunit-phantomjs-runnerA PhantomJS-powered headless test runner for QUnit
- w3walletsbrowser wallets for playwright
- @i18n-micro/test-utilsTesting helpers for Nuxt I18n Micro (translations, locales, formatting mocks).
- e2e-mailboxE2E test your email notification system using GuerrillaMail API.
- pgsql-testpgsql-test offers isolated, role-aware, and rollback-friendly PostgreSQL environments for integration tests — giving developers realistic test coverage without external state pollution
- gulp-mocha-phantomjsrun client-side Mocha tests with PhantomJS
- connect-prismRecord, mock, and proxy HTTP traffic.
- jest-mock-req-resJest mocks for Express Request and Response objects. Inspired by mock-req-res.
- ptaTest runner for nodejs using zora
- @stdlib/assert-is-same-valueTest if two arguments are the same value.
- react-native-accessibility-engineMake accessibility-related assertions on React Native code using React Test Renderer
- 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