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
add-matchers
Write useful test matchers compatible with Jest and Jasmine.
19.6k-39%-7 years ago
0.6.2
CommonJSNoneTesting
playwright-test
Run mocha, zora, uvu, tape and benchmark.js scripts inside real browsers with playwright.
19.6k+23%-3 months ago
14.1.15
ESM onlyBundledTesting, Scraping and browser automation
mailpit-api
A TypeScript client for interacting with Mailpit's REST API.
19.5k+404%-3 months ago
2.1.0
ESM + CommonJSBundledTesting, TypeScript tooling
mock-req-res
Extensible mock req / res objects for use in unit tests of Express controller and middleware functions.
19.2k+21%-4 years ago
1.2.1
CommonJSNoneTesting
gulp-batch
Event batcher for gulp-watcher
19.1k+4%-11 years ago
1.0.5
CommonJSNoneBuild tools, Testing
cypress-plugin-stripe-elements
Adds testing helpers for driving Stripe Elements with Cypress.
19.1k-0%-5 years ago
1.0.2
CommonJSBundledPayments and commerce, Testing
sinon-express-mock
Simple request and response mock objects to pass into Express routes when testing using Sinon.
18.8k-14%-7 years ago
2.2.1
CommonJSNoneTesting, Dev servers and API mocking
mm
mock mate, mock http request, fs access and so on.
18.7k-26%-1 year ago
4.0.2
ESM + CommonJSBundledTesting
test-results-parser
Parse test results from JUnit, TestNG, xUnit, cucumber and many more
18.7k-64%-2 days ago
0.4.7
CommonJSBundledParsers and serialisers, Testing
@antiwork/shortest
AI-powered natural language end-to-end testing framework
18.7k---1 year ago
0.4.9
ESM + CommonJSBundledTesting, Scraping and browser automation
@vue/cli-plugin-unit-mocha
mocha unit testing plugin for vue-cli
18.7k---1 year ago
5.0.9
CommonJSNoneVue, Testing
@playwright-testing-library/test
playwright + dom-testing-library
18.6k---3 years ago
4.5.0
CommonJSBundledScraping and browser automation, Testing
memfs-browser
In-memory file-system with Node's fs API.
18.6k-24%-2 years ago
3.5.10302
ESM + CommonJSBundledFiles and file systems, Testing
@scalar/api-client-react
the open source API testing client for react
18.5k---1 day ago
2.0.50
ESM onlyBundledReact, Testing
@testcontainers/azurite
Azurite module for Testcontainers
18.5k---1 month ago
12.1.0
CommonJSBundledTesting
vitest-mock-express
A lightweight Vitest mock for unit testing Express
18.5k+37%-2 years ago
2.2.0
ESM onlyBundledTesting, TypeScript tooling
@gatling.io/core
Gatling JS is a JavaScript/TypeScript interface for the [Gatling load testing tool](https://gatling.io/).
18.4k---2 days ago
3.15.108
CommonJSBundledTypeScript tooling, Testing
stream-mock
Node stream mock module
18.4k-14%-7 years ago
2.0.5
CommonJSBundledTesting
@gatling.io/jvm-types
Gatling JS is a JavaScript/TypeScript interface for the [Gatling load testing tool](https://gatling.io/).
18.3k---2 days ago
3.15.108
-BundledTypeScript tooling, Testing
@gatling.io/http
Gatling JS is a JavaScript/TypeScript interface for the [Gatling load testing tool](https://gatling.io/).
18.3k---2 days ago
3.15.108
CommonJSBundledTypeScript tooling, Testing
@chat-adapter/tests
Vitest factories, matchers, and setup utilities for testing Chat SDK adapters and bots
18.3k---7 days ago
4.41.0
ESM onlyBundledTesting, AI and machine learning
jest-coverage-badges
Create a group of coverage badges from jest
18.2k-18%--
1.1.2
CommonJSNoneTesting
window
Exports a jsdom window object.
18.1k-31%-6 years ago
4.2.7
CommonJSNoneScraping and browser automation, Testing
testcheck
Property testing for JavaScript
18k-46%-9 years ago
1.0.0-rc.2
CommonJSBundledTesting
vite-plugin-mock
A mock plugin for vite
17.9k+6%-2 years ago
3.0.2
ESM + CommonJSBundledTesting, Bundler plugins and loaders
@gatling.io/cli
Gatling JS is a JavaScript/TypeScript interface for the [Gatling load testing tool](https://gatling.io/).
17.9k---2 days ago
3.15.108
CommonJSBundledTypeScript tooling, Testing
@mergifyio/vitest
Vitest reporter for Mergify CI Insights
17.9k---1 day ago
0.4.0
ESM + CommonJSBundledTesting
@sa11y/assert
Provides assertAccessible API to check DOM for accessibility issues
17.8k---9 days ago
8.1.1
CommonJSBundledAccessibility, Testing
chai-jest-snapshot
Chai assertion that provides Jest's snapshot testing
17.6k-90%-8 years ago
2.0.0
CommonJSNoneTesting
mocha-webpack
mocha cli with webpack support
17.6k-10%-8 years ago
1.1.0
CommonJSNoneBundlers, Testing
stop-only
Detects '.only' left in the code accidentally
17.6k-45%-1 year ago
3.4.4
CommonJSNoneCLI tools and terminal utilities, Testing
@tinbase/pg-mem
Fork of pg-mem with extended Postgres conformance (PL/pgSQL, triggers, RLS, correlated subqueries, MERGE, ranges, full-text, partitioning, ...). Tracks oguimbal/pg-mem; pending upstream PR #476.
17.6k---1 month ago
3.5.0
CommonJSBundledTesting, ORMs and query builders
istanbul-badges-readme
Creates README badges from istanbul coverage report
17.6k+32%-2 years ago
1.9.0
CommonJSNoneTesting, Parsers and serialisers
allure-codeceptjs
Allure codeceptjs integration
17.5k+81%-9 days ago
3.12.2
ESM + CommonJSBundledTesting
miniprogram-simulate
tools for miniprogram custom component unit test
17.5k+437%--
1.6.2
CommonJSBundledTesting
mountebank
Over the wire test doubles
17.4k-19%-3 years ago
2.9.1
CommonJSNoneTesting, Dev servers and API mocking
@casualbot/jest-sonar-reporter
A Sonar test reporter for Jest.
17.3k---4 months ago
2.7.1
CommonJSBundledTesting
puppeteer-intercept-and-modify-requests
The `puppeteer-intercept-and-modify-requests` TypeScript library allows you to intercept and modify network requests and responses using Puppeteer. It supports modifying all network requests and responses. You can also apply delays, stream responses, modi
17.2k+38%-2 years ago
1.3.1
ESM + CommonJSBundledTesting
cypress-delete-downloads-folder
Cypress custom command and hooks to remove downloads folder
17.2k-27%-2 years ago
0.0.6
CommonJSBundledTesting
@theintern/common
Common modules used by @theintern projects
17.2k---5 years ago
0.3.0
CommonJSBundledTesting
react-dom-instance
Get react component instances from a DOM node
17.2k+517%-6 years ago
2.0.0
CommonJSNoneReact, Testing
jest-chain
Chain Jest matchers together to create one powerful assertion
17.1k-32%-3 years ago
1.1.6
CommonJSBundledTesting
muk-prop
Mock object methods and properties.
17.1k-20%-3 years ago
3.0.1
CommonJSNoneTesting, Dev servers and API mocking
playwright-ng-schematics
Playwright Angular schematics
16.6k+79%-22 days ago
22.1.2
-NoneTesting, Angular
@stdlib/math-base-assert-is-nonnegative-integer
Test if a finite double-precision floating-point number is a nonnegative integer.
16.5k---7 months ago
0.2.2
CommonJSBundledTesting, Numbers and maths
storybook-addon-manual-mocks
Mock your imports in the same way as Jest Manual Mocks do
16.4k+23%-2 years ago
1.0.4
-NoneTesting
co-mocha
Enable support for generators in Mocha tests
16.4k-21%--
1.2.2
CommonJSNoneTesting
jasmine-ts
Execute jasmine with ts-node
16.4k-18%-5 years ago
0.4.0
CommonJSNoneTesting, TypeScript tooling
kefir-test-utils
Framework-agnostic testing tools for Kefir
16.4k+179%-4 years ago
2.0.0
CommonJSBundledTesting
react-native-test-app
react-native-test-app provides a test app for all supported platforms as a package
16.2k-61%-11 days ago
5.4.11
CommonJSNoneTesting, React

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.