Skip to content
JS
Package category

Testing

Test runners, assertion libraries, mocking and end-to-end testing.

1,409 packages15 comparisons

Packages compared

1,409 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
sinon
JavaScript test spies, stubs and mocks.
8.3m+17%-2 months ago
22.1.0
ESM + CommonJSNoneTesting
@vitest/browser
Browser running for Vitest
8.1m+519%-10 days ago
5.0.1
ESM onlyBundledTesting
randexp
Create random strings that match a given regular expression.
7.9m+82%-8 years ago
0.5.3
CommonJSBundledTesting
@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 onlyBundledAccessibility, 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 + CommonJSBundledLinting 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 + CommonJSBundledAccessibility, 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
CommonJSBundledTesting, React
nyc
the Istanbul command line interface
6.2m+15%-7 months ago
18.0.0
CommonJSNoneTesting
duck
Rich matchers inspired by Hamcrest. Useful for generating helpful assertion failure messages in tests.
6m+619%-5 years ago
0.1.12
-NoneTesting
@vitest/browser-playwright
Browser running for Vitest using playwright
5.8m+552282%-10 days ago
5.0.1
ESM onlyBundledTesting
jasmine-core
Simple JavaScript testing framework for browsers and node.js
5m-9%-1 month ago
7.0.2
CommonJSNoneTesting
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 + CommonJSBundledTesting
@prisma/dev
A local Prisma Postgres server for development and testing
4.6m+142609%-1 month ago
0.25.2
ESM + CommonJSBundledORMs 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
CommonJSBundledTesting
lazy-ass
Lazy assertions without performance penalty
4.1m-25%-4 years ago
2.0.3
ESM + CommonJSBundledTesting
@storybook/addon-actions
Empty package - please don't use it anymore
4.1m-22%-1 year ago
9.0.8
ESM + CommonJSBundledDocumentation 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 + CommonJSBundledTesting
@vitest/istanbul-lib-coverage
Data library for istanbul coverage objects
3.7m--25 days ago
1.0.1
ESM onlyBundledTesting
@storybook/addon-vitest
Storybook Vitest addon: Blazing fast component testing using stories
3.4m+559%-22 days ago
10.6.0
ESM onlyBundledTesting, React
should
test framework agnostic BDD-style assertions
3.4m+37%-8 years ago
13.2.3
ESM + CommonJSBundledTesting
karma
Spectacular Test Runner for JavaScript.
3m-5%-2 years ago
6.4.4
CommonJSNoneTesting
@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
CommonJSBundledTesting, React
is
the definitive JavaScript type testing library
2.7m+40%-1 year ago
3.3.2
CommonJSNoneTesting
@appium/types
Various type declarations used across Appium
2.6m+230%-today
1.7.1
CommonJSBundledScraping and browser automation, Testing
karma-jasmine
A Karma plugin - adapter for Jasmine testing framework.
2.5m-8%-4 years ago
5.1.0
CommonJSNoneTesting
@appium/support
Support libs used across Appium packages
2.4m+242%-today
7.2.8
CommonJSBundledScraping and browser automation, Testing
@appium/schema
Appium Configuration Schema
2.4m+249%-2 months ago
1.3.0
CommonJSBundledScraping and browser automation, Testing
@testcontainers/postgresql
PostgreSQL module for Testcontainers
2.4m+383%-1 month ago
12.1.0
CommonJSBundledTesting, Database clients and drivers
react-shallow-renderer
React package for shallow rendering.
2.3m-16%-4 years ago
16.15.0
CommonJSNoneReact, Testing
aws-sdk-client-mock
Easy and powerful mocking of AWS SDK v3 Clients
2.3m+82%-1 year ago
4.1.0
ESM + CommonJSBundledCloud SDKs, Testing
html-comment-regex
Regular expression for matching HTML comments
2.2m+20%-7 years ago
1.1.2
-NoneStrings 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 onlyBundledUtility libraries, Scraping and browser automation
selenium-webdriver
The official WebDriver JavaScript bindings from the Selenium project
2m+19%-15 days ago
4.49.0
CommonJSNoneScraping 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 + CommonJSBundledScraping and browser automation, Testing
@storybook/addon-interactions
Automate, test and debug user interactions
2m-34%-1 year ago
8.6.14
ESM + CommonJSBundledDocumentation tooling, Testing
diffable-html
Opinionated HTML formatter focused towards making HTML diffs readable.
2m+56%-1 year ago
6.0.1
CommonJSNoneTesting
webdriverio
Next-gen browser and mobile automation test framework for Node.js
2m+17%-4 days ago
9.32.0
ESM + CommonJSBundledTesting, 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
CommonJSBundledTesting, Date and time
jest-canvas-mock
Mock a canvas in your jest tests.
2m-5%-2 months ago
2.5.8
CommonJSBundledTesting, Dev servers and API mocking
jest-serializer-html
Jest snapshot serializer that beautifies HTML.
1.9m+46%-5 years ago
7.1.0
CommonJSNoneTesting, 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 onlyBundledCloud 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 onlyBundledDocumentation 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
CommonJSBundledTesting, React
@vitest/coverage-istanbul
Istanbul coverage provider for Vitest
1.8m+127%-10 days ago
5.0.1
ESM onlyBundledTesting
@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 onlyNoneTesting
eslint-plugin-no-only-tests
ESLint rule for .only blocks in mocha tests
1.8m-5%-4 months ago
3.4.0
CommonJSNoneLinting 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 onlyBundledTesting, Schema validation
mutation-testing-metrics
Utility functions to calculate mutation testing metrics.
1.8m+1316%-1 month ago
3.9.0
ESM onlyBundledTesting, 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 onlyNoneTesting
@stryker-mutator/core
The extendable JavaScript mutation testing framework
1.8m+1271%-1 month ago
10.0.0
ESM onlyNoneTesting

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.