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.
359 packages
A plugin for flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle.
Implements a fake file system that mocks the Python file system modules.
Adaptive API testing for OpenAPI, GraphQL, and gRPC
Pytest Plugin to disable socket calls during tests
Run coverage and linting reports on diffs
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.
A library to choose unique available network ports.
pytest support for PyQt and PySide applications
Integration of uv with tox (meta package with bundled uv).
browser abstraction for web acceptance testing
Pytest plugin for aiohttp support
Typed library that provides an ORM wrapper for tmux, a terminal multiplexer.
Manage dependencies of tests
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.