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
mutation-testing-elements
A suite of web components for a mutation testing report.
1.8m+1259%-1 month ago
3.9.0
ESM + CommonJSBundledTesting
axios-mock-adapter
Axios adapter that allows to easily mock requests
1.7m+17%-1 year ago
2.1.0
--Testing
jest-extended
Additional Jest matchers
1.6m+19%-10 months ago
7.0.0
--Testing
@temporalio/testing
Temporal.io SDK Testing sub-package
1.6m---10 days ago
1.24.0
--Testing
@storybook/test-runner
Test runner for Storybook stories
1.5m---22 days ago
0.24.5
--Testing
mocha-junit-reporter
A JUnit reporter for mocha.
1.5m-17%-3 years ago
2.2.1
CommonJSNoneTesting
chai-as-promised
Extends Chai with assertions about promises.
1.5m-9%-1 year ago
8.0.2
ESM onlyNoneTesting, Promises and async control flow
node-mocks-http
Mock 'http' objects for testing Express, Next.js and Koa routing functions
1.5m+36%-2 months ago
1.18.1
--Testing
is-lite
A tiny javascript type testing tool
1.4m+116%-10 months ago
2.0.0
--Testing
@cucumber/cucumber
The official JavaScript implementation of Cucumber.
1.4m---1 month ago
13.2.1
--Testing
jasmine
CLI for Jasmine, a simple JavaScript testing framework for browsers and Node
1.3m-21%-1 month ago
7.0.0
CommonJSNoneTesting
fetch-mock
Mock http requests made using fetch
1.2m+14%-10 months ago
12.6.0
--Testing
enzyme-shallow-equal
Adaptation of react-addons-shallow-compare, for independent usage
1.2m-25%-2 years ago
1.0.7
--Testing, React
@appium/tsconfig
Shared TypeScript Config for Appium
1.2m---1 month ago
1.2.1
--Scraping and browser automation, Testing
redux-mock-store
A mock store for testing your redux async action creators and middleware
1.2m-11%-1 year ago
1.5.5
ESM + CommonJSNoneTesting
@browserbasehq/stagehand
Browserbase's SDK for building browser agents
1.1m---16 days ago
4.1.0
ESM onlyBundledScraping and browser automation, Testing
enzyme
JavaScript Testing utilities for React
1.1m-26%-6 years ago
3.11.0
CommonJSNoneTesting, React
is-valid-path
Returns true if a file path does not contain any invalid characters.
1.1m-13%-11 years ago
0.1.1
CommonJSNoneFiles and file systems, Testing
@appium/base-driver
Base driver class for Appium drivers
1.1m---today
10.8.1
CommonJSBundledScraping and browser automation, Testing
@copilotkit/aimock
Mock infrastructure for AI application testing — point your SDK at one local port and every provider, protocol, and service answers deterministically.
1.1m---2 days ago
1.43.0
ESM + CommonJSBundledTesting, WebSockets and realtime
monocart-coverage-reports
A code coverage tool to generate native V8 reports or Istanbul reports.
1.1m+227%-1 month ago
2.13.0
ESM + CommonJSBundledTesting
@vitest/browser-preview
Browser running for Vitest using your browser of choice
1m---10 days ago
5.0.1
ESM onlyBundledTesting
vitest-browser-react
Render React components in Vitest Browser Mode
1m+360%-21 days ago
2.3.0
ESM onlyBundledReact, Testing
mochawesome-report-generator
Generates gorgeous HTML reports from mochawesome reporter.
980.4k-25%-10 months ago
6.3.2
CommonJSNoneTesting, React
iserror
Test whether value is error object
966.8k+29%-9 years ago
0.0.2
CommonJSNoneDOM and browser utilities, Testing
jasmine-spec-reporter
Spec reporter for jasmine behavior-driven development framework
952.3k-16%-5 years ago
7.0.0
CommonJSBundledTesting, TypeScript tooling
junit-report-builder
Aimed at making it easier to build Jenkins compatible JUnit XML reports in plugins for testing frameworks
950.2k+10%-5 months ago
5.1.2
ESM + CommonJSBundledTypeScript tooling, Node.js utilities
proxyquire
Proxies nodejs require in order to allow overriding dependencies during testing.
938.1k+38%-7 years ago
2.1.3
CommonJSNoneTesting
@appium/docutils
Documentation generation utilities for Appium and related projects
933k---today
3.0.1
ESM onlyBundledScraping and browser automation, Testing
appium
Automation for Apps.
923.5k+140%-today
3.8.0
CommonJSBundledScraping and browser automation, Testing
allure-playwright
Allure Playwright integration
923.1k+74%-9 days ago
3.12.2
CommonJSBundledTesting, Scraping and browser automation
@testing-library/cypress
Simple and complete custom Cypress commands and utilities that encourage good testing practices.
920k---4 months ago
10.1.3
CommonJSBundledTesting
mochawesome
A gorgeous reporter for Mocha.js
913.1k-26%-9 days ago
8.1.1
CommonJSNoneTesting
sinon-chai
Extends Chai with assertions for the Sinon.JS mocking framework.
902.9k-5%-1 year ago
4.0.1
ESM onlyNoneTesting
cypress-real-events
Real native events for cypress. Dispatched via CDP.
900.8k-9%-12 days ago
1.15.1
CommonJSBundledTesting
jest-preset-angular
Jest preset configuration for Angular projects
882.6k-7%-3 months ago
17.0.0
CommonJSBundledTesting, Angular
@cypress/webpack-preprocessor
Cypress preprocessor for bundling JavaScript via webpack
875.1k---29 days ago
8.0.0
CommonJSBundledTesting
next-router-mock
Mock implementation of the Next.js Router
874.5k+34%-8 months ago
1.0.5
CommonJSBundledTesting
test-renderer
A lightweight test renderer for React and a modern replacement for the deprecated React Test Renderer.
862.5k--8 days ago
1.3.0
ESM + CommonJSBundledTesting, React
@appium/base-plugin
The base plugin used to create Appium plugins
862.4k---today
3.3.5
CommonJSBundledScraping and browser automation, Testing
find-test-names
Given a Mocha / Cypress spec file, returns the list of suite and test names
847.7k-8%-11 months ago
1.29.19
CommonJSNoneTesting
vitest-canvas-mock
🌗 A module used to mock canvas in Vitest.
819.6k+98%-20 days ago
1.2.0
ESM + CommonJSBundledTesting, Dev servers and API mocking
tsafe
A collection of utilities to step up your TypeScript game
811.9k+367%-11 months ago
1.8.12
ESM + CommonJSBundledTypeScript tooling, Testing
wait-for-expect
Wait for expectation to be true, useful for integration and end to end testing
797.7k+7%-1 year ago
4.0.0
CommonJSBundledTesting
storybook-addon-pseudo-states
Storybook Pseudo-states addon: Manipulate CSS pseudo states
773.3k+128%-22 days ago
10.6.0
ESM onlyBundledDocumentation tooling, React
@scalar/api-client
the open source API testing client
749k---1 day ago
3.21.0
ESM + CommonJSBundledDocumentation tooling, Testing
@clerk/testing
Utilities to help you create E2E test suites for apps using Clerk
740.2k---today
2.2.39
ESM + CommonJSBundledAuthentication and authorisation, Testing
mocha-multi-reporters
Generate multiple mocha reports in a single mocha execution.
706.7k+20%-16 days ago
1.5.2
CommonJSNoneTesting
appium-android-driver
Android UiAutomator and Chrome support for Appium
702k+132%-14 days ago
14.2.0
ESM onlyBundledTesting
webdriver-manager
A selenium server and browser driver manager for your end to end tests.
701.8k-23%-3 years ago
12.1.9
CommonJSNoneTesting, Scraping and browser automation

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.