Pytest is a testing tool that provides auto-discovery of test modules and functions, detailed info on failing assert statements, modular fixtures, and many external plugins.
Pytest is a testing tool that provides auto-discovery of test modules and functions, detailed info on failing assert statements, modular fixtures, and many external plugins.
Pytest is a testing tool that provides auto-discovery of test modules and functions, detailed info on failing assert statements, modular fixtures, and many external plugins.
pytest-qt
is a Pytest plugin that allows programmers to write tests for PyQt5 and PySide2 applications.
The main usage is to use the qtbot
fixture, responsible for handling qApp
creation as needed and provides methods to simulate user interaction, like key presses and mouse clicks.
BDD for pytest
Plugin for managing VCR.py cassettes.
This is a plugin to facilitate image comparison for Matplotlib figures in Pytest.
This is a py.test
plugin that enables you to set environment variables in the pytest.ini
file.
Pytest-cov produces coverage reports. It supports centralised testing and distributed testing in both load
and each
modes. It also supports coverage of subprocesses.
This package provides a plugin for Pytest that enables a CSV output mode for Pytest. It can be enabled via the --csv
option it adds to the Pytest command line interface (CLI).
Pytest plugin for checking PEP8 compliance.
This packages provides a pytest plugin for generating HTML reports.
This package provides a Pytest plugin to run Xvfb for tests.
This is a pytest plugin to help you test projects that use Trio, a friendly library for concurrency and async I/O in Python.
pytest-mypi
is a static type checker plugin for Pytest that runs the mypy static type checker on your source files as part of a Pytest test execution.
Cram tests command line applications; Pytest tests Python applications. pytest-cram
tests Python command line applications by letting you write your Python API tests with pytest, and your command line tests in cram.
python-pytest-pudb
provides PuDB debugger integration based on pytest PDB integration. For example, the software developer can call pudb by running py.test --pudb
from the command line or by including pudb.set_trace
in their test file(s).
This plugin installs a mocker
fixture which is a thin-wrapper around the patching API provided by the mock
package, but with the benefit of not having to worry about undoing patches at the end of a test. The mocker fixture has the same API as mock.patch
, supporting the same arguments.
pytest-perf
makes it easy to compare works by creating two installs, the control and the experiment, and measuring the performance of some Python code against each. Under the hood, it uses the pip-run
command to install from the upstream main branch (e.g. https://github.com/jaraco/pytest-perf) for the control and from .
for the experiment. It then runs each of the experiments against each of the environments.
This pytest plugin provides fixtures to simplify Flask app testing.
This package provides a pytest plugin that allows multiple failures per test.
This package provides a plugin to test Python click interfaces with pytest.
This package provides a pytest plugin to check import ordering using isort.
This package provides a pytest plugin for generating NUnit3 test result XML output