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
stubby
a lightweight server for stubbing external systems and endpoints
5.1k+107%-2 months ago
5.1.1
CommonJSNoneTesting
mock-env
morph process.env by adding/chaning/removing env vars for the lifetime of a callback
5.1k-36%--
0.2.0
CommonJSNoneTesting
auto-playwright
Automate Playwright tests using ChatGPT.
5.1k+172%-1 year ago
1.16.1
CommonJSNoneScraping and browser automation, Testing
run-when-changed
Selectively executes commands when watched files are changed.
5.1k+196%-8 years ago
2.1.0
CommonJSNoneTesting
node-test-github-reporter
A GitHub test reporter for the Node.js test runner
5k-9%-3 months ago
1.3.2
ESM onlyNoneTesting
jest-google-maps-mock
Jest mock for google maps
5k-57%-5 years ago
1.0.7
CommonJSNoneTesting, 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
CommonJSBundledTesting
@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 + CommonJSBundledTesting
@web/test-runner-saucelabs
Saucelabs launcher for Web Test Runner
4.9k---2 months ago
1.0.0
ESM + CommonJSBundledTesting
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
CommonJSNoneTesting
a_mock
Sub package of a. Mocking framework
4.9k+39%-7 months ago
2.0.5
CommonJSBundledTesting, Dev servers and API mocking
mock-http
mock http request response
4.8k-30%-1 year ago
1.1.1
CommonJSBundledTesting
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 + CommonJSNoneTesting, 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 + CommonJSBundledTesting
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 onlyBundledScraping 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 onlyBundledBlockchain 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 + CommonJSBundledTesting, TypeScript tooling
mock-gcs
Mock implementation of the Google Cloud Storage SDK.
4.8k+46%-2 years ago
2.1.0
CommonJSBundledDev servers and API mocking, Testing
nothing-mock
A chainable, callable mock object which always returns itself
4.7k+34%--
1.0.5
ESM + CommonJSBundledTesting, Dev servers and API mocking
grunt-mocha
Grunt task for running client-side Mocha specs in PhantomJS
4.7k+20%--
1.2.0
CommonJSNoneTesting
@stacksjs/testing
The Stacks way of testing.
4.7k---today
0.74.68
ESM onlyBundledTesting, 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 + CommonJSBundledTesting
@mbtest/mountebank
Over the wire test doubles
4.7k---5 months ago
2.9.4
CommonJSNoneTesting, 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 + CommonJSBundledPolyfills 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
CommonJSBundledUtility libraries, Testing
lws-mock-response
Middleware adding mock responses to lws
4.5k-10%--
2.0.0
-NoneTesting
@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 onlyBundledInternationalisation, 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
CommonJSBundledTesting
@cowasm/memfs
In-memory file-system with Node's fs API.
4.4k---3 years ago
3.5.1
CommonJSBundledFiles 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
CommonJSBundledTesting, 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 + CommonJSBundledAngular, 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 + CommonJSBundledTesting
gulp-jest
Gulp plugin for running your Jest tests
4.3k-0%-5 years ago
4.0.4
CommonJSNoneTesting
@layerzerolabs/hardhat-deploy
Hardhat Plugin For Replicable Deployments And Tests
4.3k---2 years ago
0.11.45-lz.4
CommonJSBundledTesting
@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
CommonJSNoneCLI 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
CommonJSNoneEmail, Testing
tap-min
Minimal TAP output formatter.
4.2k+13%--
3.0.0
ESM onlyNoneTesting
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 onlyBundledTesting, WebSockets and realtime
grunt-simple-mocha
A simple wrapper for running tests with Mocha.
4.1k+26%--
0.4.1
CommonJSNoneTesting
qunit-phantomjs-runner
A PhantomJS-powered headless test runner for QUnit
4.1k+31%-5 years ago
2.4.2
CommonJSNoneTesting
w3wallets
browser wallets for playwright
4.1k+86%-3 days ago
1.0.0-beta.13
CommonJSBundledTesting, 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 + CommonJSBundledInternationalisation, Testing
e2e-mailbox
E2E test your email notification system using GuerrillaMail API.
4k+95%-1 year ago
1.1.7
ESM + CommonJSBundledEmail, 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 + CommonJSBundledTesting, ORMs and query builders
gulp-mocha-phantomjs
run client-side Mocha tests with PhantomJS
4k+87%-8 years ago
0.12.2
CommonJSNoneTesting
connect-prism
Record, mock, and proxy HTTP traffic.
4k-32%-7 years ago
1.0.21
CommonJSNoneTesting
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 + CommonJSBundledTesting
pta
Test runner for nodejs using zora
4k+679%-2 months ago
1.4.0
ESM onlyNoneTesting
@stdlib/assert-is-same-value
Test if two arguments are the same value.
4k---7 months ago
0.2.3
CommonJSBundledUtility 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 + CommonJSBundledAccessibility, 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