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
@stdlib/assert-napi-is-type
Assert that a Node-API value is a specified Node-API data type.
61.7k---7 months ago
0.2.3
CommonJSBundledTesting
allure-jest
Allure Jest integration
61.3k+81%-9 days ago
3.12.2
ESM + CommonJSBundledTesting
vitest-localstorage-mock
Auto mock all localstorage and sessionstorage APIs for your Vitest tests
61k+2%-2 years ago
0.1.2
ESM onlyNoneTesting
@ava/babel-plugin-throws-helper
Babel plugin for protecting against improper use of `t.throws()` in AVA
60.6k---7 years ago
4.0.0
-NoneTesting, Node.js utilities
ts-mock-imports
Intuitive mocking for Typescript class imports
60k+52%-11 months ago
1.3.19
CommonJSBundledTypeScript tooling, Dev servers and API mocking
its-name
Given (Mocha) test object, walks it up to give you list of context names
59.6k+18%-9 years ago
1.0.0
CommonJSNoneTesting, Utility libraries
vows
Asynchronous BDD & continuous integration for node.js
59.5k+3%-6 years ago
0.8.3
CommonJSNoneTesting
@testcontainers/nats
NATS module for Testcontainers
59.2k---1 month ago
12.1.0
CommonJSBundledTesting
@stdlib/assert-is-nan
Test if a value is NaN.
59k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
chai-files
file system assertions for chai
58.7k+1%-10 years ago
1.4.0
CommonJSNoneFiles and file systems, Testing
@testcontainers/toxiproxy
Toxiproxy module for Testcontainers
58.7k---1 month ago
12.1.0
CommonJSBundledTesting
chai-json-schema
Chai plugin for JSON Schema v4
58.3k-66%-2 months ago
2.0.1
CommonJSNoneSchema validation, Testing
cypress-fail-on-console-error
fail cypress test on console error
58.2k+40%-8 months ago
5.1.3
ESM onlyBundledTesting
cypress-mailosaur
Extends Cypress' cy commands that let you integrate email and SMS testing into your continuous integration process.
58k-35%-7 months ago
5.0.0
CommonJSBundledEmail, Testing
appium-tizen-driver
Tizen support for Appium
56.9k+146%-6 years ago
1.1.1-beta.5
CommonJSNoneTesting
@wdio/json-reporter
A WebdriverIO plugin to report results in json format.
56.8k---5 days ago
9.32.0
ESM + CommonJSBundledScraping and browser automation, Testing
ember-try
An ember-cli addon to test against multiple dependencies, such as ember and ember-data.
55.8k-18%-1 year ago
4.0.0
CommonJSNoneTesting
wiremock-captain
A better way to use the WireMock simulator to test your HTTP APIs
55.6k+20%-10 months ago
4.1.3
CommonJSBundledTesting, TypeScript tooling
tstyche
Everything You Need for Type Testing.
55.5k+618%-15 days ago
7.2.5
ESM + CommonJSBundledTypeScript tooling, Testing
test
Node.js 18's node:test, as an npm package
55.3k---
3.3.0
CommonJSBundledTesting
@testcontainers/rabbitmq
RabbitMQ module for Testcontainers
54.5k---1 month ago
12.1.0
CommonJSBundledTesting
@swedevtools/livedoc-vitest
BDD extensions for Vitest that support LiveDoc reporting with Gherkin syntax and MSpec-style specifications.
54.4k---17 days ago
0.3.0
ESM onlyBundledTypeScript tooling, Testing
openinputbridge-mcp
MCP server exposing OpenInputBridge (Interception-compatible kernel-level input) as SendInput()-alternative tools for GUI/native-app test automation.
54.3k--17 days ago
0.1.1
ESM onlyNoneTesting
jest-json-schema
JSON schema matcher for jest
54.1k+15%-4 years ago
6.1.0
CommonJSNoneSchema validation, Testing
jest-teamcity-reporter
Teamcity Reporter for Jest Test Results
53.7k-6%-8 years ago
0.9.0
CommonJSNoneTesting
event-reduce-js
javascript implementation of the event-reduce algorithm https://pubkey.github.io/event-reduce/
53.7k+17%-6 months ago
6.0.0
ESM + CommonJSBundledMonitoring and error tracking, Testing
qunitjs
An easy-to-use JavaScript Unit Testing framework.
53.5k+4%--
2.4.1
CommonJSNoneTesting
selenium-server
Selenium in an npm package
53.3k+9%-7 years ago
3.141.59
CommonJSNoneTesting, Scraping and browser automation
cypress-image-diff-js
Visual regression testing tool with cypress
53.1k-41%-6 months ago
2.8.0
CommonJSBundledTesting
eslint-plugin-codegen
An eslint plugin for inline codegen. Auto-fixes out of sync code, with presets for barrels, jsdoc to markdown and more.
51.9k+383%-10 months ago
0.34.1
CommonJSBundledTypeScript tooling, Testing
@vercel/agent-eval
Framework for testing AI coding agents in isolated sandboxes
51.7k---7 days ago
2.3.0
ESM onlyBundledTesting
@elastic/elasticsearch-mock
Mock utility for the Elasticsearch's Node.js client
51.6k---1 year ago
2.1.0
CommonJSBundledDev servers and API mocking, Testing
@apollo/react-testing
React Apollo testing utilities.
51.4k---6 years ago
4.0.0
CommonJSBundledGraphQL, Testing
chai-shallow-deep-equal
Shallow deep equal assertion for chai
51.1k+0%-9 years ago
1.4.6
CommonJSBundledTesting
@cypress/webpack-batteries-included-preprocessor
Cypress preprocessor for bundling JavaScript via webpack with dependencies included and support for various ES features and TypeScript
51k---30 days ago
5.0.0
CommonJSBundledTesting
@argos-ci/storybook
Visual testing for Storybook test runner.
50.6k---12 days ago
6.4.0
ESM + CommonJSBundledTesting, Documentation tooling
@marvelapp/react-ab-test
A/B testing React components and debug tools. Isomorphic with a simple, universal interface. Well documented and lightweight. Tested in popular browsers and Node.js. Includes helpers for Mixpanel and Segment.com.
50.5k---5 years ago
3.1.0
CommonJSNoneTesting, React
grunt-mocha-test
A grunt task for running server side mocha tests
50.5k+41%-8 years ago
0.13.3
-NoneTesting
stably
AI-powered E2E Playwright testing CLI. Stably can understand your codebase, edit/run tests, and handle complex test scenarios for you.
50.4k+290384%-9 days ago
4.12.31
ESM + CommonJSBundledTesting, CLI tools and terminal utilities
electron-mocha
Mocha tests in Electron.
50.1k-45%-1 year ago
13.1.0
CommonJSNoneTesting
mock-local-storage
Mock localStorage for headless unit tests
49.6k-15%-3 years ago
1.1.24
ESM + CommonJSNoneTesting
yaassertion
Yet another JavaScript assertion/invariant library.
49.4k-59%-7 years ago
1.0.2
ESM + CommonJSNoneTesting
maildev
SMTP Server and Web Interface for reading and testing emails during development
49.1k-37%-2 days ago
3.0.0
ESM onlyBundledEmail, Testing
@fluffy-spoon/substitute
An NSubstitute port to TypeScript called substitute.js.
49.1k---5 years ago
1.208.0
CommonJSBundledTesting
@stdlib/assert-is-uint8clampedarray
Test if a value is a Uint8ClampedArray.
49k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
karma-qunit
A Karma plugin. Adapter for QUnit testing framework.
48.5k-7%--
4.2.1
CommonJSNoneTesting
cypress-browser-permissions
A Cypress plugin package to handle setting common browser permissions like notifications, geolocation, images, and more
48.4k+28%-4 years ago
1.1.0
CommonJSBundledTesting, Maps and geolocation
@miragejs/graphql
A library for handling GraphQL requests with Mirage JS
48.1k---1 year ago
0.2.0-beta.5
ESM + CommonJSBundledGraphQL, Testing
jest-marbles
Marble testing helpers library for RxJs and Jest
47.7k-32%-2 months ago
4.0.1
ESM + CommonJSBundledTesting, Promises and async control flow
it-each
Enable basic async test looping in Mocha
47.5k+398%-2 years ago
0.5.0
-NonePromises and async control flow, 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.