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 |
|---|---|---|---|---|---|---|---|---|
| core-assert Node.js `assert` as a standalone module | 467.1k | +58% | - | 7 years ago 1.0.0 | - | None | Testing, Polyfills and shims | |
| fetch-mock-cache Caching mock fetch implementation for all runtimes and frameworks. | 456.8k | +15640% | - | 2 months ago 3.1.0 | ESM only | Bundled | Testing, Dev servers and API mocking | |
| mock-property Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it. | 450.6k | +13% | - | 3 months ago 1.1.2 | CommonJS | Bundled | Testing, Dev servers and API mocking | |
| enzyme-to-json convert enzyme wrapper to a format compatible with Jest snapshot | 447.7k | -31% | - | 5 years ago 3.6.2 | CommonJS | None | Testing | |
| vitest-fetch-mock fetch mock for vitest | 440.2k | +89% | - | 1 year ago 0.4.5 | ESM only | Bundled | Testing | |
| @webext-core/fake-browser An in-memory implementation of web extension APIs for testing. Supports all test frameworks (Vitest, Jest, etc) | 434.4k | - | - | - | 2 months ago 2.0.1 | ESM only | Bundled | Testing |
| jest-date-mock Mock `window.Date` when run unit test cases with jest. Make tests of `Date` easier. | 430.5k | +22% | - | 2 years ago 1.0.10 | CommonJS | Bundled | Date and time, Testing | |
| @pact-foundation/pact Pact for all things Javascript | 427.6k | - | - | - | 18 days ago 17.1.4 | CommonJS | Bundled | Testing |
| karma-mocha A Karma plugin. Adapter for Mocha testing framework. | 423.5k | -13% | - | 6 years ago 2.0.1 | CommonJS | None | Testing | |
| codeceptjs Supercharged End 2 End Testing Framework for NodeJS | 415.4k | +171% | - | 3 days ago 4.2.0 | ESM + CommonJS | Bundled | Testing, Scraping and browser automation | |
| create-wdio Install and setup a WebdriverIO project with all its dependencies in a single run | 412.6k | +369% | - | 4 days ago 9.32.0 | ESM only | Bundled | Testing | |
| @wdio/xvfb A standalone utility to manage Xvfb (X Virtual Framebuffer) for headless testing | 411.8k | - | - | - | 4 days ago 9.32.0 | ESM only | Bundled | Testing |
| playwright-bdd BDD Testing with Playwright runner | 409.9k | +268% | - | 19 days ago 9.2.1 | CommonJS | Bundled | Testing, Scraping and browser automation | |
| ng-mocks ng-mocks simplifies Angular testing with mock dependencies, shallow rendering and less boilerplate. Mock components, services, directives, pipes and modules in Angular 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 with Jasmine, Jest or Vitest. | 404.6k | -0% | - | 7 days ago 14.18.1 | ESM + CommonJS | Bundled | Testing, Angular | |
| ctrf CTRF reference implementation in TypeScript for creating and validating CTRF documents. | 403.1k | +426% | - | 1 month ago 0.3.0 | ESM + CommonJS | Bundled | Testing, TypeScript tooling | |
| ava Node.js test runner that lets you develop with confidence. | 402.6k | -31% | - | 4 months ago 8.0.1 | ESM only | Bundled | Promises and async control flow, Testing | |
| mockttp Mock HTTP server for testing HTTP clients and stubbing webservices | 399.2k | +42% | - | 14 days ago 4.6.3 | CommonJS | Bundled | Testing, Dev servers and API mocking | |
| @scalar/api-reference-react The react client only integration for api references | 395.7k | - | - | - | 1 day ago 0.9.73 | ESM only | Bundled | React, Testing |
| aws-sdk-client-mock-jest Custom Jest matchers for AWS SDK v3 Client mock | 393.4k | +22% | - | 1 year ago 4.1.0 | ESM + CommonJS | Bundled | Cloud SDKs, Testing | |
| chai-string strings comparison matchers for chai | 384.8k | -30% | - | 1 year ago 1.6.0 | CommonJS | None | Testing | |
| @golevelup/ts-jest Reusable utilities to help level up NestJS Testing | 382.5k | - | - | - | 6 months ago 3.0.0 | CommonJS | Bundled | Testing, Node.js utilities |
| pg-mem A memory version of postgres | 377.4k | +209% | - | 6 months ago 3.0.14 | CommonJS | Bundled | Testing, ORMs and query builders | |
| jest-fail-on-console Utility to make jest tests fail when console.error() or console.warn() are used | 375.6k | -2% | - | 9 months ago 3.3.4 | CommonJS | None | Testing | |
| jest-preset-stylelint Jest preset for Stylelint plugins. | 374k | +301% | - | 4 months ago 9.2.0 | CommonJS | Bundled | Linting and formatting, Testing | |
| react-select-event Simulate react-select events for react-testing-library | 374k | +9% | - | 4 years ago 5.5.1 | ESM + CommonJS | Bundled | Testing | |
| jest-fixed-jsdom A superset of the JSDOM environment for Jest that respects Node.js globals. | 372.3k | +30% | - | 10 months ago 0.0.11 | CommonJS | None | Testing | |
| calibre Performance monitoring with Synthetic testing, Chrome UX Report, and Real User Metrics | 360.8k | +461% | - | 4 months ago 7.0.0 | ESM + CommonJS | None | Monitoring and error tracking, Testing | |
| json-server [](https://github.com/typicode/json-server/actions/workflows/node.js.yml) | 356.8k | +12% | - | 6 months ago 1.0.0-beta.15 | ESM only | None | Dev servers and API mocking, Testing | |
| jest-sonar-reporter A Sonar test reporter for Jest. | 354.5k | -24% | - | 8 years ago 2.0.0 | CommonJS | None | Testing | |
| detox E2E tests and automation for mobile | 348.6k | +23% | - | 3 months ago 20.51.4 | CommonJS | Bundled | Testing, React | |
| devtools A Chrome DevTools protocol binding that maps WebDriver commands into Chrome DevTools commands using Puppeteer | 346.7k | -45% | - | 1 year ago 8.42.0 | ESM + CommonJS | Bundled | Testing, Node.js utilities | |
| @stdlib/assert-is-regexp-string Test if a value is a regular expression string. | 340.9k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Testing, Utility libraries |
| jest-html-reporter Jest test results processor for generating a summary in HTML | 338.4k | +7% | - | 19 days ago 4.4.2 | CommonJS | None | Testing | |
| xhr-mocklet Utility for mocking XMLHttpRequests in the browser or nodejs. | 332.8k | +412% | - | 7 years ago 1.2.3 | ESM + CommonJS | Bundled | Testing, Dev servers and API mocking | |
| @contract-case/case-core-plugin-http ContractCase core HTTP plugin, providing HTTP matchers and mocks | 332.7k | - | - | - | 25 days ago 0.31.2 | CommonJS | Bundled | Testing |
| @contract-case/case-core Core functionality for the ContractCase contract testing suite | 332.7k | - | - | - | 25 days ago 0.31.2 | CommonJS | Bundled | Testing |
| @contract-case/case-plugin-base Plugin framework for writing plugins for the ContractCase test framework | 332.7k | - | - | - | 25 days ago 0.31.2 | CommonJS | Bundled | Testing |
| @contract-case/case-plugin-dsl-types Types for writing the definition DSL for plugins for the ContractCase test framework | 332.7k | - | - | - | 25 days ago 0.31.2 | CommonJS | Bundled | Testing |
| @contract-case/cli Command-line interface for ContractCase, allowing interactions with the Contract / Pact Broker | 332.5k | - | - | - | 25 days ago 0.31.2 | ESM only | Bundled | Testing |
| @contract-case/contract-case-jest ContractCase contract testing suite for Jest | 332.5k | - | - | - | 25 days ago 0.31.2 | CommonJS | Bundled | Testing |
| @contract-case/case-entities-internal Shared types for ContractCase modules | 332.5k | - | - | - | 25 days ago 0.31.2 | CommonJS | Bundled | Testing |
| @contract-case/case-core-plugin-function-dsl ContractCase core function plugin DSL | 332.4k | - | - | - | 25 days ago 0.31.2 | CommonJS | Bundled | Testing |
| karma-mocha-reporter Karma reporter with mocha style logging. | 330.7k | +7% | - | 8 years ago 2.2.5 | CommonJS | None | Testing | |
| vitest-fail-on-console Utility to make vitest tests fail when console.error() or console.warn() are used | 327k | +122% | - | 1 year ago 0.10.1 | ESM only | Bundled | Testing, Utility libraries | |
| @contract-case/case-core-plugin-function ContractCase core function plugin, allowing validation of arbitrary functions | 325.1k | - | - | - | 25 days ago 0.31.2 | CommonJS | Bundled | Testing |
| @contract-case/case-core-plugin-http-dsl ContractCase HTTP plugin CaseExample definition DSL | 325.1k | - | - | - | 25 days ago 0.31.2 | CommonJS | Bundled | Testing |
| qunit The powerful, easy-to-use testing framework. | 323.2k | +19% | - | 3 months ago 2.26.0 | CommonJS | None | Testing | |
| cypress-iframe Adds iframe support to Cypress | 323k | -24% | - | 6 years ago 1.0.1 | CommonJS | Bundled | Testing | |
| @testcontainers/localstack LocalStack module for Testcontainers | 322.4k | - | - | - | 1 month ago 12.1.0 | CommonJS | Bundled | Testing |
| jsdom-testing-mocks A set of tools for emulating browser behavior in jsdom environment | 321.8k | +68% | - | 1 year ago 1.16.0 | ESM + CommonJS | Bundled | Testing, React |
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.
- core-assertNode.js `assert` as a standalone module
- fetch-mock-cacheCaching mock fetch implementation for all runtimes and frameworks.
- mock-propertyGiven an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.
- enzyme-to-jsonconvert enzyme wrapper to a format compatible with Jest snapshot
- vitest-fetch-mockfetch mock for vitest
- @webext-core/fake-browserAn in-memory implementation of web extension APIs for testing. Supports all test frameworks (Vitest, Jest, etc)
- jest-date-mockMock `window.Date` when run unit test cases with jest. Make tests of `Date` easier.
- @pact-foundation/pactPact for all things Javascript
- karma-mochaA Karma plugin. Adapter for Mocha testing framework.
- codeceptjsSupercharged End 2 End Testing Framework for NodeJS
- create-wdioInstall and setup a WebdriverIO project with all its dependencies in a single run
- @wdio/xvfbA standalone utility to manage Xvfb (X Virtual Framebuffer) for headless testing
- playwright-bddBDD Testing with Playwright runner
- ng-mocksng-mocks simplifies Angular testing with mock dependencies, shallow rendering and less boilerplate. Mock components, services, directives, pipes and modules in Angular 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 with Jasmine, Jest or Vitest.
- ctrfCTRF reference implementation in TypeScript for creating and validating CTRF documents.
- avaNode.js test runner that lets you develop with confidence.
- mockttpMock HTTP server for testing HTTP clients and stubbing webservices
- @scalar/api-reference-reactThe react client only integration for api references
- aws-sdk-client-mock-jestCustom Jest matchers for AWS SDK v3 Client mock
- chai-stringstrings comparison matchers for chai
- @golevelup/ts-jestReusable utilities to help level up NestJS Testing
- pg-memA memory version of postgres
- jest-fail-on-consoleUtility to make jest tests fail when console.error() or console.warn() are used
- jest-preset-stylelintJest preset for Stylelint plugins.
- react-select-eventSimulate react-select events for react-testing-library
- jest-fixed-jsdomA superset of the JSDOM environment for Jest that respects Node.js globals.
- calibrePerformance monitoring with Synthetic testing, Chrome UX Report, and Real User Metrics
- json-server[](https://github.com/typicode/json-server/actions/workflows/node.js.yml)
- jest-sonar-reporterA Sonar test reporter for Jest.
- detoxE2E tests and automation for mobile
- devtoolsA Chrome DevTools protocol binding that maps WebDriver commands into Chrome DevTools commands using Puppeteer
- @stdlib/assert-is-regexp-stringTest if a value is a regular expression string.
- jest-html-reporterJest test results processor for generating a summary in HTML
- xhr-mockletUtility for mocking XMLHttpRequests in the browser or nodejs.
- @contract-case/case-core-plugin-httpContractCase core HTTP plugin, providing HTTP matchers and mocks
- @contract-case/case-coreCore functionality for the ContractCase contract testing suite
- @contract-case/case-plugin-basePlugin framework for writing plugins for the ContractCase test framework
- @contract-case/case-plugin-dsl-typesTypes for writing the definition DSL for plugins for the ContractCase test framework
- @contract-case/cliCommand-line interface for ContractCase, allowing interactions with the Contract / Pact Broker
- @contract-case/contract-case-jestContractCase contract testing suite for Jest
- @contract-case/case-entities-internalShared types for ContractCase modules
- @contract-case/case-core-plugin-function-dslContractCase core function plugin DSL
- karma-mocha-reporterKarma reporter with mocha style logging.
- vitest-fail-on-consoleUtility to make vitest tests fail when console.error() or console.warn() are used
- @contract-case/case-core-plugin-functionContractCase core function plugin, allowing validation of arbitrary functions
- @contract-case/case-core-plugin-http-dslContractCase HTTP plugin CaseExample definition DSL
- qunitThe powerful, easy-to-use testing framework.
- cypress-iframeAdds iframe support to Cypress
- @testcontainers/localstackLocalStack module for Testcontainers
- jsdom-testing-mocksA set of tools for emulating browser behavior in jsdom environment
- 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