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.
20 packages
Let your Python tests travel through time
A versatile test fixtures replacement based on thoughtbot's factory_bot for Ruby.
IPython-enabled pdb
Rolling backport of unittest.mock for all Pythons
A utility for mocking out the Python HTTPX and HTTP Core libraries.
pytest-sugar is a plugin for pytest that changes the default look and feel of pytest (e.g. progressbar, show tests that fail instantly).
Programmatic startup/shutdown of ASGI apps.
pytest plugin for repeating tests
unittest-based test runner with Ant/JUnit like XML reporting.
Test infrastructures
Doing dirty (but extremely useful) things with equals.
Manage dependencies of tests
Profiling plugin for py.test
pytest plugin to show failures instantly
pytest plugin for printing summary data as I want it
Library for mocking AsyncIOMotorClient built on top of mongomock.
Adds the ability to retry flaky tests in CI environments
Utilities for spying on function calls in unit tests.
Helper to test WSGI applications