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
unassertify
Browserify transform for unassert: Encourages programming with assertions by providing tools to compile them away
38.4k-18%-4 years ago
3.0.1
CommonJSNoneTesting
typemoq
A simple mocking library for TypeScript
38.2k-17%-8 years ago
2.1.0
CommonJSBundledTesting, TypeScript tooling
@stdlib/assert-is-enumerable-property
Test if an object's own property is enumerable.
37.4k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
@stdlib/assert-is-arguments
Test if a value is an arguments object.
37.4k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
snap-shot-store
Snapshots saved against an object
37k+64%-8 years ago
1.2.3
CommonJSNoneTesting
vitest-matchmedia-mock
mocking window.matchmedia with vitest
36.3k+280%-1 year ago
2.0.4
CommonJSBundledTesting
factory-girl
A factory library for Node.js and JavaScript inspired by factory_girl
36.3k+18%-7 years ago
5.0.4
CommonJSNoneTesting
@stdlib/assert-is-arraybuffer
Test if a value is an ArrayBuffer.
36.1k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
@stdlib/assert-is-array-like-object
Test if a value is an array-like object.
36.1k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
@stdlib/assert-is-complex-like
Test if a value is a complex number-like object.
36.1k---7 months ago
0.2.4
CommonJSBundledUtility libraries, Testing
cypress-plugin-api
UI for testing API in Cypress
35.9k-37%-21 days ago
2.12.3
ESM + CommonJSBundledTesting
nest-commander-testing
A testing utility for nest-commander. It builds on top of ideas from @nestjs/testing and is not tied to any test framework directly.
35.8k-4%-25 days ago
3.6.0
CommonJSBundledCLI tools and terminal utilities, Testing
@ethereum-waffle/provider
A mock provider for your blockchain testing needs.
35.8k---3 years ago
4.0.5
ESM + CommonJSBundledBlockchain and Web3, Testing
@testdino/playwright
TestDino's real-time streaming reporter and CLI for Playwright test execution
35.7k---2 days ago
2.7.1
ESM + CommonJSBundledCLI tools and terminal utilities, Testing
@testcontainers/k3s
K3s module for Testcontainers
35.5k---1 month ago
12.1.0
CommonJSBundledTesting
@ethereum-waffle/ens
A mock ens implementation for testing.
35.3k---3 years ago
4.0.3
ESM + CommonJSBundledBlockchain and Web3, Testing
cypress-wait-for-stable-dom
Cypress command to wait until DOM has finished changing
35k-35%--
0.1.0
CommonJSBundledTesting
eslint-node-test
ESLint rules for the Node.js built-in test runner (`node:test`)
35k--2 months ago
0.4.0
ESM onlyBundledLinting and formatting, Testing
ember-cli-page-object
This ember-cli addon eases the construction of page objects on your acceptance and integration tests
34.3k+12%-1 year ago
2.3.2
ESM + CommonJSBundledTesting
chai-enzyme
Chai.js assertions for enzyme
33.8k-39%-8 years ago
1.0.0-beta.1
CommonJSNoneTesting
testing
Simple asynchronous testing framework. Never again count your asserts! This tiny testing library is fully callback-based and has a rich API for asserts.
33.7k+47%-3 years ago
3.1.0
ESM onlyNoneTesting
vitest-browser-angular
Render Angular components in VItest Browser Mode
33.7k+1138208%-9 days ago
0.5.1
ESM onlyBundledAngular, Testing
mock-express-request
Nodejs library to mock express http request
33.5k-19%-8 years ago
0.2.2
CommonJSNoneTesting
@pollyjs/adapter-fetch
Fetch adapter for @pollyjs
33.4k---1 year ago
6.0.7
ESM + CommonJSBundledDOM and browser utilities, Testing
vitest-chrome
Test Chrome extensions with Vitest. A complete mock of the Chrome API.
33.1k+497%-3 years ago
0.1.0
ESM + CommonJSBundledTesting
@stdlib/array-base-assert-is-accessor-array
Test if an array-like object supports the accessor (get/set) protocol.
33k---7 months ago
0.2.3
CommonJSBundledTesting
allure-cypress
Allure Cypress integration
32.6k+2%-9 days ago
3.12.2
ESM + CommonJSBundledTesting
vitest-preview
Visual Debugging Experience for Vitest 🧪🖼⚡️
32.6k-25%-11 months ago
0.0.3
ESM onlyBundledTesting
wdio-intercept-service
Capture and assert HTTP ajax calls in webdriver.io 🕸
32.4k-32%-2 years ago
4.4.1
CommonJSBundledTesting, Scraping and browser automation
stream-equal
Test that two readable streams are equal to each other.
32.2k+155%-6 years ago
2.0.1
CommonJSNoneTesting
@knapsack-pro/jest
Knapsack Pro Jest splits Jest tests across CI nodes and makes sure that tests will run in optimal time on each CI node.
32.1k---2 months ago
10.0.0
ESM onlyNoneTesting
storybook-addon-vis
Storybook Vitest visual testing addon
32.1k+1593%-18 days ago
4.2.8
ESM onlyBundledTesting
supertest-graphql
Extends supertest to test a GraphQL endpoint
32k+22%-4 years ago
1.1.4
CommonJSBundledGraphQL, Testing
vue-router-mock
Easily test your components by mocking the router
31.8k-10%-6 months ago
2.0.2
ESM onlyBundledTesting, Vue
@wdio/visual-service
Image comparison / visual regression testing for WebdriverIO
31.8k---2 months ago
10.1.0
ESM onlyBundledTesting
@stdlib/array-base-assert-is-complex64array
Test if a value is a Complex64Array.
31.5k---7 months ago
0.2.3
CommonJSBundledTesting
@stdlib/array-base-assert-is-complex128array
Test if a value is a Complex128Array.
31.5k---7 months ago
0.2.3
CommonJSBundledTesting
jest-markdown-expand-reporter
A markdown reporter for Jest tests with expandable sections containing per test console logs
31.4k+175%-1 year ago
0.1.2-beta
CommonJSNoneMarkdown, Testing
@wdio/tauri-service
WebdriverIO service for testing Tauri applications
31.3k---19 days ago
1.4.0
ESM + CommonJSBundledTesting
mock-match-media
mock window.matchMedia for tests or node
31.2k+66%-11 months ago
1.0.3
ESM + CommonJSBundledTesting, Static site generators and meta-frameworks
archunit
ArchUnit TypeScript is an architecture testing library, to specify and assert architecture rules in your TypeScript app
31.1k+4363%-12 days ago
2.5.4
CommonJSBundledTesting, TypeScript tooling
@nut-tree-fork/nut-js
Native system automation for node.js
30.8k---1 year ago
4.2.6
CommonJSBundledTesting
mocha-ctrf-json-reporter
A Mocha test reporter to create test results reports
30.6k+584%-6 months ago
0.0.11
CommonJSBundledTesting
mitm
Intercept and mock outgoing network TCP connections and HTTP requests for testing. Intercepts and gives you a Net.Socket, Http.IncomingMessage and Http.ServerResponse to test and respond with. Useful when testing code that hits remote servers.
30.4k-50%-2 years ago
1.7.3
CommonJSNoneTesting
@stdlib/assert-instance-of
Test whether a value has in its prototype chain a specified constructor as a prototype property.
30.2k---7 months ago
0.3.1
CommonJSBundledUtility libraries, Testing
bats-assert
Common assertions for Bats
30.1k+501%-11 months ago
2.2.4
-NoneTesting
@stdlib/assert-is-array-like
Test if a value is array-like.
30.1k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
@testcontainers/redpanda
Redpanda module for Testcontainers
30k---1 month ago
12.1.0
CommonJSBundledTesting
@stdlib/assert-is-string-array
Test if a value is an array of strings.
30k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Testing
git-branch-is
Assert that the name of the current branch of a git repository has a particular value.
29.9k-13%-3 months ago
5.0.0
CommonJSNoneTesting, CLI tools and terminal utilities

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.