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.
212 packages
The LLM Evaluation Framework
BDD for pytest
tox is a generic virtualenv management and test command line tool
Python-based chip (RTL) verification
Pytest plugin to randomly order tests and control random.seed.
Set environment variables for pytest sessions.
selects tests affected by changed files and methods
PyDeequ - Unit Tests for Data
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
Universal library for evaluating AI models
Run coverage and linting reports on diffs
Pytest Plugin to disable socket calls during tests
Gherkin parser (official, by Cucumber team)
Generate C/C++ code coverage reports with gcov
Framework for large language model evaluations
golden master/snapshot/approval testing library which puts the values right into your source code
Smart object creation facility for Django.
SeleniumBase is a framework for web crawling, scraping, and testing. Supports pytest. CDP Mode adds stealth. Includes many tools.
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
Python client for Appium
Analyze Python code for correctness using symbolic execution.
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
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.