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
mock-req
Mocks node.js `http.IncomingMessage` (a request). See also `mock-res`.
46.9k-18%-11 years ago
0.2.0
CommonJSNoneTesting
@jackfranklin/test-data-bot
Generate test data for your tests easily.
46.9k---3 years ago
2.1.0
CommonJSBundledTesting
type-plus
Provides additional types for TypeScript.
46.9k+72%-2 years ago
7.6.2
ESM + CommonJSBundledTypeScript tooling, Testing
jest-useragent-mock
Mock `navigator.userAgent` when run unit test cases with jest.
46.6k+85%-6 years ago
0.1.1
CommonJSBundledTesting, Dev servers and API mocking
@axe-core/webdriverio
Provides a method to inject and analyze web pages using axe
46.6k---1 month ago
4.13.0
ESM + CommonJSBundledAccessibility, Testing
benny
A dead simple benchmarking framework
46.4k+222%-4 years ago
3.7.1
CommonJSNoneTesting, TypeScript tooling
@stdlib/assert-is-positive-integer
Test if a value is a number having a positive integer value.
46.4k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
cypress-failed-log
Gets you the Cypress test command log as JSON on failure
46.2k-30%-4 years ago
2.10.0
CommonJSNoneLogging, Testing
@antithesishq/bombadil
Property-based testing tool for web UIs
46.1k---3 days ago
0.7.7
CommonJSBundledTesting
lodash-match-pattern
Validates a deep structured JSON pattern
46.1k-63%-4 years ago
2.3.1
CommonJSNoneTesting, Utility libraries
@stdlib/assert-is-collection
Test if a value is a collection.
45.9k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
@web/dev-server-esbuild
Plugin for using esbuild in @web/dev-server
45.8k---2 months ago
2.0.0
ESM + CommonJSBundledTesting, TypeScript tooling
ts-jest-mocker
Powerful, lightweight and TypeScript friendly library that extends Jest with capability of mocking classes and interfaces.
45.3k+295%-1 year ago
1.3.0
CommonJSBundledTesting, TypeScript tooling
rewiremock
Advanced dependency mocking device.
45.3k-34%-1 year ago
3.14.6
ESM + CommonJSBundledDev servers and API mocking, Testing
mocha-lcov-reporter
LCOV reporter for Mocha
45.3k-58%--
1.3.0
CommonJSNoneTesting
wipe-node-cache
Wipes node.js cache in a controlled way.
44.7k-35%-6 years ago
2.1.2
CommonJSNoneCaching, Testing
@secretlint/tester
A testing library for secretlint rule
44.7k---30 days ago
13.0.5
ESM onlyBundledTesting
mock-apollo-client
Library to help unit testing when using apollo-client
44.5k-30%-10 months ago
2.0.0
CommonJSBundledTesting, GraphQL
mocha-nightwatch
simple, flexible, fun test framework
44.2k+1%-9 years ago
3.2.2
CommonJSNoneTesting
timemachine
Test your time critical app by overriding the native Javascript Date function
44.2k+27%-5 years ago
0.3.2
CommonJSNoneTesting, Date and time
setup-polly-jest
Setup helper for PollyJS when using in jest/jasmine test environment
44.1k+42%-4 years ago
0.11.0
CommonJSNoneTesting
wipe-webpack-cache
Wipes webpack cache in a controled way.
44.1k-39%-7 years ago
2.1.0
CommonJSNoneCaching, Bundlers
passmark
The open-source AI framework for regression testing.
44.1k--3 months ago
1.0.16
CommonJSBundledTesting, Scraping and browser automation
@automock/jest
> [!WARNING] > ## Automock is Now Suites > > Automock has stopped at **version 2.1.0** and the project has been renamed to **Suites**, a more mature, actively > developed unit testing framework that extends and improves Automock's original design. > > ##
43.9k---9 months ago
2.1.2
CommonJSBundledDev servers and API mocking, Testing
@stdlib/assert-is-int8array
Test if a value is an Int8Array.
43.7k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
@stdlib/assert-is-int32array
Test if a value is an Int32Array.
43.7k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
@stdlib/assert-is-int16array
Test if a value is an Int16Array.
43.7k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
gulp-istanbul
Istanbul unit test coverage plugin for gulp.
43.2k+189%--
1.1.3
CommonJSNoneTesting
cypress-tags
Use custom tags to slice up Cypress test runs.
42.9k-23%-2 years ago
1.2.2
CommonJSBundledTesting
unassert
Encourages programming with assertions by providing tools to compile them away
42.7k-8%-3 years ago
2.0.2
ESM + CommonJSNoneTesting
eslint-config-sheriff
A comprehensive and opinionated TypeScript-first ESLint configuration.
42k+313%-3 months ago
31.4.0
ESM onlyBundledLinting and formatting, React
@nightwatch/chai
A forked of Chai 5 which adds Promise support in order to work with Nightwatch commands.
41.9k---2 years ago
5.0.3
ESM + CommonJSNoneTesting
@ethereum-waffle/mock-contract
Mock smart contracts in a smart way.
41.9k---3 years ago
4.0.4
ESM + CommonJSBundledBlockchain and Web3, Testing
wdio-wait-for
a library of conditions that are useful for end-to-end tests
41.8k-27%-9 months ago
3.1.1
ESM + CommonJSBundledTesting
cypress-image-diff-html-report
A HTML reporting module for Cypress-Image-Diff to parse the JSON output to a beautiful report
41.4k-24%-2 years ago
2.2.0
ESM onlyBundledTesting
jest-file-snapshot
Jest matcher to write snapshots to a separate file instead of the default snapshot file used by Jest
41.1k+103%-2 years ago
0.7.0
CommonJSBundledTesting
chai-bytes
Chai assertions for byte arrays equality
40.9k+102%-7 years ago
0.1.2
CommonJSBundledTesting
predicate
A set of predicate functions to improve your value testing and comparisons.
40.5k+651%-6 years ago
2.0.0
CommonJSNoneTesting
tap-spec
Formatted TAP output like Mocha's spec reporter
40.5k-45%--
5.0.0
CommonJSNoneTesting
@fetch-mock/jest
jest wrapper for fetch-mock
40.4k---10 months ago
0.2.20
ESM + CommonJSBundledTesting
svelte-jester
A Jest transformer for Svelte - compile your components before importing them into tests
40.2k+128%-2 years ago
5.0.0
ESM onlyNoneTesting, Svelte
storycap
A Storybook addon, Save the screenshot image of your stories! via puppeteer.
39.9k-30%-2 years ago
5.0.1
ESM + CommonJSBundledDocumentation tooling, Scraping and browser automation
scenario-mock-server
Mock server powered by scenarios
39.8k+281%-3 years ago
1.2.0
ESM + CommonJSBundledDev servers and API mocking, Testing
jest-webgl-canvas-mock
Mock both 2D and WebGL contexts in Jest.
39.8k-4%-2 years ago
2.5.3
CommonJSBundled3D, WebGL and game engines, Testing
jasmine-diff
Jasmine diff matchers
39.6k+100%-8 years ago
0.1.3
CommonJSNoneTesting
@applitools/eyes-playwright
Applitools Eyes SDK for Playwright
39.6k---2 days ago
1.49.2
CommonJSBundledTesting, Scraping and browser automation
@testcontainers/valkey
Valkey module for Testcontainers
39k---1 month ago
12.1.0
CommonJSBundledTesting
jest-json
Jest matcher for working with JSON
38.8k+62%-4 years ago
2.0.0
CommonJSBundledTesting, Parsers and serialisers
localstorage-polyfill
in memory localStorage polyfill for node.js utilizing ES6 proxies
38.6k+142%-10 years ago
1.0.1
CommonJSNoneTesting
ember-cli-mirage
A client-side server to help you build, test and demo your Ember app
38.5k-2%-2 years ago
3.0.4
-NoneTesting

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.