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 |
|---|---|---|---|---|---|---|---|---|
| koa-mock-response Mock a Rest API or any backend service. | 3.9k | -3% | - | 6 years ago 1.0.0 | - | None | Testing | |
| memcached-mock A mock implementation of memcached to use as a replacement in tests | 3.9k | -62% | - | 11 years ago 0.1.0 | CommonJS | None | Testing | |
| @testplane/wdio-utils A WDIO helper utility to provide several utility functions used across the project. | 3.8k | - | - | - | 1 month ago 9.5.5 | ESM + CommonJS | Bundled | Utility libraries, Scraping and browser automation |
| @stdlib/assert-is-accessor-array Test if a value is an array-like object supporting the accessor (get/set) protocol. | 3.8k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Testing |
| chai-html HTML assertions for Chai. | 3.8k | -4% | - | 1 year ago 3.2.0 | ESM only | None | Testing | |
| @safe-global/mock-contract Simple Solidity contract to mock dependent contracts in truffle tests. | 3.8k | - | - | - | 3 years ago 4.1.0 | CommonJS | None | Testing, Blockchain and Web3 |
| @stdlib/array-base-assert-is-boolean-data-type Test if an input value is a supported array boolean data type. | 3.7k | - | - | - | 7 months ago 0.0.2 | CommonJS | Bundled | Testing, Node.js utilities |
| interface-forge A TypeScript library for creating strongly typed mock data factories using Faker.js for test data generation | 3.7k | +93% | - | 3 months ago 2.7.0 | ESM + CommonJS | Bundled | Dev servers and API mocking, Testing | |
| @tenkeylabs/dappwright End-to-End (E2E) testing for dApps using Playwright + MetaMask | 3.7k | - | - | - | 1 month ago 2.13.12 | ESM + CommonJS | Bundled | Testing |
| lcov-total Parsing lcov.info and returning total of the summary intended to use inside CI to exit if threshold not reach | 3.7k | -33% | - | 3 years ago 2.1.1 | ESM only | None | Testing, CLI tools and terminal utilities | |
| types-testing Test TypeScript types at test runner runtime - Works seamlessly with Jest, Vitest, and Bun. | 3.7k | +145433% | - | 4 months ago 1.0.2 | ESM only | Bundled | Testing, TypeScript tooling | |
| ldap-server-mock Simple mock for LDAP server | 3.7k | -7% | - | 3 years ago 6.0.1 | CommonJS | Bundled | Testing | |
| @sa11y/vitest Accessibility testing matcher for vitest | 3.7k | - | - | - | 9 days ago 8.1.1 | ESM only | Bundled | Accessibility, Testing |
| angular-socket.io-mock Drop in Mock replacement for angular-socket-io | 3.7k | +73% | - | 9 years ago 1.2.0 | - | None | Angular, Testing | |
| @foundry-rs/anvil Anvil is a fast local Ethereum development node | 3.6k | - | - | - | 4 months ago 1.7.1 | ESM only | None | Blockchain and Web3, Testing |
| @zitterorg/illo-hic-voluptatem React components for [Stripe.js and Elements](https://stripe.com/docs/stripe-js). | 3.6k | - | - | - | 2 years ago 7.6.72 | CommonJS | None | CLI tools and terminal utilities, CSS-in-JS and styling |
| @stdlib/array-base-assert-is-booleanarray Test if a value is a BooleanArray. | 3.6k | - | - | - | 7 months ago 0.0.3 | CommonJS | Bundled | Testing |
| request-mocking-protocol A protocol for declarative mocking of HTTP requests | 3.6k | +689% | - | 2 months ago 0.6.0 | CommonJS | Bundled | Testing | |
| @stdlib/array-base-assert-is-complex-floating-point-data-type Test if an input value is a supported array complex-valued floating-point data type. | 3.6k | - | - | - | 7 months ago 0.2.2 | CommonJS | Bundled | Testing, Node.js utilities |
| @lazy-assert/check-basic Basic number checking utilities with TypeScript type guards / 基本數字檢查工具,支援 TypeScript 類型守護 | 3.6k | - | - | - | 13 days ago 1.0.14 | ESM + CommonJS | Bundled | Testing |
| esbuild-jest2 Jest plugin to use esbuild for transformation | 3.6k | -30% | - | 2 years ago 0.6.7 | ESM + CommonJS | Bundled | Testing | |
| zora the lightest yet the fastest javascript testing library | 3.6k | +29% | - | 2 months ago 6.0.4 | ESM + CommonJS | Bundled | Testing | |
| wct-browser-legacy Client-side dependencies for web-component-tester tests installed via npm. | 3.6k | +167% | - | 7 years ago 1.0.2 | CommonJS | None | Testing | |
| cypress-keycloak-commands Cypress commands for login with Keycloak | 3.6k | -49% | - | 6 years ago 1.2.0 | CommonJS | Bundled | Authentication and authorisation, Testing | |
| cypress-log Custom Cypress command that overrides the default cy.log() command and adds the ability to log to the terminal and the Command Log. | 3.5k | +65% | - | 2 years ago 1.0.3 | CommonJS | None | Testing, CLI tools and terminal utilities | |
| supertest-koa-agent Converts a Koa app into a supertest compatible agent instance. | 3.5k | +216% | - | 7 years ago 0.3.2 | CommonJS | None | HTTP servers and web frameworks, Testing | |
| chai-wait-for Drop-in replacement for expect that waits for the assertion to succeed (retries on an interval you choose, until a timeout you choose) | 3.5k | -52% | - | 2 months ago 3.2.2 | ESM + CommonJS | Bundled | Promises and async control flow, Testing | |
| jest-plugin-clock Jest plugin to mock dates, times, and datetimes. | 3.5k | -39% | - | 8 years ago 2.9.0 | CommonJS | None | Date and time, Testing | |
| chai-counting A simple counting plugin for the Chai assertion library | 3.5k | +58% | - | 10 years ago 1.0.1 | CommonJS | None | Testing | |
| @executor-js/emulate Local drop-in replacement services for CI and no-network sandboxes | 3.5k | - | - | - | 10 days ago 0.14.2 | ESM only | Bundled | Testing |
| vite-plugin-mock-server Vite mock server plugin | 3.5k | -21% | - | 2 years ago 1.3.1 | ESM only | Bundled | Dev servers and API mocking, Testing | |
| @qawolf/run-globals-ios iOS testing utilities for QA Wolf | 3.5k | - | - | - | 28 days ago 0.0.19 | ESM only | Bundled | Testing |
| @typestrong/ts-mockito Mocking library for TypeScript | 3.4k | - | - | - | 1 year ago 2.7.12 | CommonJS | Bundled | TypeScript tooling, Testing |
| react-native-svg-mock A mock implementation of react-native-svg for use in tests. | 3.4k | +10% | - | - 2.0.0 | CommonJS | None | Testing, React | |
| @tomfreudenberg/next-auth-mock NextAuth.js mockup provider for jest, storybook and others. | 3.4k | - | - | - | 3 years ago 0.5.6 | CommonJS | None | Documentation tooling, Static site generators and meta-frameworks |
| vitest-auto-spy Auto-generate fully-typed test spies from a class — across Vitest, Bun, node:test and Rstest, with Angular/NestJS/React/Vue/Svelte recipes. Drop-in replacement for jest-auto-spies and jasmine-auto-spies. | 3.3k | - | - | 1 day ago 5.29.0 | ESM + CommonJS | Bundled | Testing, Vue | |
| node-qunit-phantomjs Run QUnit unit tests in a headless PhantomJS instance without using Grunt. | 3.3k | +92% | - | 6 years ago 2.1.1 | CommonJS | None | Testing | |
| playwright-s3-reporter A Playwright Reporter for uploading traces to S3 compatible services. | 3.2k | +458% | - | 28 days ago 1.5.0 | ESM + CommonJS | Bundled | Scraping and browser automation, Testing | |
| @amadeus-it-group/kassette Development server, used mainly for testing, which proxies requests and is able to easily manage local mocks. | 3.2k | - | - | - | 5 months ago 1.7.6 | CommonJS | Bundled | Dev servers and API mocking, Testing |
| crypto-miller-rabin Implementation of the Miller-Rabin primality test. | 3.2k | +64% | - | 1 year ago 1.0.1 | ESM only | Bundled | Cryptography and hashing, Testing | |
| chai-json-equal Assert on equality of json representations in Chai | 3.2k | -58% | - | 10 years ago 0.0.1 | CommonJS | None | Testing | |
| @cypress/angular Test Angular Components with Cypress | 3.2k | - | - | - | 29 days ago 5.0.0 | ESM + CommonJS | Bundled | Testing, Angular |
| @pollyjs/adapter-puppeteer File system persister for @pollyjs | 3.2k | - | - | - | 3 years ago 6.0.6 | ESM + CommonJS | Bundled | Files and file systems, Testing |
| babel-tape-runner Babel + Tape for running your ES Next tests | 3.2k | -22% | - | - 3.0.0 | - | None | Testing | |
| counterfact Turn an OpenAPI document into a useful local API for frontend development in one command. | 3.1k | +25% | - | 27 days ago 2.16.5 | ESM only | Bundled | Documentation tooling, TypeScript tooling | |
| @stdlib/assert-is-undefined-or-null Test if a value is undefined or null. | 3.1k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Utility libraries, Testing |
| extend-tape Extends Tape with new assertions | 3.1k | +102% | - | 10 years ago 1.2.0 | CommonJS | None | Testing | |
| @reporters/mocha use any mocha reporter with `node:test` | 3.1k | - | - | - | 23 days ago 2.0.3 | ESM only | None | Testing |
| qawolf-socket-npm QA Wolf automation testing package with real-world dependencies | 3.1k | +184% | - | 1 day ago 1.0.648 | CommonJS | None | Testing, WebSockets and realtime | |
| jest-mock-now Date.now() as deterministic Jest mock function. | 3.1k | +1% | - | 6 years ago 1.3.0 | CommonJS | None | Date and time, 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.
- koa-mock-responseMock a Rest API or any backend service.
- memcached-mockA mock implementation of memcached to use as a replacement in tests
- @testplane/wdio-utilsA WDIO helper utility to provide several utility functions used across the project.
- @stdlib/assert-is-accessor-arrayTest if a value is an array-like object supporting the accessor (get/set) protocol.
- chai-htmlHTML assertions for Chai.
- @safe-global/mock-contractSimple Solidity contract to mock dependent contracts in truffle tests.
- @stdlib/array-base-assert-is-boolean-data-typeTest if an input value is a supported array boolean data type.
- interface-forgeA TypeScript library for creating strongly typed mock data factories using Faker.js for test data generation
- @tenkeylabs/dappwrightEnd-to-End (E2E) testing for dApps using Playwright + MetaMask
- lcov-totalParsing lcov.info and returning total of the summary intended to use inside CI to exit if threshold not reach
- types-testingTest TypeScript types at test runner runtime - Works seamlessly with Jest, Vitest, and Bun.
- ldap-server-mockSimple mock for LDAP server
- @sa11y/vitestAccessibility testing matcher for vitest
- angular-socket.io-mockDrop in Mock replacement for angular-socket-io
- @foundry-rs/anvilAnvil is a fast local Ethereum development node
- @zitterorg/illo-hic-voluptatemReact components for [Stripe.js and Elements](https://stripe.com/docs/stripe-js).
- @stdlib/array-base-assert-is-booleanarrayTest if a value is a BooleanArray.
- request-mocking-protocolA protocol for declarative mocking of HTTP requests
- @stdlib/array-base-assert-is-complex-floating-point-data-typeTest if an input value is a supported array complex-valued floating-point data type.
- @lazy-assert/check-basicBasic number checking utilities with TypeScript type guards / 基本數字檢查工具,支援 TypeScript 類型守護
- esbuild-jest2Jest plugin to use esbuild for transformation
- zorathe lightest yet the fastest javascript testing library
- wct-browser-legacyClient-side dependencies for web-component-tester tests installed via npm.
- cypress-keycloak-commandsCypress commands for login with Keycloak
- cypress-logCustom Cypress command that overrides the default cy.log() command and adds the ability to log to the terminal and the Command Log.
- supertest-koa-agentConverts a Koa app into a supertest compatible agent instance.
- chai-wait-forDrop-in replacement for expect that waits for the assertion to succeed (retries on an interval you choose, until a timeout you choose)
- jest-plugin-clockJest plugin to mock dates, times, and datetimes.
- chai-countingA simple counting plugin for the Chai assertion library
- @executor-js/emulateLocal drop-in replacement services for CI and no-network sandboxes
- vite-plugin-mock-serverVite mock server plugin
- @qawolf/run-globals-iosiOS testing utilities for QA Wolf
- @typestrong/ts-mockitoMocking library for TypeScript
- react-native-svg-mockA mock implementation of react-native-svg for use in tests.
- @tomfreudenberg/next-auth-mockNextAuth.js mockup provider for jest, storybook and others.
- vitest-auto-spyAuto-generate fully-typed test spies from a class — across Vitest, Bun, node:test and Rstest, with Angular/NestJS/React/Vue/Svelte recipes. Drop-in replacement for jest-auto-spies and jasmine-auto-spies.
- node-qunit-phantomjsRun QUnit unit tests in a headless PhantomJS instance without using Grunt.
- playwright-s3-reporterA Playwright Reporter for uploading traces to S3 compatible services.
- @amadeus-it-group/kassetteDevelopment server, used mainly for testing, which proxies requests and is able to easily manage local mocks.
- crypto-miller-rabinImplementation of the Miller-Rabin primality test.
- chai-json-equalAssert on equality of json representations in Chai
- @cypress/angularTest Angular Components with Cypress
- @pollyjs/adapter-puppeteerFile system persister for @pollyjs
- babel-tape-runnerBabel + Tape for running your ES Next tests
- counterfactTurn an OpenAPI document into a useful local API for frontend development in one command.
- @stdlib/assert-is-undefined-or-nullTest if a value is undefined or null.
- extend-tapeExtends Tape with new assertions
- @reporters/mochause any mocha reporter with `node:test`
- qawolf-socket-npmQA Wolf automation testing package with real-world dependencies
- jest-mock-nowDate.now() as deterministic Jest mock function.
- 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