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
koa-mock-response
Mock a Rest API or any backend service.
3.9k-3%-6 years ago
1.0.0
-NoneTesting
memcached-mock
A mock implementation of memcached to use as a replacement in tests
3.9k-62%-11 years ago
0.1.0
CommonJSNoneTesting
@testplane/wdio-utils
A WDIO helper utility to provide several utility functions used across the project.
3.8k---1 month ago
9.5.5
ESM + CommonJSBundledUtility libraries, Scraping and browser automation
@stdlib/assert-is-accessor-array
Test if a value is an array-like object supporting the accessor (get/set) protocol.
3.8k---7 months ago
0.2.3
CommonJSBundledTesting
chai-html
HTML assertions for Chai.
3.8k-4%-1 year ago
3.2.0
ESM onlyNoneTesting
@safe-global/mock-contract
Simple Solidity contract to mock dependent contracts in truffle tests.
3.8k---3 years ago
4.1.0
CommonJSNoneTesting, Blockchain and Web3
@stdlib/array-base-assert-is-boolean-data-type
Test if an input value is a supported array boolean data type.
3.7k---7 months ago
0.0.2
CommonJSBundledTesting, Node.js utilities
interface-forge
A TypeScript library for creating strongly typed mock data factories using Faker.js for test data generation
3.7k+93%-3 months ago
2.7.0
ESM + CommonJSBundledDev servers and API mocking, Testing
@tenkeylabs/dappwright
End-to-End (E2E) testing for dApps using Playwright + MetaMask
3.7k---1 month ago
2.13.12
ESM + CommonJSBundledTesting
lcov-total
Parsing lcov.info and returning total of the summary intended to use inside CI to exit if threshold not reach
3.7k-33%-3 years ago
2.1.1
ESM onlyNoneTesting, CLI tools and terminal utilities
types-testing
Test TypeScript types at test runner runtime - Works seamlessly with Jest, Vitest, and Bun.
3.7k+145433%-4 months ago
1.0.2
ESM onlyBundledTesting, TypeScript tooling
ldap-server-mock
Simple mock for LDAP server
3.7k-7%-3 years ago
6.0.1
CommonJSBundledTesting
@sa11y/vitest
Accessibility testing matcher for vitest
3.7k---9 days ago
8.1.1
ESM onlyBundledAccessibility, Testing
angular-socket.io-mock
Drop in Mock replacement for angular-socket-io
3.7k+73%-9 years ago
1.2.0
-NoneAngular, Testing
@foundry-rs/anvil
Anvil is a fast local Ethereum development node
3.6k---4 months ago
1.7.1
ESM onlyNoneBlockchain and Web3, Testing
@zitterorg/illo-hic-voluptatem
React components for [Stripe.js and Elements](https://stripe.com/docs/stripe-js).
3.6k---2 years ago
7.6.72
CommonJSNoneCLI tools and terminal utilities, CSS-in-JS and styling
@stdlib/array-base-assert-is-booleanarray
Test if a value is a BooleanArray.
3.6k---7 months ago
0.0.3
CommonJSBundledTesting
request-mocking-protocol
A protocol for declarative mocking of HTTP requests
3.6k+689%-2 months ago
0.6.0
CommonJSBundledTesting
@stdlib/array-base-assert-is-complex-floating-point-data-type
Test if an input value is a supported array complex-valued floating-point data type.
3.6k---7 months ago
0.2.2
CommonJSBundledTesting, Node.js utilities
@lazy-assert/check-basic
Basic number checking utilities with TypeScript type guards / 基本數字檢查工具,支援 TypeScript 類型守護
3.6k---13 days ago
1.0.14
ESM + CommonJSBundledTesting
esbuild-jest2
Jest plugin to use esbuild for transformation
3.6k-30%-2 years ago
0.6.7
ESM + CommonJSBundledTesting
zora
the lightest yet the fastest javascript testing library
3.6k+29%-2 months ago
6.0.4
ESM + CommonJSBundledTesting
wct-browser-legacy
Client-side dependencies for web-component-tester tests installed via npm.
3.6k+167%-7 years ago
1.0.2
CommonJSNoneTesting
cypress-keycloak-commands
Cypress commands for login with Keycloak
3.6k-49%-6 years ago
1.2.0
CommonJSBundledAuthentication and authorisation, Testing
cypress-log
Custom Cypress command that overrides the default cy.log() command and adds the ability to log to the terminal and the Command Log.
3.5k+65%-2 years ago
1.0.3
CommonJSNoneTesting, CLI tools and terminal utilities
supertest-koa-agent
Converts a Koa app into a supertest compatible agent instance.
3.5k+216%-7 years ago
0.3.2
CommonJSNoneHTTP servers and web frameworks, Testing
chai-wait-for
Drop-in replacement for expect that waits for the assertion to succeed (retries on an interval you choose, until a timeout you choose)
3.5k-52%-2 months ago
3.2.2
ESM + CommonJSBundledPromises and async control flow, Testing
jest-plugin-clock
Jest plugin to mock dates, times, and datetimes.
3.5k-39%-8 years ago
2.9.0
CommonJSNoneDate and time, Testing
chai-counting
A simple counting plugin for the Chai assertion library
3.5k+58%-10 years ago
1.0.1
CommonJSNoneTesting
@executor-js/emulate
Local drop-in replacement services for CI and no-network sandboxes
3.5k---10 days ago
0.14.2
ESM onlyBundledTesting
vite-plugin-mock-server
Vite mock server plugin
3.5k-21%-2 years ago
1.3.1
ESM onlyBundledDev servers and API mocking, Testing
@qawolf/run-globals-ios
iOS testing utilities for QA Wolf
3.5k---28 days ago
0.0.19
ESM onlyBundledTesting
@typestrong/ts-mockito
Mocking library for TypeScript
3.4k---1 year ago
2.7.12
CommonJSBundledTypeScript tooling, Testing
react-native-svg-mock
A mock implementation of react-native-svg for use in tests.
3.4k+10%--
2.0.0
CommonJSNoneTesting, React
@tomfreudenberg/next-auth-mock
NextAuth.js mockup provider for jest, storybook and others.
3.4k---3 years ago
0.5.6
CommonJSNoneDocumentation tooling, Static site generators and meta-frameworks
vitest-auto-spy
Auto-generate fully-typed test spies from a class — across Vitest, Bun, node:test and Rstest, with Angular/NestJS/React/Vue/Svelte recipes. Drop-in replacement for jest-auto-spies and jasmine-auto-spies.
3.3k--1 day ago
5.29.0
ESM + CommonJSBundledTesting, Vue
node-qunit-phantomjs
Run QUnit unit tests in a headless PhantomJS instance without using Grunt.
3.3k+92%-6 years ago
2.1.1
CommonJSNoneTesting
playwright-s3-reporter
A Playwright Reporter for uploading traces to S3 compatible services.
3.2k+458%-28 days ago
1.5.0
ESM + CommonJSBundledScraping and browser automation, Testing
@amadeus-it-group/kassette
Development server, used mainly for testing, which proxies requests and is able to easily manage local mocks.
3.2k---5 months ago
1.7.6
CommonJSBundledDev servers and API mocking, Testing
crypto-miller-rabin
Implementation of the Miller-Rabin primality test.
3.2k+64%-1 year ago
1.0.1
ESM onlyBundledCryptography and hashing, Testing
chai-json-equal
Assert on equality of json representations in Chai
3.2k-58%-10 years ago
0.0.1
CommonJSNoneTesting
@cypress/angular
Test Angular Components with Cypress
3.2k---29 days ago
5.0.0
ESM + CommonJSBundledTesting, Angular
@pollyjs/adapter-puppeteer
File system persister for @pollyjs
3.2k---3 years ago
6.0.6
ESM + CommonJSBundledFiles and file systems, Testing
babel-tape-runner
Babel + Tape for running your ES Next tests
3.2k-22%--
3.0.0
-NoneTesting
counterfact
Turn an OpenAPI document into a useful local API for frontend development in one command.
3.1k+25%-27 days ago
2.16.5
ESM onlyBundledDocumentation tooling, TypeScript tooling
@stdlib/assert-is-undefined-or-null
Test if a value is undefined or null.
3.1k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
extend-tape
Extends Tape with new assertions
3.1k+102%-10 years ago
1.2.0
CommonJSNoneTesting
@reporters/mocha
use any mocha reporter with `node:test`
3.1k---23 days ago
2.0.3
ESM onlyNoneTesting
qawolf-socket-npm
QA Wolf automation testing package with real-world dependencies
3.1k+184%-1 day ago
1.0.648
CommonJSNoneTesting, WebSockets and realtime
jest-mock-now
Date.now() as deterministic Jest mock function.
3.1k+1%-6 years ago
1.3.0
CommonJSNoneDate and time, 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.