Testing
Testing frameworks, pytest plugins, mocking, fixtures, fake test data, code coverage and property-based testing.
Testing frameworks, pytest plugins, mocking, fixtures, fake test data, code coverage and property-based testing.
217 packages
Generate C/C++ code coverage reports with gcov
Local continuous test runner with pytest and watchdog.
Python dependency injection framework.
Test infrastructures
Framework for large language model evaluations
Smart object creation facility for Django.
golden master/snapshot/approval testing library which puts the values right into your source code
Pytest Snapshot Test Utility
Show coverage stats online via coveralls.io
pytest plugin to run tests in a specific order
An extremely fast Python library to calculate the cognitive complexity of Python files, written in Rust.
A py.test plugin that parses environment files before running tests
Python client for Appium
Doing dirty (but extremely useful) things with equals.
A pytest plugin powered by VCR.py to record and replay HTTP traffic
Plugin for pytest that automatically reruns flaky tests.
**Deal** is a Python library for [design by contract][wiki] (DbC) programming.
Analyze Python code for correctness using symbolic execution.
A library to choose unique available network ports.
A set of Python modules to automate the Microsoft Windows GUI
pytest support for PyQt and PySide applications
A collection of helpers and mock objects for unit tests and doc tests.
Integration of uv with tox (meta package with bundled uv).
Pytest plugin for aiohttp support
Typed library that provides an ORM wrapper for tmux, a terminal multiplexer.
Fluent, fully typed assertion library for Python: your type checker sees only the assertions that fit the value, and every failure carries a structured diff. Soft assertions, polling, inline snapshots, OpenAPI contracts.
Manage dependencies of tests
Simple pytest fixtures for Docker and Docker Compose based tests
pytest plugin to run your tests in a specific order