37 Repos
Extensions and utilities to enhance the testing workflow.
Explore 37 awesome GitHub repositories matching part of an awesome list · Testing Plugins. Refine with filters or upvote what's useful.
################################## Testinfra test your infrastructure ##################################
Validating infrastructure state against configuration management tools.
pytest-xdist
Parallelizing test execution across multiple CPUs.
This is a pytest plug-in which automatically selects and re-executes only tests affected by recent changes. How is this possible in dynamic language like Python and how reliable is it? Read here: Determining affected tests
Running only tests affected by specific file changes.
Syrupy is a zero-dependency pytest snapshot plugin. It enables developers to write tests which assert immutability of computed results.
Snapshot testing for asserting immutable computed results.
pyfakefs implements a fake file system that mocks the Python file system modules. Using pyfakefs, your tests operate on a fake file system in memory without touching the real disk. The software under test requires no modification to work with pyfakefs.
Mocking the file system for isolated testing.
pytest-randomly
Randomizing test order to detect hidden dependencies.
OS | Build | Coverage | ------ |------------------------------------------------------------------------------------------------------------------------------------------------------------------| -------- |
Profiling test performance with tabular and graphical output.
pytest-clarity
Improving the readability of test output and failures.
A pytest plugin that allows multiple failures per test.
Enabling multiple assertions per test without immediate failure.
pytest-memray is a pytest plugin for easy integration of memray.
Integrating memory profiling directly into test execution.
A plugin to use with Pytest to disable or restrict socket calls during tests to ensure network calls are prevented.
Blocking network socket calls during test execution.
pytest plugin for manipulating test data directories and files.
Managing and accessing test-specific data files.
pytest-watcher is a tool to automatically rerun tests (using pytest by default) whenever your code changes.
Automatically triggering tests on file system modifications.
pytest-repeat
Repeating tests to identify flaky behavior.
.. image:: docs/sources/static/pytestmonitorreadme.png :width: 160 :align: center :alt: Pytest-Monitor
Monitoring and analyzing resource usage during test runs.
Test code blocks in your READMEs.
Validating code snippets embedded within documentation.
pytest-reportlog
Logging test session details to external files.
This python package offers a small dashboard that helps you investigate long running pytest runs. It's built on top of the report that is generated by pytest-reportlog.
Visualizing slow tests via an interactive dashboard.
pytest-accept is a pytest plugin for automatically updating outputs. It runs along with pytest, observes the generated outputs, and writes them to the test's documented outputs.
Automating the update of doctest output expectations.
pytest-mimesis is a pytest plugin that provides pytest fixtures for Mimesis providers. This allows you to quickly and easily use randomized, dummy data as part of your test suite.
Generating synthetic data for test scenarios.