Pytest-localserver is a plugin for the pytest testing framework which enables you to test server connections locally.
This package contains a plugin for the Pytest framework that provides advanced doctest support and enables the testing of reStructuredText files.
This plugin makes it simple to test general data, images, files, and numeric tables by saving expected data in a data directory (courtesy of pytest-datadir) that can be used to verify that future runs produce the same data.
This plugin allows you to set up and tear down fixtures within unit test functions that use py.test
. This is useful for using hypothesis
inside py.test, as hypothesis
will call the test function multiple times, without setting up or tearing down fixture state as is normally the case.
This plugin helps to use fixtures in pytest.mark.parametrize
.
This package provides a pytest plugin for writing tests for mypy plugins.
This package provides a pytest plugin to test that mypy produces a given output. As mypy can be told to display the type of an expression this allows you to check mypys type interference.
Python asyncio code is usually written in the form of coroutines, which makes it slightly more difficult to test using normal testing tools. pytest-asyncio
provides useful fixtures and markers to make testing async code easier.
pytest-random-order
is a Pytest plugin that randomizes the order of tests. This can be useful to detect a test that passes just because it happens to run after an unrelated test that leaves the system in a favourable state. The plugin allows user to control the level of randomness they want to introduce and to disable reordering on subsets of tests. Tests can be rerun in a specific order by passing a seed value reported in a previous test run.
This package provides a pytest plugin to re-run tests to eliminate flaky failures.
This package provides a pytest plugin to re-run tests to eliminate flaky failures.
This plugin helps to use fixtures in pytest.mark.parametrize
, inspied by pytest-lazy-fixture.
This package provides fixture configuration utilities for the py.test testing framework.
This package provides a Pytest plugin for customizing string representations of doctest results. It can change the display hook used by doctest to render the object representations.
This plugin package provides a way to include information about the system, Python installation, and select dependencies in the header of the output when running pytest. It can be used with packages that are not affiliated with the Astropy project, but is optimized for use with astropy-related projects.
This package provides a pytest plugin for testing console scripts.
This package contains a simple plugin for the pytest framework that provides a shortcut to testing all code and documentation for a given sub-package.
Pytest Helpers Namespace Plugin provides a helpers pytest namespace which can be used to register helper functions without requiring someone to import them in their actual tests to use them.