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.
696 packages
golden master/snapshot/approval testing library which puts the values right into your source code
Smart object creation facility for Django.
Always know what to expect from your data.
SeleniumBase is a framework for web crawling, scraping, and testing. Supports pytest. CDP Mode adds stealth. Includes many tools.
Show coverage stats online via coveralls.io
Pytest Snapshot Test Utility
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.
Cortex-M debugger for Python
A py.test plugin that parses environment files before running tests
Python client for Appium
Doing dirty (but extremely useful) things with equals.
Plugin for pytest that automatically reruns flaky tests.
A pytest plugin powered by VCR.py to record and replay HTTP traffic
Analyze Python code for correctness using symbolic execution.
**Deal** is a Python library for [design by contract][wiki] (DbC) programming.
A library to choose unique available network ports.
A set of Python modules to automate the Microsoft Windows GUI
A collection of helpers and mock objects for unit tests and doc tests.
pytest support for PyQt and PySide applications
browser abstraction for web acceptance testing
Integration of uv with tox (meta package with bundled uv).
Pytest plugin for aiohttp support
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.
Typed library that provides an ORM wrapper for tmux, a terminal multiplexer.
Manage dependencies of tests
Simple pytest fixtures for Docker and Docker Compose based tests
pytest plugin to run your tests in a specific order