Packages

Testing & Mocking Packages

Testing frameworks, assertion libraries, and mocking tools for writing reliable unit, integration, and end-to-end tests (testify, pytest, Vitest).

79 packages

Packages in Testing & Mocking

Showing 79 packages
93Health
Toolnpm

Vitest

A blazing-fast unit testing framework powered by Vite, with Jest-compatible APIs out of the box.

16,971
MIT
Used by 276
92Health
Librarynpm

jsdom

A pure-JavaScript implementation of the WHATWG DOM and HTML standards for Node.js.

21,651
MIT
Used by 185
55Health
Librarynpm

React Testing Library

Simple and complete React DOM testing utilities that encourage good testing practices.

19,641
MIT
Used by 184
95Health
Toolnpm

jest

Delightful JavaScript testing with zero-config setup, snapshots, mocking, and coverage

45,468
MIT
Used by 141
68Health
LibraryGo

testify

The essential Go toolkit for assertions, mocks, and structured test suites.

26,163
MIT
Used by 98
96Health
FrameworkPyPI

pytest

The Python testing framework that makes writing small tests easy and scales to complex functional test suites.

14,428
MIT
Used by 93
92Health
Frameworknpm

Playwright

Cross-browser end-to-end web testing and browser automation with a single API for Chromium, Firefox, and WebKit.

94,744
Apache 2.0
Used by 83
78Health
LibraryCargo

tempfile

A secure, cross-platform Rust library for temporary files and directories that clean up automatically on drop.

1,457
Other
Used by 59
75Health
Librarynpm

MSW (Mock Service Worker)

Seamless REST and GraphQL API mocking for browser and Node.js

18,147
MIT
Used by 56
91Health
ToolPyPI

pytest-asyncio

The pytest plugin that lets you write and run async/await test functions and fixtures directly.

1,656
Apache 2.0
Used by 48
93Health
Toolnpm

Cypress

Fast, easy, and reliable end-to-end and component testing for anything that runs in a browser.

50,980
MIT
Used by 38
95Health
FrameworkComposer

PHPUnit

The de facto standard, programmer-oriented unit testing framework for PHP.

20,044
BSD 3
Used by 33
95Health
Librarynpm

Puppeteer

Node.js library for automating Chrome and Firefox over the DevTools Protocol and WebDriver BiDi

95,463
Apache 2.0
Used by 29
85Health
Librarynpm

Chai

BDD/TDD assertion library for Node.js and the browser, framework-agnostic

8,267
MIT
Used by 27
42Health
Librarynpm

@swc/jest

A Jest transform that compiles TypeScript and JSX with the Rust-based SWC compiler instead of Babel.

85
MIT
Used by 22

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search