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.
299 packages
Run coverage and linting reports on diffs
pytest plugin for repeating tests
Gherkin parser (official, by Cucumber team)
unittest-based test runner with Ant/JUnit like XML reporting.
Generate C/C++ code coverage reports with gcov
Python dependency injection framework.
SeleniumBase is a framework for web crawling, scraping, and testing. Supports pytest. CDP Mode adds stealth. Includes many tools.
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.
Cortex-M debugger for Python
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
Analyze Python code for correctness using symbolic execution.
pytest support for PyQt and PySide applications
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
Postgresql fixtures and fixture factories for Pytest.
unittest subTest() support and subtests fixture
A pytest plugin that allows multiple failures per test.
Detect backward incompatible migrations for your django project