Package category
Testing
Test runners, assertion libraries, mocking and end-to-end testing.
1,409 packages15 comparisons
Packages compared
1,409 packages
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| @stdlib/assert-is-probability Test if a value is a probability. | 6k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Utility libraries, Testing |
| fs-require Create a require() function from any file-system | 6k | -10% | - | 3 years ago 1.6.0 | ESM + CommonJS | Bundled | Files and file systems, Testing | |
| mocksse Allows testing of EventSource / Server Sent Events | 6k | +44% | - | 4 years ago 1.0.4 | CommonJS | None | Testing, 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 | CommonJS | None | Testing | |
| @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 only | Bundled | Testing, CLI tools and terminal utilities |
| @testcontainers/oraclefree Oracle DB Free module for Testcontainers | 6k | - | - | - | 1 month ago 12.1.0 | CommonJS | Bundled | Testing, 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 | CommonJS | None | Testing | |
| @nestjs-cognito/testing Cognito testing helpers for NestJS-Cognito | 5.9k | - | - | - | 10 months ago 2.2.1 | CommonJS | Bundled | Testing, TypeScript tooling |
| @gnosis.pm/mock-contract Simple Solidity contract to mock dependent contracts in truffle tests. | 5.9k | - | - | - | 6 years ago 4.0.0 | CommonJS | None | Testing, 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 + CommonJS | None | Testing | |
| dtu-github-actions Digital Twin Universe - GitHub Actions Mock and Simulation | 5.9k | - | - | 1 month ago 0.18.1 | ESM only | Bundled | Testing | |
| gulp-spawn-mocha Runs Mocha as a child process. | 5.9k | +32% | - | 7 years ago 6.0.0 | CommonJS | None | Testing, Node.js utilities | |
| playwright-client-certificate-login A playwright script to login using client certificates | 5.8k | -63% | - | - 0.0.3 | CommonJS | None | Authentication 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 + CommonJS | Bundled | Testing, GraphQL |
| lintspaces Library for checking spaces in files | 5.8k | -18% | - | 5 days ago 3.0.0 | CommonJS | None | Schema 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 | CommonJS | None | Testing | |
| 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 | - | None | Testing | |
| @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 | CommonJS | Bundled | Utility 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 | CommonJS | Bundled | Testing, Utility libraries |
| workerloader-jest-transformer Jest transformer for Webpack Worker loader | 5.6k | -51% | - | 4 years ago 0.1.0 | CommonJS | None | Testing | |
| @pothos/plugin-mocks A Pothos plugin for mocking resolvers | 5.6k | - | - | - | 11 days ago 4.1.4 | ESM + CommonJS | Bundled | GraphQL, TypeScript tooling |
| @forsakringskassan/apimock-express Express middleware for mocking API calls with json & js files during development. | 5.6k | - | - | - | today 4.2.1 | ESM + CommonJS | Bundled | Testing |
| 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 only | Bundled | Testing, 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 | CommonJS | Bundled | TypeScript tooling, Testing |
| jest-mock-proxy Mock classes and objects with the power of proxies! | 5.6k | +4% | - | 4 years ago 3.1.2 | CommonJS | Bundled | Testing | |
| @web/test-runner-webdriver Webdriver browser launcher for Web Test Runner | 5.6k | - | - | - | 2 months ago 1.0.0 | ESM + CommonJS | Bundled | Testing |
| @opengovsg/mockpass A mock SingPass/CorpPass server for dev purposes | 5.6k | - | - | - | 7 days ago 4.9.0 | CommonJS | None | Testing |
| @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 | CommonJS | Bundled | Utility 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 | CommonJS | Bundled | Testing, 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 | CommonJS | Bundled | TypeScript tooling, Testing |
| zuul simple browser testing | 5.5k | -63% | - | - 3.12.0 | CommonJS | None | Testing | |
| chai-url A chai assertion plugin for working with urls | 5.5k | -35% | - | 9 years ago 1.0.4 | CommonJS | None | Testing | |
| @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 | CommonJS | Bundled | Utility libraries, Testing |
| @vercel/sandbox-mock Drop-in mock for @vercel/sandbox backed by just-bash. | 5.5k | - | - | - | 2 days ago 3.5.0 | ESM + CommonJS | Bundled | Testing |
| @scenarist/core Internal: Hexagonal architecture core for scenario-based testing with MSW | 5.5k | - | - | - | 1 month ago 0.4.14 | ESM only | Bundled | Testing |
| @scenarist/nextjs-adapter Next.js adapter for Scenarist (Pages Router and App Router) | 5.4k | - | - | - | 1 month ago 0.4.14 | ESM only | Bundled | Testing, 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 only | Bundled | Testing |
| @japa/spec-reporter Spec reporter for japa test runner | 5.4k | - | - | - | 3 years ago 1.3.3 | CommonJS | Bundled | Testing |
| 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 | CommonJS | Bundled | Testing, TypeScript tooling | |
| bun-bagel 🥯 The Bun fetch mocker with a hole lot of flavor. | 5.4k | +100% | - | 1 year ago 1.2.0 | ESM only | Bundled | Dev servers and API mocking, Testing | |
| yamltest Declarative YAML-based HTTP, command, and Kubernetes test runner | 5.3k | - | - | 2 days ago 1.5.1 | CommonJS | None | Testing | |
| hock A mocking server for HTTP requests | 5.3k | -77% | - | 6 years ago 1.4.1 | CommonJS | None | Testing | |
| @sentry/jest-environment Automatic performance instrumentation for your Jest tests. | 5.3k | - | - | - | 1 month ago 8.0.0 | CommonJS | None | Testing, 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 | CommonJS | None | Testing | |
| @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 | CommonJS | Bundled | Utility libraries, Testing |
| annois Generative type checkers for JavaScript | 5.3k | +85% | - | 11 years ago 0.3.2 | CommonJS | None | Testing | |
| @scenarist/playwright-helpers Playwright test helpers for Scenarist scenario management | 5.3k | - | - | - | 1 month ago 0.4.14 | ESM only | Bundled | Testing, Scraping and browser automation |
| jasmine-enzyme Jasmine assertions for enzyme | 5.2k | +24% | - | 6 years ago 7.1.2 | CommonJS | None | Testing | |
| @foundry-rs/anvil-linux-amd64 Anvil is a fast local Ethereum development node (Linux x64) | 5.1k | - | - | - | 4 months ago 1.7.1 | ESM only | None | Blockchain 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 + CommonJS | Bundled | Testing, 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.
- @stdlib/assert-is-probabilityTest if a value is a probability.
- fs-requireCreate a require() function from any file-system
- mocksseAllows testing of EventSource / Server Sent Events
- grunt-mocha-istanbulAlmost config-free Istanbul code coverage reporter for Mocha usage in Grunt
- @myobie/ptyPersistent terminal sessions with detach/attach, plus a Playwright-style testing library for TUI apps
- @testcontainers/oraclefreeOracle DB Free module for Testcontainers
- babel-plugin-transform-barrelsA Babel plugin that transforms indirect imports through a barrel file (index.js) into direct imports.
- @nestjs-cognito/testingCognito testing helpers for NestJS-Cognito
- @gnosis.pm/mock-contractSimple Solidity contract to mock dependent contracts in truffle tests.
- superagent-mocksuperagent plugin allowing to simulate HTTP calls by returning data fixtures based on the requested URL.
- dtu-github-actionsDigital Twin Universe - GitHub Actions Mock and Simulation
- gulp-spawn-mochaRuns Mocha as a child process.
- playwright-client-certificate-loginA playwright script to login using client certificates
- @mizdra/graphql-codegen-typescript-fabbricaGraphQL Code Generator Plugin to define mock data factory.
- lintspacesLibrary for checking spaces in files
- unit.jsSimple, 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, ...).
- grunt-saucelabsGrunt task running tests using Sauce Labs. Supports QUnit, Jasmine, Mocha and YUI tests
- @stdlib/math-base-assert-is-positive-integerTest if a finite double-precision floating-point number is a positive integer.
- @stdlib/ndarray-base-assert-is-data-type-stringTest if an input value is a supported built-in ndarray data type string.
- workerloader-jest-transformerJest transformer for Webpack Worker loader
- @pothos/plugin-mocksA Pothos plugin for mocking resolvers
- @forsakringskassan/apimock-expressExpress middleware for mocking API calls with json & js files during development.
- playwright-recastFluent pipeline library for processing Playwright traces into polished demo videos — TTS voiceover, subtitles, speed control, and zoom.
- @stdlib/ndarray-base-assert-is-orderTest if an input value is an ndarray order.
- jest-mock-proxyMock classes and objects with the power of proxies!
- @web/test-runner-webdriverWebdriver browser launcher for Web Test Runner
- @opengovsg/mockpassA mock SingPass/CorpPass server for dev purposes
- @stdlib/assert-is-integer-arrayTest if a value is an array-like object containing only integers.
- @stdlib/ndarray-base-assert-is-buffer-length-compatibleDetermine if a buffer length is compatible with provided ndarray meta data.
- @stdlib/ndarray-base-assert-is-index-modeTest if an input value is a supported ndarray index mode.
- zuulsimple browser testing
- chai-urlA chai assertion plugin for working with urls
- @stdlib/math-base-assert-is-negative-integerTest if a finite double-precision floating-point number is a negative integer.
- @vercel/sandbox-mockDrop-in mock for @vercel/sandbox backed by just-bash.
- @scenarist/coreInternal: Hexagonal architecture core for scenario-based testing with MSW
- @scenarist/nextjs-adapterNext.js adapter for Scenarist (Pages Router and App Router)
- @scenarist/msw-adapterInternal: MSW integration layer for Scenarist framework adapters
- @japa/spec-reporterSpec reporter for japa test runner
- babel-plugin-explicit-exports-referencesTransforms 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
- bun-bagel🥯 The Bun fetch mocker with a hole lot of flavor.
- yamltestDeclarative YAML-based HTTP, command, and Kubernetes test runner
- hockA mocking server for HTTP requests
- @sentry/jest-environmentAutomatic performance instrumentation for your Jest tests.
- chai-as-promised-also-chainAdding .also chain in base library of chai-as-promised
- @stdlib/assert-is-unity-probability-arrayTest if a value is an array of probabilities that sum to one.
- annoisGenerative type checkers for JavaScript
- @scenarist/playwright-helpersPlaywright test helpers for Scenarist scenario management
- jasmine-enzymeJasmine assertions for enzyme
- @foundry-rs/anvil-linux-amd64Anvil is a fast local Ethereum development node (Linux x64)
- @storycap-testrun/nodeNode.js screenshot capture for Storybook Test Runner - Provides stable screenshot functionality using Playwright for visual regression testing
- selenium-webdriver vs wd
- @appium/types vs selenium-webdriver
- msw vs json-server
- @copilotkit/aimock vs mock-socket
- @appium/types vs wd
- mockttp vs ts-mockito
- mock-socket vs ts-mockito
- rewire vs ng-mocks
- msw vs miragejs
- codeceptjs vs playwright-bdd
- codeceptjs vs nightwatch
- mocha vs jasmine-core
- mock-socket vs ng-mocks
- fast-check vs rewire
- ts-jest vs @golevelup/ts-jest