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

74Health
Tool PyPI

SWE-bench

Benchmark harness that evaluates whether a language model can actually resolve real-world GitHub issues.

6,075
MIT
Used by 2
43Health
Library PyPI

factory_boy

A versatile test fixtures replacement for Python, providing declarative factories for building complex test objects.

3,811
MIT
Used by 2
56Health
Library npm

uvu

An extremely fast, lightweight test runner for Node.js and the browser, with optional browser-safe assertions.

3,029
MIT
Used by 2
66Health
Library PyPI

VCR.py

Record and replay HTTP interactions to speed up tests

3,021
MIT
Used by 2
71Health
Library Composer

doctrine/data-fixtures

Manage and load data fixtures for any Doctrine object manager

2,850
MIT
Used by 2
47Health
Library Go

httpexpect

A chainable Go library for declarative, end-to-end HTTP and REST API testing.

2,723
MIT
Used by 2
62Health
Library PyPI

deepdiff

Deep difference, search, and hashing for any nested Python object, with deltas you can serialize and replay.

2,537
MIT
Used by 2
50Health
Library Go

martian

A programmable HTTP/1.1 proxy for Go, used to inspect, mutate, and verify requests and responses via composable modifiers.

2,040
Apache 2.0
Used by 2
40Health
Library Go

leaktest

A small Go package that detects leaked goroutines in tests by diffing stack snapshots taken before and after each test runs.

1,043
BSD 3
Used by 2
43Health
Library Cargo

dhat

Heap profiling, ad hoc profiling, and heap-usage testing for Rust programs, in the style of Valgrind's DHAT.

1,012
Apache 2.0
Used by 2
53Health
Library npm

@sinonjs/fake-timers

Deterministic fake implementations of setTimeout, setInterval, Date, and other timer APIs for fast, reliable JavaScript tests.

860
BSD 3
Used by 2
85Health
Library npm

Nuxt Test Utils

Official testing toolkit for Nuxt apps, with Suspense-aware component mounting and real e2e fixtures.

440
MIT
Used by 2
47Health
Library PyPI

pytest-cases

Separate test code from test cases in pytest, with fixture unions and parametrization goodies for readable, reusable test suites.

379
BSD 3
Used by 2
51Health
Library Cargo

sqllogictest

A Rust parser and runner for sqllogictest files that verify SQL database correctness

234
Other
Used by 2
43Health
Tool PyPI

pytest-repeat

A pytest plugin for repeating tests a set number of times

196
MPL-2.0
Used by 2
32Health
Library Cargo

similar-asserts

assert_eq!-style Rust macros with colorized diff output for readable test failures.

170
Apache 2.0
Used by 2
42Health
Library Cargo

libtest-mimic

Build a custom Rust test harness that looks and behaves like rustc's built-in test runner

152
MIT
Used by 2
76Health
Library Composer

MinkExtension

Mink browser-automation integration and configuration layer for the Behat BDD framework.

139
MIT
Used by 2
68Health
Tool npm

node-geckodriver

An npm wrapper that downloads, manages, and launches Mozilla's Geckodriver binary for Firefox WebDriver automation in Node.js.

47
MIT
Used by 2
23Health
Library Cargo

portpicker

A tiny Rust crate that picks a free network port unused on both TCP and UDP.

43
Other
Used by 2
29Health
Tool npm

@cypress/browserify-preprocessor

Cypress file preprocessor that bundles spec and support files with Browserify

23
MIT
Used by 2
96Health
Tool PyPI

lit

LLVM's portable command-line tool for discovering, running, and summarizing test suites.

41,179
Apache 2.0
Used by 1
94Health
Tool PyPI

Locust

An open-source load-testing tool that lets you define user behavior in plain Python.

28,234
MIT
Used by 1
95Health
Tool PyPI

pydevd-pycharm

PyCharm build of the pydevd debugger for remote Python debugging

20,658
Apache 2.0
Used by 1

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