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 |
|---|---|---|---|---|---|---|---|---|
| sinon JavaScript test spies, stubs and mocks. | 8.3m | +17% | - | 2 months ago 22.1.0 | ESM + CommonJS | None | Testing | |
| @vitest/browser Browser running for Vitest | 8.1m | +519% | - | 10 days ago 5.0.1 | ESM only | Bundled | Testing | |
| randexp Create random strings that match a given regular expression. | 7.9m | +82% | - | 8 years ago 0.5.3 | CommonJS | Bundled | Testing | |
| @storybook/addon-a11y Storybook Addon A11y: Test UI component compliance with WCAG web accessibility standards | 7.6m | +188% | - | 22 days ago 10.6.0 | ESM only | Bundled | Accessibility, React | |
| eslint-plugin-testing-library ESLint plugin to follow best practices and anticipate common mistakes when writing tests with Testing Library | 7.5m | +7% | - | 6 months ago 7.16.2 | ESM + CommonJS | Bundled | Linting and formatting, Testing | |
| @axe-core/playwright Provides a method to inject and analyze web pages using axe | 7.2m | +711% | - | 1 month ago 4.13.0 | ESM + CommonJS | Bundled | Accessibility, Testing | |
| nx The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration. | 7.1m | +42% | - | 15 days ago 23.2.1 | CommonJS | Bundled | Testing, React | |
| nyc the Istanbul command line interface | 6.2m | +15% | - | 7 months ago 18.0.0 | CommonJS | None | Testing | |
| duck Rich matchers inspired by Hamcrest. Useful for generating helpful assertion failure messages in tests. | 6m | +619% | - | 5 years ago 0.1.12 | - | None | Testing | |
| @vitest/browser-playwright Browser running for Vitest using playwright | 5.8m | +552282% | - | 10 days ago 5.0.1 | ESM only | Bundled | Testing | |
| jasmine-core Simple JavaScript testing framework for browsers and node.js | 5m | -9% | - | 1 month ago 7.0.2 | CommonJS | None | Testing | |
| cypress Cypress is a next generation front end testing tool built for the modern web | 4.6m | -5% | - | 9 days ago 16.1.0 | ESM + CommonJS | Bundled | Testing | |
| @prisma/dev A local Prisma Postgres server for development and testing | 4.6m | +142609% | - | 1 month ago 0.25.2 | ESM + CommonJS | Bundled | ORMs and query builders, Testing | |
| testcontainers Testcontainers is a NodeJS library that supports tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container | 4.6m | +222% | - | 1 month ago 12.1.0 | CommonJS | Bundled | Testing | |
| lazy-ass Lazy assertions without performance penalty | 4.1m | -25% | - | 4 years ago 2.0.3 | ESM + CommonJS | Bundled | Testing | |
| @storybook/addon-actions Empty package - please don't use it anymore | 4.1m | -22% | - | 1 year ago 9.0.8 | ESM + CommonJS | Bundled | Documentation tooling, Testing | |
| uvu uvu is an extremely fast and lightweight test runner for Node.js and the browser | 3.7m | +48% | - | 4 years ago 0.5.6 | ESM + CommonJS | Bundled | Testing | |
| @vitest/istanbul-lib-coverage Data library for istanbul coverage objects | 3.7m | - | - | 25 days ago 1.0.1 | ESM only | Bundled | Testing | |
| @storybook/addon-vitest Storybook Vitest addon: Blazing fast component testing using stories | 3.4m | +559% | - | 22 days ago 10.6.0 | ESM only | Bundled | Testing, React | |
| should test framework agnostic BDD-style assertions | 3.4m | +37% | - | 8 years ago 13.2.3 | ESM + CommonJS | Bundled | Testing | |
| karma Spectacular Test Runner for JavaScript. | 3m | -5% | - | 2 years ago 6.4.4 | CommonJS | None | Testing | |
| @testing-library/react-native Simple and complete React Native testing utilities that encourage good testing practices. | 2.8m | +193% | - | 3 months ago 14.0.1 | CommonJS | Bundled | Testing, React | |
| is the definitive JavaScript type testing library | 2.7m | +40% | - | 1 year ago 3.3.2 | CommonJS | None | Testing | |
| @appium/types Various type declarations used across Appium | 2.6m | +230% | - | today 1.7.1 | CommonJS | Bundled | Scraping and browser automation, Testing | |
| karma-jasmine A Karma plugin - adapter for Jasmine testing framework. | 2.5m | -8% | - | 4 years ago 5.1.0 | CommonJS | None | Testing | |
| @appium/support Support libs used across Appium packages | 2.4m | +242% | - | today 7.2.8 | CommonJS | Bundled | Scraping and browser automation, Testing | |
| @appium/schema Appium Configuration Schema | 2.4m | +249% | - | 2 months ago 1.3.0 | CommonJS | Bundled | Scraping and browser automation, Testing | |
| @testcontainers/postgresql PostgreSQL module for Testcontainers | 2.4m | +383% | - | 1 month ago 12.1.0 | CommonJS | Bundled | Testing, Database clients and drivers | |
| react-shallow-renderer React package for shallow rendering. | 2.3m | -16% | - | 4 years ago 16.15.0 | CommonJS | None | React, Testing | |
| aws-sdk-client-mock Easy and powerful mocking of AWS SDK v3 Clients | 2.3m | +82% | - | 1 year ago 4.1.0 | ESM + CommonJS | Bundled | Cloud SDKs, Testing | |
| html-comment-regex Regular expression for matching HTML comments | 2.2m | +20% | - | 7 years ago 1.1.2 | - | None | Strings and text, Testing | |
| @wdio/utils A WDIO helper utility to provide several utility functions used across the project. | 2.2m | +2% | - | 4 days ago 9.32.0 | ESM only | Bundled | Utility libraries, Scraping and browser automation | |
| selenium-webdriver The official WebDriver JavaScript bindings from the Selenium project | 2m | +19% | - | 15 days ago 4.49.0 | CommonJS | None | Scraping and browser automation, Testing | |
| webdriver A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol | 2m | +10% | - | 4 days ago 9.32.0 | ESM + CommonJS | Bundled | Scraping and browser automation, Testing | |
| @storybook/addon-interactions Automate, test and debug user interactions | 2m | -34% | - | 1 year ago 8.6.14 | ESM + CommonJS | Bundled | Documentation tooling, Testing | |
| diffable-html Opinionated HTML formatter focused towards making HTML diffs readable. | 2m | +56% | - | 1 year ago 6.0.1 | CommonJS | None | Testing | |
| webdriverio Next-gen browser and mobile automation test framework for Node.js | 2m | +17% | - | 4 days ago 9.32.0 | ESM + CommonJS | Bundled | Testing, Scraping and browser automation | |
| mockdate A JavaScript mock Date object that can be used to change when "now" is. | 2m | +21% | - | 5 years ago 3.0.5 | CommonJS | Bundled | Testing, Date and time | |
| jest-canvas-mock Mock a canvas in your jest tests. | 2m | -5% | - | 2 months ago 2.5.8 | CommonJS | Bundled | Testing, Dev servers and API mocking | |
| jest-serializer-html Jest snapshot serializer that beautifies HTML. | 1.9m | +46% | - | 5 years ago 7.1.0 | CommonJS | None | Testing, Vue | |
| @cloudflare/vitest-pool-workers Workers Vitest integration for writing Vitest unit and integration tests that run inside the Workers runtime | 1.9m | +600% | - | 1 month ago 0.22.0 | ESM only | Bundled | Cloud SDKs, Testing | |
| vite-plugin-storybook-nextjs Vite plugin that enables Next.js features in Vite and Storybook | 1.8m | +679% | - | 22 days ago 10.6.0 | ESM only | Bundled | Documentation tooling, Testing | |
| @testing-library/react-hooks Simple and complete React hooks testing utilities that encourage good testing practices. | 1.8m | -9% | - | 4 years ago 8.0.1 | CommonJS | Bundled | Testing, React | |
| @vitest/coverage-istanbul Istanbul coverage provider for Vitest | 1.8m | +127% | - | 10 days ago 5.0.1 | ESM only | Bundled | Testing | |
| @stryker-mutator/util Contains utilities for Stryker, the mutation testing framework for JavaScript and friends | 1.8m | +1191% | - | 1 month ago 10.0.0 | ESM only | None | Testing | |
| eslint-plugin-no-only-tests ESLint rule for .only blocks in mocha tests | 1.8m | -5% | - | 4 months ago 3.4.0 | CommonJS | None | Linting and formatting, Testing | |
| mutation-testing-report-schema The json schema for a mutation testing report. | 1.8m | +1214% | - | 1 month ago 3.9.0 | ESM only | Bundled | Testing, Schema validation | |
| mutation-testing-metrics Utility functions to calculate mutation testing metrics. | 1.8m | +1316% | - | 1 month ago 3.9.0 | ESM only | Bundled | Testing, Utility libraries | |
| @stryker-mutator/api The api for the extendable JavaScript mutation testing framework Stryker | 1.8m | +1278% | - | 1 month ago 10.0.0 | ESM only | None | Testing | |
| @stryker-mutator/core The extendable JavaScript mutation testing framework | 1.8m | +1271% | - | 1 month ago 10.0.0 | ESM only | 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.
- sinonJavaScript test spies, stubs and mocks.
- @vitest/browserBrowser running for Vitest
- randexpCreate random strings that match a given regular expression.
- @storybook/addon-a11yStorybook Addon A11y: Test UI component compliance with WCAG web accessibility standards
- eslint-plugin-testing-libraryESLint plugin to follow best practices and anticipate common mistakes when writing tests with Testing Library
- @axe-core/playwrightProvides a method to inject and analyze web pages using axe
- nxThe core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.
- nycthe Istanbul command line interface
- duckRich matchers inspired by Hamcrest. Useful for generating helpful assertion failure messages in tests.
- @vitest/browser-playwrightBrowser running for Vitest using playwright
- jasmine-coreSimple JavaScript testing framework for browsers and node.js
- cypressCypress is a next generation front end testing tool built for the modern web
- @prisma/devA local Prisma Postgres server for development and testing
- testcontainersTestcontainers is a NodeJS library that supports tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container
- lazy-assLazy assertions without performance penalty
- @storybook/addon-actionsEmpty package - please don't use it anymore
- uvuuvu is an extremely fast and lightweight test runner for Node.js and the browser
- @vitest/istanbul-lib-coverageData library for istanbul coverage objects
- @storybook/addon-vitestStorybook Vitest addon: Blazing fast component testing using stories
- shouldtest framework agnostic BDD-style assertions
- karmaSpectacular Test Runner for JavaScript.
- @testing-library/react-nativeSimple and complete React Native testing utilities that encourage good testing practices.
- isthe definitive JavaScript type testing library
- @appium/typesVarious type declarations used across Appium
- karma-jasmineA Karma plugin - adapter for Jasmine testing framework.
- @appium/supportSupport libs used across Appium packages
- @appium/schemaAppium Configuration Schema
- @testcontainers/postgresqlPostgreSQL module for Testcontainers
- react-shallow-rendererReact package for shallow rendering.
- aws-sdk-client-mockEasy and powerful mocking of AWS SDK v3 Clients
- html-comment-regexRegular expression for matching HTML comments
- @wdio/utilsA WDIO helper utility to provide several utility functions used across the project.
- selenium-webdriverThe official WebDriver JavaScript bindings from the Selenium project
- webdriverA Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol
- @storybook/addon-interactionsAutomate, test and debug user interactions
- diffable-htmlOpinionated HTML formatter focused towards making HTML diffs readable.
- webdriverioNext-gen browser and mobile automation test framework for Node.js
- mockdateA JavaScript mock Date object that can be used to change when "now" is.
- jest-canvas-mockMock a canvas in your jest tests.
- jest-serializer-htmlJest snapshot serializer that beautifies HTML.
- @cloudflare/vitest-pool-workersWorkers Vitest integration for writing Vitest unit and integration tests that run inside the Workers runtime
- vite-plugin-storybook-nextjsVite plugin that enables Next.js features in Vite and Storybook
- @testing-library/react-hooksSimple and complete React hooks testing utilities that encourage good testing practices.
- @vitest/coverage-istanbulIstanbul coverage provider for Vitest
- @stryker-mutator/utilContains utilities for Stryker, the mutation testing framework for JavaScript and friends
- eslint-plugin-no-only-testsESLint rule for .only blocks in mocha tests
- mutation-testing-report-schemaThe json schema for a mutation testing report.
- mutation-testing-metricsUtility functions to calculate mutation testing metrics.
- @stryker-mutator/apiThe api for the extendable JavaScript mutation testing framework Stryker
- @stryker-mutator/coreThe extendable JavaScript mutation testing framework
- 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