Subcategories
Packages
A pytest plugin that integrates test execution with ReportPortal, sending test results, logs, and attachments to a ReportPortal server for centralized test reporting and analysis.
Install only if you have a ReportPortal instance running and want to centralize pytest results there; it adds no value as a standalone tool.
coola compares complex nested data structures containing tensors, arrays, DataFrames, and other scientific objects for exact or approximate equality, with detailed difference reporting.
Install it if you regularly compare complex objects.
Extends Python's unittest framework to compare XML documents structurally using XPath expressions and lxml, rather than comparing raw XML strings.
Fickling is a decompiler, static analyzer, and bytecode rewriter for Python pickle serializations that detects, analyzes, and can reverse-engineer or create malicious pickle and pickle-based files including PyTorch models.
Install it if you load pickle or PyTorch files from any untrusted source.
A pytest plugin that integrates Ansible into test functions, allowing you to call Ansible modules and iterate over inventory hosts directly from pytest tests.
However, no for new projects: the maintainers recommend using plain pytest with parametrize and subprocess helpers (documented in the package), or Molecule for…
A pytest plugin that identifies dependencies between tests by running them in multiple orders and using binary search to pinpoint which test causes another to fail.
A Python client that wraps boto3 to redirect AWS API calls to a local LocalStack instance for development and testing without hitting real AWS.
Provides matcher objects that compare equal to values meeting specified criteria, enabling flexible assertions in pytest-style unit tests without manual field-by-field comparison.
Install it if you write tests with pytest and encounter fields you can't assert exactly.
Runs pytest continuously, re-executing tests whenever project files change, with optional notifications and custom commands on pass or fail.
Identifies and maps the semantic and syntactic structure of files, including polyglots and embedded files, with a pure-Python libmagic implementation that can replace the `file` command and recursively extract embedded content.
However, the aging maintenance status (204 days since last release, minimal repository activity) and 14 runtime dependencies warrant caution for production use—verify…
Pabot splits Robot Framework test execution across multiple parallel processes to reduce total test runtime, supporting suite-level or test-level parallelization with optional resource locking and distribution.
Install it if you run Robot Framework tests that take significant time and want to parallelize them; skip it only if your test suite is already fast or you have no…
Collects test execution data from pytest and sends it to Buildkite Test Engine for analysis, supporting test filtering by tags and optional span tracing for performance insights.
Provides a Python wrapper around Jenkins' REST API, letting you programmatically manage jobs, builds, nodes, credentials, and artifacts on a Jenkins server.
Install it if you need to script Jenkins administration or integrate Jenkins into Python-based CI/CD workflows.
Provides a fluent assertion API for writing readable unit test assertions in Python, supporting method chaining for cleaner test code.
Adds Tab-key autocompletion and command expansion to the Python interactive console, building on readline functionality.
Install it if you spend time in the Python interactive console and want Tab-key autocompletion; the single dependency and recent release history make it a safe,…
pdbp is an enhanced Python debugger that replaces the standard pdb with colored output, tab completion, and sticky mode to show multiple lines of code during debugging.
A pytest plugin that automatically formats test output and uploads results to Microsoft Azure Pipelines, with optional code coverage integration and Docker support.
However, maintenance is dormant—last release was 2023-10-06—so if you encounter bugs or need features for recent pytest or Azure Pipelines changes, you may need to…
doit is a Python-based task automation and build tool that tracks file dependencies, caches results, and runs only tasks whose inputs have changed, eliminating redundant work in build pipelines and automation workflows.
Install it if you need efficient, Python-native task automation.
Gitlint is a command-line tool that validates Git commit messages against configurable style rules, catching formatting and content issues before they enter your repository.
Compares two images pixel-by-pixel to detect differences, with support for anti-aliased pixel detection and perceptual color metrics, returning a count of mismatched pixels and optionally generating a visual diff.
A pytest plugin that automatically runs only the tests related to unstaged files or commits on the current Git branch, eliminating the need to manually select which tests to run.
Install it if selective test running fits your workflow.
Taurus is a command-line wrapper that simplifies performance and functional testing by abstracting JMeter, Gatling, Locust.io, and Selenium WebDriver behind a YAML-based configuration interface.
Writes pytest test results to a JSON Lines file in real-time, replacing the deprecated --resultlog option with a simpler, extensible format.
nose2 is a test runner that extends Python's unittest framework with plugins and convenience tools for discovering and running tests.
However, if starting a new project, pytest is a stronger choice given its larger community and maintainer base—nose2 is best for incremental improvement of existing…
Provides a pytest fixture that runs test functions concurrently in multiple threads to detect race conditions in your code.
However, verify compatibility with your pytest and Python versions first, since the project is no longer maintained.
A pytest plugin that collects and reports multiple assertion failures within a single test, rather than stopping at the first failure.
LocalStack is a command-line tool that emulates AWS cloud services locally, allowing you to develop and test cloud applications on your laptop or in CI without hitting real AWS.
However, the abandoned maintenance status (archived repo, last commit 2026-03-23) is a significant concern: verify that the version you need is stable and that…
Provides a standardized assertion engine for Robot Framework libraries, enabling inline validation with operators like equality, comparison, regex matching, and custom Python expressions.
A pytest plugin that runs tests in parallel using multiprocessing and concurrently using multithreading, designed for test suites that are thread-safe and benefit from non-blocking I/O.
Provides a virtual display wrapper for running browser automation tests in headless environments, particularly when browser headless modes are insufficient (e.g., for Chrome extensions).
Generates realistic fake JSON data from JSON Schema definitions, using pluggable data providers like faker to populate fields with consistent, meaningful test data.
Sends test results and build status from Python test frameworks (unittest, pytest, nose, Django, Twisted, Behave, Flake8, PyLint) to JetBrains TeamCity CI servers via service messages.
Generates Markdown test reports from pytest test runs, summarizing pass/fail/skip/error outcomes in a formatted document.
Provides a reusable fixture contract for unit testing that manages setup, cleanup, and state composition without requiring test class hierarchies.
Install it if you write unit tests and want cleaner, more reusable test state management.
Launches a stealth Chromium browser that evades bot detection by modifying fingerprints at the C++ source level rather than through JavaScript injection or configuration hacks.
pytest-harvest captures and stores data generated during test execution, making it available for retrieval after the test session completes—useful for benchmarking, result aggregation, and post-test analysis.
A pytest plugin that persists test state across runs, enabling rerun of only failed tests or failures-first execution via --lf and --ff flags, and providing a config.cache object for plugins to share values between test invocations.
A pytest plugin that runs doctests in Python docstrings and documentation files (reStructuredText, Markdown, TeX) with advanced features like floating-point comparison and remote data handling.
Install it if you write documentation with code examples and want to ensure those examples stay correct.
pytest-mpl is a pytest plugin that automates visual regression testing for Matplotlib figures by comparing generated images against reference baselines using RMS tolerance or hash comparison.
Install it if visual consistency of plots is part of your test suite; skip it if you don't generate or test figures programmatically.
Provides testing utilities and fixtures for building and testing gRPC Python services, including mock servers and test helpers for gRPC communication.
Install it if you are building or testing gRPC services in Python.