Packages

Testing & Mocking Packages

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

166 packages

Packages in Testing & Mocking

Showing 15 of 166 packages
92Health
Toolnpm

Vitest

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

17,062
MIT
Used by 276
91Health
Frameworknpm

Playwright

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

95,722
Apache 2.0
Used by 213
92Health
Librarynpm

jsdom

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

21,671
MIT
Used by 185
66Health
Librarynpm

React Testing Library

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

19,646
MIT
Used by 184
68Health
Librarynpm

jest-dom

Custom Jest matchers for asserting on the state of the DOM in your tests.

4,597
MIT
Used by 157
94Health
Toolnpm

jest

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

45,474
MIT
Used by 146
80Health
Librarynpm

user-event

Simulates the full sequence of real browser events so Testing Library tests behave the way an actual user does.

2,323
MIT
Used by 111
75Health
LibraryGo

testify

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

26,203
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,483
MIT
Used by 93
66Health
Librarynpm

DOM Testing Library

Simple, framework-agnostic DOM query utilities that test your UI the way real users interact with it.

3,334
MIT
Used by 83
95Health
Toolnpm

Storybook

The industry-standard workshop for building, documenting, and testing UI components in isolation, across every major frontend framework.

91,025
MIT
Used by 81
91Health
Librarynpm

Faker

Generate massive amounts of realistic fake data for testing, seeding, and mocking in JavaScript and TypeScript.

15,483
MIT
Used by 59
75Health
LibraryCargo

tempfile

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

1,460
Other
Used by 59
73Health
Librarynpm

MSW (Mock Service Worker)

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

18,185
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,662
Apache 2.0
Used by 48

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