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-is-probability
Test if a value is a probability.
6k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
fs-require
Create a require() function from any file-system
6k-10%-3 years ago
1.6.0
ESM + CommonJSBundledFiles and file systems, Testing
mocksse
Allows testing of EventSource / Server Sent Events
6k+44%-4 years ago
1.0.4
CommonJSNoneTesting, WebSockets and realtime
grunt-mocha-istanbul
Almost config-free Istanbul code coverage reporter for Mocha usage in Grunt
6k-28%-10 years ago
5.0.2
CommonJSNoneTesting
@myobie/pty
Persistent terminal sessions with detach/attach, plus a Playwright-style testing library for TUI apps
6k---5 months ago
0.10.0
ESM onlyBundledTesting, CLI tools and terminal utilities
@testcontainers/oraclefree
Oracle DB Free module for Testcontainers
6k---1 month ago
12.1.0
CommonJSBundledTesting, Database clients and drivers
babel-plugin-transform-barrels
A Babel plugin that transforms indirect imports through a barrel file (index.js) into direct imports.
6k+83%-1 year ago
1.0.23
CommonJSNoneTesting
@nestjs-cognito/testing
Cognito testing helpers for NestJS-Cognito
5.9k---10 months ago
2.2.1
CommonJSBundledTesting, TypeScript tooling
@gnosis.pm/mock-contract
Simple Solidity contract to mock dependent contracts in truffle tests.
5.9k---6 years ago
4.0.0
CommonJSNoneTesting, Blockchain and Web3
superagent-mock
superagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.
5.9k-35%-2 years ago
5.0.1
ESM + CommonJSNoneTesting
dtu-github-actions
Digital Twin Universe - GitHub Actions Mock and Simulation
5.9k--1 month ago
0.18.1
ESM onlyBundledTesting
gulp-spawn-mocha
Runs Mocha as a child process.
5.9k+32%-7 years ago
6.0.0
CommonJSNoneTesting, Node.js utilities
playwright-client-certificate-login
A playwright script to login using client certificates
5.8k-63%--
0.0.3
CommonJSNoneAuthentication and authorisation, Testing
@mizdra/graphql-codegen-typescript-fabbrica
GraphQL Code Generator Plugin to define mock data factory.
5.8k---2 months ago
0.6.3
ESM + CommonJSBundledTesting, GraphQL
lintspaces
Library for checking spaces in files
5.8k-18%-5 days ago
3.0.0
CommonJSNoneSchema validation, Linting and formatting
unit.js
Simple, intuitive and flexible unit testing framework for javascript / Node.js (browser and server). Integrates awesome assertions libraries like Must.js, Should.js, Assert of Node.js, Sinon.js and other friendly features (promise, IoC, plugins, ...).
5.7k+114%-6 years ago
2.1.1
CommonJSNoneTesting
grunt-saucelabs
Grunt task running tests using Sauce Labs. Supports QUnit, Jasmine, Mocha and YUI tests
5.7k-27%-7 years ago
9.0.1
-NoneTesting
@stdlib/math-base-assert-is-positive-integer
Test if a finite double-precision floating-point number is a positive integer.
5.7k---7 months ago
0.3.2
CommonJSBundledUtility libraries, Testing
@stdlib/ndarray-base-assert-is-data-type-string
Test if an input value is a supported built-in ndarray data type string.
5.7k---7 months ago
0.1.1
CommonJSBundledTesting, Utility libraries
workerloader-jest-transformer
Jest transformer for Webpack Worker loader
5.6k-51%-4 years ago
0.1.0
CommonJSNoneTesting
@pothos/plugin-mocks
A Pothos plugin for mocking resolvers
5.6k---11 days ago
4.1.4
ESM + CommonJSBundledGraphQL, TypeScript tooling
@forsakringskassan/apimock-express
Express middleware for mocking API calls with json & js files during development.
5.6k---today
4.2.1
ESM + CommonJSBundledTesting
playwright-recast
Fluent pipeline library for processing Playwright traces into polished demo videos — TTS voiceover, subtitles, speed control, and zoom.
5.6k--28 days ago
0.21.0
ESM onlyBundledTesting, Video and audio
@stdlib/ndarray-base-assert-is-order
Test if an input value is an ndarray order.
5.6k---7 months ago
0.2.3
CommonJSBundledTypeScript tooling, Testing
jest-mock-proxy
Mock classes and objects with the power of proxies!
5.6k+4%-4 years ago
3.1.2
CommonJSBundledTesting
@web/test-runner-webdriver
Webdriver browser launcher for Web Test Runner
5.6k---2 months ago
1.0.0
ESM + CommonJSBundledTesting
@opengovsg/mockpass
A mock SingPass/CorpPass server for dev purposes
5.6k---7 days ago
4.9.0
CommonJSNoneTesting
@stdlib/assert-is-integer-array
Test if a value is an array-like object containing only integers.
5.5k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
@stdlib/ndarray-base-assert-is-buffer-length-compatible
Determine if a buffer length is compatible with provided ndarray meta data.
5.5k---7 months ago
0.1.3
CommonJSBundledTesting, TypeScript tooling
@stdlib/ndarray-base-assert-is-index-mode
Test if an input value is a supported ndarray index mode.
5.5k---7 months ago
0.2.3
CommonJSBundledTypeScript tooling, Testing
zuul
simple browser testing
5.5k-63%--
3.12.0
CommonJSNoneTesting
chai-url
A chai assertion plugin for working with urls
5.5k-35%-9 years ago
1.0.4
CommonJSNoneTesting
@stdlib/math-base-assert-is-negative-integer
Test if a finite double-precision floating-point number is a negative integer.
5.5k---7 months ago
0.3.2
CommonJSBundledUtility libraries, Testing
@vercel/sandbox-mock
Drop-in mock for @vercel/sandbox backed by just-bash.
5.5k---2 days ago
3.5.0
ESM + CommonJSBundledTesting
@scenarist/core
Internal: Hexagonal architecture core for scenario-based testing with MSW
5.5k---1 month ago
0.4.14
ESM onlyBundledTesting
@scenarist/nextjs-adapter
Next.js adapter for Scenarist (Pages Router and App Router)
5.4k---1 month ago
0.4.14
ESM onlyBundledTesting, Static site generators and meta-frameworks
@scenarist/msw-adapter
Internal: MSW integration layer for Scenarist framework adapters
5.4k---1 month ago
0.4.14
ESM onlyBundledTesting
@japa/spec-reporter
Spec reporter for japa test runner
5.4k---3 years ago
1.3.3
CommonJSBundledTesting
babel-plugin-explicit-exports-references
Transforms all internal references to a module's exports such that each reference starts with `module.exports` instead of directly referencing an internal name. This enables easy mocking of specific (exported) functions in Jest with Babel/TypeScript, even
5.4k+74%-4 years ago
1.0.2
CommonJSBundledTesting, TypeScript tooling
bun-bagel
🥯 The Bun fetch mocker with a hole lot of flavor.
5.4k+100%-1 year ago
1.2.0
ESM onlyBundledDev servers and API mocking, Testing
yamltest
Declarative YAML-based HTTP, command, and Kubernetes test runner
5.3k--2 days ago
1.5.1
CommonJSNoneTesting
hock
A mocking server for HTTP requests
5.3k-77%-6 years ago
1.4.1
CommonJSNoneTesting
@sentry/jest-environment
Automatic performance instrumentation for your Jest tests.
5.3k---1 month ago
8.0.0
CommonJSNoneTesting, Monitoring and error tracking
chai-as-promised-also-chain
Adding .also chain in base library of chai-as-promised
5.3k+9%-9 years ago
1.0.2
CommonJSNoneTesting
@stdlib/assert-is-unity-probability-array
Test if a value is an array of probabilities that sum to one.
5.3k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
annois
Generative type checkers for JavaScript
5.3k+85%-11 years ago
0.3.2
CommonJSNoneTesting
@scenarist/playwright-helpers
Playwright test helpers for Scenarist scenario management
5.3k---1 month ago
0.4.14
ESM onlyBundledTesting, Scraping and browser automation
jasmine-enzyme
Jasmine assertions for enzyme
5.2k+24%-6 years ago
7.1.2
CommonJSNoneTesting
@foundry-rs/anvil-linux-amd64
Anvil is a fast local Ethereum development node (Linux x64)
5.1k---4 months ago
1.7.1
ESM onlyNoneBlockchain and Web3, Testing
@storycap-testrun/node
Node.js screenshot capture for Storybook Test Runner - Provides stable screenshot functionality using Playwright for visual regression testing
5.1k---7 days ago
3.1.1
ESM + CommonJSBundledTesting, Documentation tooling

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.