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
expect-more-jest
Write Beautiful Specs with Custom Matchers for Jest
25k-18%-3 years ago
5.5.0
CommonJSBundledTesting
@edge-runtime/jest-environment
A Jest integration to run assertions in Edge Runtime context.
24.9k---1 year ago
4.0.0
CommonJSBundledTesting
preceptor-core
Core components for the preceptor test runner and aggregator
24.8k-13%-8 years ago
0.10.1
CommonJSNoneTesting
aegir
JavaScript project management
24.7k+67%-29 days ago
48.1.6
ESM + CommonJSBundledLinting and formatting, Testing
@redhat-developer/page-objects
Page Object API implementation for a VS Code editor used by ExTester framework.
24.6k---11 days ago
1.24.0
CommonJSBundledTesting, Scraping and browser automation
jest-chrome
Test Chrome extensions with Jest. A complete mock of the Chrome API.
24.6k-59%-3 years ago
0.8.0
ESM + CommonJSBundledTesting, TypeScript tooling
mocha-chai-jest-snapshot
provides snapshot testing like jest
24.2k+24%-1 year ago
1.1.7
CommonJSBundledTesting
superwstest
supertest with added WebSocket capabilities
24k+256%-4 months ago
3.0.0
ESM + CommonJSBundledWebSockets and realtime, Testing
intern
Intern. A next-generation code testing stack for JavaScript.
24k+45%-4 years ago
4.10.1
-BundledTesting
@short.io/opensearch-mock
Mock utility for the Elasticsearch's Node.js client
23.9k---2 years ago
0.4.0
CommonJSBundledDev servers and API mocking, Testing
nodemailer-mock
Easy as pie nodemailer mock for unit testing your Node.js applications.
23.6k+20%-11 days ago
2.1.0
ESM + CommonJSBundledTesting
jasmine-expect
Write Beautiful Specs with Custom Matchers
23.5k-41%-6 years ago
5.0.0
CommonJSBundledTesting
async-test-util
Util-functions that are be useful in async tests
23.5k-38%-2 years ago
2.5.0
ESM + CommonJSBundledTesting, Promises and async control flow
service-worker-mock
Service Worker Mock ========================= A mock service worker environment generator.
23.5k-30%-6 years ago
2.0.5
CommonJSNoneTesting
@testcontainers/opensearch
OpenSearch module for Testcontainers
23.3k---1 month ago
12.1.0
CommonJSBundledTesting
strong-mock
Type safe mocking library for TypeScript
23.3k-6%-4 months ago
9.2.2
ESM + CommonJSBundledTesting, TypeScript tooling
happo
Catch unexpected visual and accessibility changes and UI bugs
23.3k+31445%-1 day ago
6.20.0
ESM onlyBundledTesting, Scraping and browser automation
@bahmutov/data-driven
Transforms BDD input into data-driven snapshot
23.3k---9 years ago
1.0.0
CommonJSNoneTesting
has-only
Tells if the current Mocha execution is running only some tests that use .only
23.2k-31%-8 years ago
1.1.1
CommonJSNoneTesting, Utility libraries
@vitest/browser-webdriverio
Browser running for Vitest using webdriverio
23.1k---17 days ago
5.0.0
ESM onlyBundledTesting
sass-true
Unit testing for Sass.
22.9k+1%-9 months ago
10.1.0
CommonJSBundledTesting, CSS-in-JS and styling
opentok-token
Generates tokens for `X-TB-TOKEN-AUTH` header when using OpenTok REST API.
22.9k+2%-7 years ago
1.1.1
CommonJSNoneCryptography and hashing, Testing
@testcontainers/gcloud
GCloud module for Testcontainers
22.8k---1 month ago
12.1.0
CommonJSBundledTesting
chakram
Chakram is an API testing framework designed to test JSON REST endpoints. The library offers a BDD testing style and fully exploits javascript promises
22.3k+5%-10 years ago
1.5.0
CommonJSNoneTesting
playwright-smart-reporter
An intelligent Playwright HTML reporter with AI-powered failure analysis, flakiness detection, and performance regression alerts
22.2k--24 days ago
2.2.0
CommonJSBundledTesting, Scraping and browser automation
mock-express-response
Nodejs library to mock express http response
22.1k-30%-5 years ago
0.3.0
CommonJSNoneTesting
jsverify
Property-based testing for JavaScript.
22.1k+40%-7 years ago
0.8.4
CommonJSBundledTesting
cypress-ctrf-json-reporter
Generate a common JSON test report for Cypress tests
22.1k-24%-6 months ago
0.0.14
CommonJSBundledTesting
assert-valid-glob-opts
Assert a given object is a valid glob option
22k+7%-9 years ago
1.0.0
-NoneFiles and file systems, Testing
simple-mock
Super simple stubs and spies with 1-step sandbox restore
22k+34%-9 years ago
0.8.0
CommonJSNoneTesting
prismock
A mock for PrismaClient, dedicated to unit testing.
21.9k+23%-1 year ago
1.35.4
ESM + CommonJSBundledTesting
@storycap-testrun/browser
Screenshot capture for Storybook addon-vitest - Provides stable visual testing functionality and Vitest plugin for Storybook stories running in browser environments
21.9k---7 days ago
3.1.1
ESM + CommonJSBundledTesting, Documentation tooling
@stdlib/assert-is-positive-number
Test if a value is a number having a positive value.
21.8k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
jest-in-case
Jest utility for creating variations of the same test
21.6k-41%-9 years ago
1.0.2
CommonJSNoneTesting
@quramy/jest-prisma-core
Utility class to build Jest environment for Prisma.
21k---9 months ago
1.8.2
ESM + CommonJSBundledORMs and query builders, Testing
socket.io-mock
a mocked version of a socket.io socket for testing
20.8k+17%-5 years ago
1.3.2
ESM + CommonJSNoneTesting, WebSockets and realtime
pa11y-ci-reporter-html
Pa11y-ci reporter that generates HTML reports - summary report and detailed reports for each page
20.6k+4%-5 months ago
8.1.1
CommonJSNoneAccessibility, Testing
@allurereport/web-allure2
The static files for Allure Classic Report
20.5k---6 months ago
3.3.1
ESM onlyBundledTesting
jest-json-reporter
JSON test results processor for Jest.
20.5k-23%-9 years ago
1.2.2
CommonJSNoneTesting
@stdlib/assert-is-booleanarray
Test if a value is a BooleanArray.
20.3k---7 months ago
0.0.3
CommonJSBundledTesting
jest-mock-process
Easily mock NodeJS process properties in Jest
20.3k+201%-4 years ago
2.0.0
CommonJSBundledTesting
mockingoose
A Jest package for mocking mongoose models
20.2k+21%-7 months ago
3.0.0
ESM + CommonJSBundledTesting
karma-viewport
A Karma plugin for testing responsive features and layout
20.2k+10%-4 years ago
1.0.9
CommonJSBundledTesting
@knapsack-pro/playwright
Knapsack Pro Playwright splits Playwright tests across CI nodes and makes sure that tests will run in optimal time on each CI node.
20.1k---2 months ago
0.3.0
ESM onlyNoneTesting
playwright-ws-trace
Adds WebSocket frame tracing to Playwright trace viewer
20.1k--5 months ago
1.1.2
CommonJSNoneWebSockets and realtime, Testing
cypress-commands
A collection of Cypress commands to extend and complement the default commands
19.9k-28%-4 years ago
3.0.0
ESM + CommonJSBundledTesting
typy
Minimal JavaScript type checking library
19.9k+41%-7 years ago
3.3.0
CommonJSBundledTesting
sinon-chrome
Mock of chrome extensions API for unit testing under nodejs
19.8k-46%-7 years ago
3.0.1
CommonJSNoneTesting
@flakiness/playwright
A custom Playwright test reporter that generates Flakiness Reports from your Playwright test runs
19.7k---1 month ago
2.0.2
ESM + CommonJSBundledTesting
mocha-each
Parameterized test utility for Mocha
19.7k+8%-7 years ago
2.0.1
CommonJSNoneTesting

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.