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.
261 packages
pytest-print adds the printer fixture you can use to print messages to the user (directly to the pytest runner, not stdout)
A Python test framework, written in Rust.
A universal metric for Generative Large Language Models (GLLMs)
Typed, test-first SQL pipelines with local E2E testing
A library that allows you to easily mock out tests based on AWS infrastructure
OpenID Connect provider server for testing authentication
A framework for evaluating and optimizing agents and models using sandboxed environments.
Fast-first mutation testing for pytest. Let the gremlins loose, see which ones survive.
MySQL process and client fixtures for pytest
stcrestclient: Client modules for STC ReST API
Detect test environment - pytest, doctest, unittest, or regular execution
Core Python benchmark code for ASV
Seamless integration of tox into GitHub Actions.
Compare SQL schemas
A pytest plugin that selectively runs tests impacted by code changes via git introspection, AST parsing, and dependency graph analysis.
Open-source evaluators for LLM applications
Agent-as-judge grading framework for evaluating AI agent outputs against rubric criteria
RabbitMQ process and client fixtures for pytest
Common Workflow Language testing framework
Moto-style AWS service mocks for aiobotocore
A tool for text-based Approval Testing
Run commands against code blocks in reStructuredText and Markdown files.
Redis Modules Test Framework, allow to run tests on redis and modules on a variety of environments
aiohttp mock library that routes requests through a real test server
Conformance corpora and reference verifiers for agent evidence records
The official Amplitude Experiment Python SDK for server-side instrumentation.
Level-up your Hypothesis tests with CrossHair.
Library to check equality between two complex/nested objects
Perception evaluation in pure Rust — pycocotools-compatible detection metrics up to 133× faster, plus panoptic, semantic segmentation, and tracking metrics