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 |
|---|---|---|---|---|---|---|---|---|
| @stdlib/assert Standard assertion utilities. | 29.8k | - | - | - | 3 months ago 0.4.1 | CommonJS | Bundled | Testing, Utility libraries |
| deeper JavaScript "deep equality" / structural equality tester with Node.js flavor. | 29.7k | -39% | - | 11 years ago 2.1.0 | - | None | Testing | |
| allure-mocha Allure Mocha integration | 29.6k | -11% | - | 9 days ago 3.12.2 | ESM + CommonJS | Bundled | Testing | |
| cucumber-tsflow Provides 'specflow' like bindings for CucumberJS 7.0.0+ in TypeScript 1.7+. | 29.5k | -2% | - | 10 days ago 5.0.16 | CommonJS | None | TypeScript tooling, Testing | |
| preact-render-spy Render preact components with access to the produced virtual dom for testing. | 29.1k | +389% | - | 8 years ago 1.3.0 | CommonJS | Bundled | Testing | |
| unexpected Extensible BDD assertion toolkit | 28.9k | -8% | - | 3 years ago 13.2.1 | CommonJS | None | Testing | |
| @stdlib/assert-tools-array-like-function Return a function which tests if every element in an array-like object passes a test condition. | 28.8k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Testing, Node.js utilities |
| vi-canvas-mock Mock a canvas in your vitest tests. | 28.7k | +41% | - | 3 years ago 1.0.0 | CommonJS | Bundled | Testing | |
| vscode-extension-tester ExTester is a package that is designed to help you run UI tests for your Visual Studio Code extensions using selenium-webdriver. | 28.7k | -26% | - | 11 days ago 8.27.0 | CommonJS | Bundled | Testing, Scraping and browser automation | |
| @stdlib/assert-is-typed-array Test if a value is a typed array. | 28.5k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Utility libraries, Testing |
| @cypress/vue Browser-based Component Testing for Vue.js with Cypress.io | 28.5k | - | - | - | 30 days ago 7.0.0 | ESM + CommonJS | Bundled | Vue, Testing |
| @stdlib/assert-is-complex-typed-array Test if a value is a complex typed array. | 28.5k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Utility libraries, Testing |
| cypress-promise Convert a Cypress chain into a promise for use with async/await | 28.3k | -23% | - | 6 years ago 1.1.0 | CommonJS | None | Promises and async control flow, Testing | |
| @salesforce/cli-plugins-testkit Provides test utilities to assist Salesforce CLI plug-in authors with writing non-unit tests (NUT). | 28k | - | - | - | 1 month ago 5.3.66 | CommonJS | Bundled | CLI tools and terminal utilities, Testing |
| jasmine-node DOM-less simple JavaScript BDD testing framework for Node | 27.6k | +34% | - | 7 years ago 3.0.0 | CommonJS | None | Testing | |
| mongodb-memory-server-global MongoDB Server for testing (auto-download latest version to ~/.cache/mongodb-binaries). | 27.3k | +77% | - | 4 days ago 11.3.0 | CommonJS | Bundled | Testing, Dev servers and API mocking | |
| mock-res Mocks node.js http.ServerResponse. See also `mock-req`. | 27.3k | -35% | - | 4 years ago 0.6.0 | CommonJS | None | Testing | |
| @web/rollup-plugin-copy Rollup plugin which copies asset files while retaining the relative folder structure. | 27.2k | - | - | - | 2 months ago 1.0.0 | ESM + CommonJS | Bundled | Dev servers and API mocking, Testing |
| ts-auto-mock Typescript transformer to unlock automatic mock creation for interfaces and classes | 27k | -34% | - | 2 years ago 3.7.4 | - | Bundled | Testing, TypeScript tooling | |
| inject-loader A Webpack loader for injecting code into modules via their dependencies | 26.8k | -13% | - | 8 years ago 4.0.1 | CommonJS | None | Bundler plugins and loaders, Testing | |
| snap-shot-it Smarter snapshot utility for Mocha and BDD test runners | 26.8k | -33% | - | 3 years ago 7.9.10 | CommonJS | Bundled | Testing | |
| sequelize-mock A simple mock interface specifically for testing code relying on Sequelize models | 26.7k | -20% | - | 8 years ago 0.10.2 | CommonJS | None | Testing | |
| specmatic Node wrapper for Specmatic | 26.7k | +406% | - | 8 days ago 2.54.1 | CommonJS | Bundled | Documentation tooling, Testing | |
| wdio-rerun-service A WebdriverIO service to track and stage for re-running failed or flaky Jasmine/Mocha tests or Cucumber Scenarios. | 26.6k | +154% | - | 8 months ago 3.0.1 | ESM + CommonJS | Bundled | Testing, Scraping and browser automation | |
| espower Power Assert feature instrumentor based on the ECMAScript AST | 26.6k | -80% | - | 7 years ago 2.1.2 | CommonJS | None | Testing | |
| mocha-steps Sequential scenarios for Mocha | 26.5k | -1% | - | 7 years ago 1.3.0 | CommonJS | Bundled | Testing | |
| zod-schema-faker Generates mock data from zod schema. Powered by @faker-js/faker and randexp.js | 26.5k | +512% | - | 6 months ago 2.1.1 | ESM + CommonJS | Bundled | Dev servers and API mocking, Schema validation | |
| @pactflow/pact-msw-adapter > Generate pact contracts from the recorded mock service worker interactions. | 26.4k | - | - | - | 18 days ago 4.0.2 | ESM only | Bundled | Testing |
| snap-shot-core Save / load named snapshots, useful for tests | 26.4k | -38% | - | 5 years ago 10.2.4 | CommonJS | None | Testing | |
| espower-loader Power Assert feature instrumentor on the fly | 26.3k | -82% | - | 9 years ago 1.2.2 | CommonJS | None | Testing | |
| loadtest Run load tests for your web application. Mostly ab-compatible interface, with an option to force requests per second. Includes an API for automated load testing. | 26.2k | +54% | - | 8 months ago 8.2.1 | ESM only | Bundled | Testing | |
| @testcontainers/neo4j Neo4J module for Testcontainers | 26.1k | - | - | - | 1 month ago 12.1.0 | CommonJS | Bundled | Testing |
| jest-mock-vscode VS Code Mock for jest | 26k | -12% | - | 1 month ago 4.13.0 | CommonJS | Bundled | Testing, Dev servers and API mocking | |
| ts-jest-mock Maps to the proper jest mock type | 26k | +101% | - | 2 years ago 1.4.2 | ESM + CommonJS | Bundled | Testing, TypeScript tooling | |
| @stdlib/assert-is-error Test if a value is an Error object. | 26k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Utility libraries, Testing |
| pptr-testing-library puppeteer + dom-testing-library | 25.9k | -14% | - | 2 years ago 0.8.0 | CommonJS | Bundled | Testing | |
| yeoman-assert Assert utility from yeoman | 25.9k | -4% | - | - 3.1.1 | - | None | Testing | |
| @redhat-developer/locators Pluggable Page Objects locators for an ExTester framework. | 25.9k | - | - | - | 11 days ago 1.24.0 | CommonJS | Bundled | Testing, Scraping and browser automation |
| alias-hq The end-to-end solution for configuring, refactoring, maintaining and using path aliases | 25.9k | -8% | - | 2 years ago 6.2.4 | CommonJS | Bundled | Bundlers, Testing | |
| react-test-config Configure React testing environment | 25.8k | - | - | 3 months ago 1.0.0 | ESM + CommonJS | Bundled | React, Testing | |
| ngx-translate-testing A library of utilities for testing with the ngx-translate i18n Angular library | 25.8k | -26% | - | 3 years ago 7.0.0 | ESM + CommonJS | Bundled | Internationalisation, Angular | |
| @neuralegion/cypress-har-generator The Cypress plugin for generating HTTP Archive (HAR) files is a tool that allows developers and QA engineers to capture detailed information about network requests made during the execution of Cypress tests. | 25.8k | - | - | - | 1 year ago 5.17.1 | CommonJS | Bundled | TypeScript tooling, Testing |
| espower-source Power Assert instrumentor from source to source, with source-map | 25.8k | -81% | - | 8 years ago 2.3.0 | CommonJS | None | Testing | |
| @appium/execute-driver-plugin Plugin for batching and executing Appium driver commands | 25.7k | - | - | - | 1 day ago 7.0.1 | ESM only | Bundled | Scraping and browser automation, Testing |
| @argos-ci/vitest Vitest SDK for visual testing with Argos. | 25.6k | - | - | - | 12 days ago 0.7.0 | ESM only | Bundled | Testing |
| empower-assert Convert assert to power-assert on ESTree AST | 25.3k | -81% | - | 8 years ago 2.0.0 | CommonJS | None | Testing | |
| blink-diff A lightweight image comparison tool | 25.3k | -8% | - | 10 years ago 1.0.13 | CommonJS | None | Testing | |
| desired-capabilities utilities for parsing shorthand Selenium capabilities objects | 25.2k | +11% | - | 11 years ago 0.1.0 | CommonJS | None | Scraping and browser automation, Testing | |
| @stdlib/assert-napi-equal-typedarray-types Assert that two Node-API typed array data types are equal. | 25k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Testing |
| @stdlib/assert-napi-is-typedarray Assert that a Node-API value is a Node-API typed array. | 25k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | 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.
- @stdlib/assertStandard assertion utilities.
- deeperJavaScript "deep equality" / structural equality tester with Node.js flavor.
- allure-mochaAllure Mocha integration
- cucumber-tsflowProvides 'specflow' like bindings for CucumberJS 7.0.0+ in TypeScript 1.7+.
- preact-render-spyRender preact components with access to the produced virtual dom for testing.
- unexpectedExtensible BDD assertion toolkit
- @stdlib/assert-tools-array-like-functionReturn a function which tests if every element in an array-like object passes a test condition.
- vi-canvas-mockMock a canvas in your vitest tests.
- vscode-extension-testerExTester is a package that is designed to help you run UI tests for your Visual Studio Code extensions using selenium-webdriver.
- @stdlib/assert-is-typed-arrayTest if a value is a typed array.
- @cypress/vueBrowser-based Component Testing for Vue.js with Cypress.io
- @stdlib/assert-is-complex-typed-arrayTest if a value is a complex typed array.
- cypress-promiseConvert a Cypress chain into a promise for use with async/await
- @salesforce/cli-plugins-testkitProvides test utilities to assist Salesforce CLI plug-in authors with writing non-unit tests (NUT).
- jasmine-nodeDOM-less simple JavaScript BDD testing framework for Node
- mongodb-memory-server-globalMongoDB Server for testing (auto-download latest version to ~/.cache/mongodb-binaries).
- mock-resMocks node.js http.ServerResponse. See also `mock-req`.
- @web/rollup-plugin-copyRollup plugin which copies asset files while retaining the relative folder structure.
- ts-auto-mockTypescript transformer to unlock automatic mock creation for interfaces and classes
- inject-loaderA Webpack loader for injecting code into modules via their dependencies
- snap-shot-itSmarter snapshot utility for Mocha and BDD test runners
- sequelize-mockA simple mock interface specifically for testing code relying on Sequelize models
- specmaticNode wrapper for Specmatic
- wdio-rerun-serviceA WebdriverIO service to track and stage for re-running failed or flaky Jasmine/Mocha tests or Cucumber Scenarios.
- espowerPower Assert feature instrumentor based on the ECMAScript AST
- mocha-stepsSequential scenarios for Mocha
- zod-schema-fakerGenerates mock data from zod schema. Powered by @faker-js/faker and randexp.js
- @pactflow/pact-msw-adapter> Generate pact contracts from the recorded mock service worker interactions.
- snap-shot-coreSave / load named snapshots, useful for tests
- espower-loaderPower Assert feature instrumentor on the fly
- loadtestRun load tests for your web application. Mostly ab-compatible interface, with an option to force requests per second. Includes an API for automated load testing.
- @testcontainers/neo4jNeo4J module for Testcontainers
- jest-mock-vscodeVS Code Mock for jest
- ts-jest-mockMaps to the proper jest mock type
- @stdlib/assert-is-errorTest if a value is an Error object.
- pptr-testing-librarypuppeteer + dom-testing-library
- yeoman-assertAssert utility from yeoman
- @redhat-developer/locatorsPluggable Page Objects locators for an ExTester framework.
- alias-hqThe end-to-end solution for configuring, refactoring, maintaining and using path aliases
- react-test-configConfigure React testing environment
- ngx-translate-testingA library of utilities for testing with the ngx-translate i18n Angular library
- @neuralegion/cypress-har-generatorThe Cypress plugin for generating HTTP Archive (HAR) files is a tool that allows developers and QA engineers to capture detailed information about network requests made during the execution of Cypress tests.
- espower-sourcePower Assert instrumentor from source to source, with source-map
- @appium/execute-driver-pluginPlugin for batching and executing Appium driver commands
- @argos-ci/vitestVitest SDK for visual testing with Argos.
- empower-assertConvert assert to power-assert on ESTree AST
- blink-diffA lightweight image comparison tool
- desired-capabilitiesutilities for parsing shorthand Selenium capabilities objects
- @stdlib/assert-napi-equal-typedarray-typesAssert that two Node-API typed array data types are equal.
- @stdlib/assert-napi-is-typedarrayAssert that a Node-API value is a Node-API typed array.
- 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