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

91Health
Framework PyPI

DeepEval

A Pytest-like open-source framework for unit-testing and evaluating LLM applications with research-backed metrics.

18,471
Apache 2.0
Used by 1
44Health
Library PyPI

undetected-chromedriver

A drop-in Selenium Chrome WebDriver replacement that patches the chromedriver binary and browser fingerprint to evade bot-mitigation systems.

12,857
GPL 3.0
Used by 1
55Health
Library PyPI

pywinauto

A Python library that drives Windows GUI apps by sending mouse, keyboard, and text-based actions to dialogs and controls.

6,184
BSD 3
Used by 1
75Health
Tool npm

memlab

Meta's end-to-end framework for finding JavaScript memory leaks and analyzing heap snapshots

5,056
MIT
Used by 1
40Health
Library PyPI

nodriver

Async browser automation and web scraping that talks directly to Chromium via CDP, with no Selenium, WebDriver, or ChromeDriver required.

4,786
AGPL 3.0
Used by 1
43Health
Library npm

expect.js

Minimalistic BDD-style assertion library for Node.js and the browser with chainable, readable syntax.

2,092
MIT
Used by 1
38Health
Library Cargo

stateright

A Rust model checker and actor library for verifying distributed systems like Paxos and Raft.

1,889
MIT
Used by 1
59Health
Tool Cargo

afl.rs

Fuzz-test Rust code with AFLplusplus using the afl crate's fuzz macros and cargo-afl tooling.

1,848
Apache 2.0
Used by 1
68Health
Library PyPI

typeguard

Run-time type checking for Python functions and objects using PEP 484 annotations.

1,789
MIT
Used by 1
61Health
Library Composer

Mink

A PHP browser emulator abstraction that unifies web acceptance testing across drivers.

1,608
MIT
Used by 1
41Health
Tool PyPI

pytest-sugar

A pytest plugin that replaces the default test runner output with a live progress bar, instant failure display, and colorized results.

1,532
BSD 3
Used by 1
89Health
Library PyPI

libtmux

A typed, object-oriented Python API for scripting and automating tmux servers, sessions, windows, and panes.

1,211
MIT
Used by 1
84Health
Library PyPI

OpenEvals

Prebuilt evaluators and LLM-as-judge scorers for testing the quality of LLM application outputs.

1,208
MIT
Used by 1
76Health
Library npm

user-agents

A JavaScript library that generates realistic, frequency-weighted random user agents and browser fingerprints from a dataset refreshed daily.

1,189
Other
Used by 1
38Health
Library PyPI

python-devtools

Python's missing debug print command, plus pretty formatting, timing, and pytest helpers.

1,078
MIT
Used by 1
85Health
Library Cargo

Shuttle

A Rust library for testing concurrent code by controlling and randomizing thread scheduling to reliably surface race conditions.

1,066
Apache 2.0
Used by 1
71Health
Library Composer

Behat Gherkin

A PHP parser for the Gherkin BDD language with support for 40+ natural languages.

1,061
MIT
Used by 1
76Health
Library PyPI

time-machine

Travel through time in your Python tests by mocking datetime and time at the C level.

1,007
MIT
Used by 1
71Health
Tool PyPI

allure-pytest

A pytest plugin that generates rich, interactive Allure test reports with steps and attachments

815
Apache 2.0
Used by 1
60Health
Library PyPI

pytest-randomly

Pytest plugin that randomly orders tests and controls random.seed for reproducible, dependency-flushing test runs.

721
MIT
Used by 1
54Health
Library PyPI

pytest-flask

A pytest plugin with ready-made fixtures for testing Flask applications end to end.

499
MIT
Used by 1
39Health
Tool PyPI

pytest-pretty

An opinionated pytest plugin that makes test output easier to read and failures faster to find and fix.

474
MIT
Used by 1
73Health
Library PyPI

aiosmtpd

An asyncio-based SMTP and LMTP server implementation for Python, built to mock mail servers in tests and run lightweight custom relays.

373
Apache 2.0
Used by 1
64Health
Library Composer

Laravel Test Assertions

Extra PHPUnit assertions and matchers for testing Laravel applications.

348
MIT
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