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 |
|---|---|---|---|---|---|---|---|---|
| mock-req Mocks node.js `http.IncomingMessage` (a request). See also `mock-res`. | 46.9k | -18% | - | 11 years ago 0.2.0 | CommonJS | None | Testing | |
| @jackfranklin/test-data-bot Generate test data for your tests easily. | 46.9k | - | - | - | 3 years ago 2.1.0 | CommonJS | Bundled | Testing |
| type-plus Provides additional types for TypeScript. | 46.9k | +72% | - | 2 years ago 7.6.2 | ESM + CommonJS | Bundled | TypeScript tooling, Testing | |
| jest-useragent-mock Mock `navigator.userAgent` when run unit test cases with jest. | 46.6k | +85% | - | 6 years ago 0.1.1 | CommonJS | Bundled | Testing, Dev servers and API mocking | |
| @axe-core/webdriverio Provides a method to inject and analyze web pages using axe | 46.6k | - | - | - | 1 month ago 4.13.0 | ESM + CommonJS | Bundled | Accessibility, Testing |
| benny A dead simple benchmarking framework | 46.4k | +222% | - | 4 years ago 3.7.1 | CommonJS | None | Testing, TypeScript tooling | |
| @stdlib/assert-is-positive-integer Test if a value is a number having a positive integer value. | 46.4k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Utility libraries, Testing |
| cypress-failed-log Gets you the Cypress test command log as JSON on failure | 46.2k | -30% | - | 4 years ago 2.10.0 | CommonJS | None | Logging, Testing | |
| @antithesishq/bombadil Property-based testing tool for web UIs | 46.1k | - | - | - | 3 days ago 0.7.7 | CommonJS | Bundled | Testing |
| lodash-match-pattern Validates a deep structured JSON pattern | 46.1k | -63% | - | 4 years ago 2.3.1 | CommonJS | None | Testing, Utility libraries | |
| @stdlib/assert-is-collection Test if a value is a collection. | 45.9k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Utility libraries, Testing |
| @web/dev-server-esbuild Plugin for using esbuild in @web/dev-server | 45.8k | - | - | - | 2 months ago 2.0.0 | ESM + CommonJS | Bundled | Testing, TypeScript tooling |
| ts-jest-mocker Powerful, lightweight and TypeScript friendly library that extends Jest with capability of mocking classes and interfaces. | 45.3k | +295% | - | 1 year ago 1.3.0 | CommonJS | Bundled | Testing, TypeScript tooling | |
| rewiremock Advanced dependency mocking device. | 45.3k | -34% | - | 1 year ago 3.14.6 | ESM + CommonJS | Bundled | Dev servers and API mocking, Testing | |
| mocha-lcov-reporter LCOV reporter for Mocha | 45.3k | -58% | - | - 1.3.0 | CommonJS | None | Testing | |
| wipe-node-cache Wipes node.js cache in a controlled way. | 44.7k | -35% | - | 6 years ago 2.1.2 | CommonJS | None | Caching, Testing | |
| @secretlint/tester A testing library for secretlint rule | 44.7k | - | - | - | 30 days ago 13.0.5 | ESM only | Bundled | Testing |
| mock-apollo-client Library to help unit testing when using apollo-client | 44.5k | -30% | - | 10 months ago 2.0.0 | CommonJS | Bundled | Testing, GraphQL | |
| mocha-nightwatch simple, flexible, fun test framework | 44.2k | +1% | - | 9 years ago 3.2.2 | CommonJS | None | Testing | |
| timemachine Test your time critical app by overriding the native Javascript Date function | 44.2k | +27% | - | 5 years ago 0.3.2 | CommonJS | None | Testing, Date and time | |
| setup-polly-jest Setup helper for PollyJS when using in jest/jasmine test environment | 44.1k | +42% | - | 4 years ago 0.11.0 | CommonJS | None | Testing | |
| wipe-webpack-cache Wipes webpack cache in a controled way. | 44.1k | -39% | - | 7 years ago 2.1.0 | CommonJS | None | Caching, Bundlers | |
| passmark The open-source AI framework for regression testing. | 44.1k | - | - | 3 months ago 1.0.16 | CommonJS | Bundled | Testing, Scraping and browser automation | |
| @automock/jest > [!WARNING] > ## Automock is Now Suites > > Automock has stopped at **version 2.1.0** and the project has been renamed to **Suites**, a more mature, actively > developed unit testing framework that extends and improves Automock's original design. > > ## | 43.9k | - | - | - | 9 months ago 2.1.2 | CommonJS | Bundled | Dev servers and API mocking, Testing |
| @stdlib/assert-is-int8array Test if a value is an Int8Array. | 43.7k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Utility libraries, Testing |
| @stdlib/assert-is-int32array Test if a value is an Int32Array. | 43.7k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Utility libraries, Testing |
| @stdlib/assert-is-int16array Test if a value is an Int16Array. | 43.7k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Utility libraries, Testing |
| gulp-istanbul Istanbul unit test coverage plugin for gulp. | 43.2k | +189% | - | - 1.1.3 | CommonJS | None | Testing | |
| cypress-tags Use custom tags to slice up Cypress test runs. | 42.9k | -23% | - | 2 years ago 1.2.2 | CommonJS | Bundled | Testing | |
| unassert Encourages programming with assertions by providing tools to compile them away | 42.7k | -8% | - | 3 years ago 2.0.2 | ESM + CommonJS | None | Testing | |
| eslint-config-sheriff A comprehensive and opinionated TypeScript-first ESLint configuration. | 42k | +313% | - | 3 months ago 31.4.0 | ESM only | Bundled | Linting and formatting, React | |
| @nightwatch/chai A forked of Chai 5 which adds Promise support in order to work with Nightwatch commands. | 41.9k | - | - | - | 2 years ago 5.0.3 | ESM + CommonJS | None | Testing |
| @ethereum-waffle/mock-contract Mock smart contracts in a smart way. | 41.9k | - | - | - | 3 years ago 4.0.4 | ESM + CommonJS | Bundled | Blockchain and Web3, Testing |
| wdio-wait-for a library of conditions that are useful for end-to-end tests | 41.8k | -27% | - | 9 months ago 3.1.1 | ESM + CommonJS | Bundled | Testing | |
| cypress-image-diff-html-report A HTML reporting module for Cypress-Image-Diff to parse the JSON output to a beautiful report | 41.4k | -24% | - | 2 years ago 2.2.0 | ESM only | Bundled | Testing | |
| jest-file-snapshot Jest matcher to write snapshots to a separate file instead of the default snapshot file used by Jest | 41.1k | +103% | - | 2 years ago 0.7.0 | CommonJS | Bundled | Testing | |
| chai-bytes Chai assertions for byte arrays equality | 40.9k | +102% | - | 7 years ago 0.1.2 | CommonJS | Bundled | Testing | |
| predicate A set of predicate functions to improve your value testing and comparisons. | 40.5k | +651% | - | 6 years ago 2.0.0 | CommonJS | None | Testing | |
| tap-spec Formatted TAP output like Mocha's spec reporter | 40.5k | -45% | - | - 5.0.0 | CommonJS | None | Testing | |
| @fetch-mock/jest jest wrapper for fetch-mock | 40.4k | - | - | - | 10 months ago 0.2.20 | ESM + CommonJS | Bundled | Testing |
| svelte-jester A Jest transformer for Svelte - compile your components before importing them into tests | 40.2k | +128% | - | 2 years ago 5.0.0 | ESM only | None | Testing, Svelte | |
| storycap A Storybook addon, Save the screenshot image of your stories! via puppeteer. | 39.9k | -30% | - | 2 years ago 5.0.1 | ESM + CommonJS | Bundled | Documentation tooling, Scraping and browser automation | |
| scenario-mock-server Mock server powered by scenarios | 39.8k | +281% | - | 3 years ago 1.2.0 | ESM + CommonJS | Bundled | Dev servers and API mocking, Testing | |
| jest-webgl-canvas-mock Mock both 2D and WebGL contexts in Jest. | 39.8k | -4% | - | 2 years ago 2.5.3 | CommonJS | Bundled | 3D, WebGL and game engines, Testing | |
| jasmine-diff Jasmine diff matchers | 39.6k | +100% | - | 8 years ago 0.1.3 | CommonJS | None | Testing | |
| @applitools/eyes-playwright Applitools Eyes SDK for Playwright | 39.6k | - | - | - | 2 days ago 1.49.2 | CommonJS | Bundled | Testing, Scraping and browser automation |
| @testcontainers/valkey Valkey module for Testcontainers | 39k | - | - | - | 1 month ago 12.1.0 | CommonJS | Bundled | Testing |
| jest-json Jest matcher for working with JSON | 38.8k | +62% | - | 4 years ago 2.0.0 | CommonJS | Bundled | Testing, Parsers and serialisers | |
| localstorage-polyfill in memory localStorage polyfill for node.js utilizing ES6 proxies | 38.6k | +142% | - | 10 years ago 1.0.1 | CommonJS | None | Testing | |
| ember-cli-mirage A client-side server to help you build, test and demo your Ember app | 38.5k | -2% | - | 2 years ago 3.0.4 | - | None | 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.
- mock-reqMocks node.js `http.IncomingMessage` (a request). See also `mock-res`.
- @jackfranklin/test-data-botGenerate test data for your tests easily.
- type-plusProvides additional types for TypeScript.
- jest-useragent-mockMock `navigator.userAgent` when run unit test cases with jest.
- @axe-core/webdriverioProvides a method to inject and analyze web pages using axe
- bennyA dead simple benchmarking framework
- @stdlib/assert-is-positive-integerTest if a value is a number having a positive integer value.
- cypress-failed-logGets you the Cypress test command log as JSON on failure
- @antithesishq/bombadilProperty-based testing tool for web UIs
- lodash-match-patternValidates a deep structured JSON pattern
- @stdlib/assert-is-collectionTest if a value is a collection.
- @web/dev-server-esbuildPlugin for using esbuild in @web/dev-server
- ts-jest-mockerPowerful, lightweight and TypeScript friendly library that extends Jest with capability of mocking classes and interfaces.
- rewiremockAdvanced dependency mocking device.
- mocha-lcov-reporterLCOV reporter for Mocha
- wipe-node-cacheWipes node.js cache in a controlled way.
- @secretlint/testerA testing library for secretlint rule
- mock-apollo-clientLibrary to help unit testing when using apollo-client
- mocha-nightwatchsimple, flexible, fun test framework
- timemachineTest your time critical app by overriding the native Javascript Date function
- setup-polly-jestSetup helper for PollyJS when using in jest/jasmine test environment
- wipe-webpack-cacheWipes webpack cache in a controled way.
- passmarkThe open-source AI framework for regression testing.
- @automock/jest> [!WARNING] > ## Automock is Now Suites > > Automock has stopped at **version 2.1.0** and the project has been renamed to **Suites**, a more mature, actively > developed unit testing framework that extends and improves Automock's original design. > > ##
- @stdlib/assert-is-int8arrayTest if a value is an Int8Array.
- @stdlib/assert-is-int32arrayTest if a value is an Int32Array.
- @stdlib/assert-is-int16arrayTest if a value is an Int16Array.
- gulp-istanbulIstanbul unit test coverage plugin for gulp.
- cypress-tagsUse custom tags to slice up Cypress test runs.
- unassertEncourages programming with assertions by providing tools to compile them away
- eslint-config-sheriffA comprehensive and opinionated TypeScript-first ESLint configuration.
- @nightwatch/chaiA forked of Chai 5 which adds Promise support in order to work with Nightwatch commands.
- @ethereum-waffle/mock-contractMock smart contracts in a smart way.
- wdio-wait-fora library of conditions that are useful for end-to-end tests
- cypress-image-diff-html-reportA HTML reporting module for Cypress-Image-Diff to parse the JSON output to a beautiful report
- jest-file-snapshotJest matcher to write snapshots to a separate file instead of the default snapshot file used by Jest
- chai-bytesChai assertions for byte arrays equality
- predicateA set of predicate functions to improve your value testing and comparisons.
- tap-specFormatted TAP output like Mocha's spec reporter
- @fetch-mock/jestjest wrapper for fetch-mock
- svelte-jesterA Jest transformer for Svelte - compile your components before importing them into tests
- storycapA Storybook addon, Save the screenshot image of your stories! via puppeteer.
- scenario-mock-serverMock server powered by scenarios
- jest-webgl-canvas-mockMock both 2D and WebGL contexts in Jest.
- jasmine-diffJasmine diff matchers
- @applitools/eyes-playwrightApplitools Eyes SDK for Playwright
- @testcontainers/valkeyValkey module for Testcontainers
- jest-jsonJest matcher for working with JSON
- localstorage-polyfillin memory localStorage polyfill for node.js utilizing ES6 proxies
- ember-cli-mirageA client-side server to help you build, test and demo your Ember app
- 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