diff --git a/doc/en/contents.rst b/doc/en/contents.rst index 16c8f273b..e1854d800 100644 --- a/doc/en/contents.rst +++ b/doc/en/contents.rst @@ -24,18 +24,30 @@ How-to guides :maxdepth: 2 how-to/usage - how-to/existingtestsuite how-to/assert - how-to/mark - how-to/monkeypatch - how-to/tmpdir - how-to/capture - how-to/skipping - how-to/parametrize - how-to/plugins - how-to/nose - how-to/bash-completion how-to/fixtures + how-to/mark + how-to/parametrize + how-to/tmpdir + how-to/monkeypatch + how-to/doctest + how-to/cache + + how-to/logging + how-to/capture-stdout-stderr + how-to/capture-warnings + how-to/skipping + + how-to/plugins + how-to/writing_plugins + how-to/writing_hook_functions + + how-to/existingtestsuite + how-to/unittest + how-to/nose + how-to/xunit_setup + + how-to/bash-completion Reference guides @@ -45,14 +57,7 @@ Reference guides :maxdepth: 2 reference/fixtures - reference/warnings - reference/doctest - reference/cache - reference/unittest - reference/xunit_setup reference/plugin_list - reference/writing_plugins - reference/logging reference/customize reference/reference diff --git a/doc/en/explanation/fixtures.rst b/doc/en/explanation/fixtures.rst index 7d53ba089..92b5e7978 100644 --- a/doc/en/explanation/fixtures.rst +++ b/doc/en/explanation/fixtures.rst @@ -6,6 +6,7 @@ About fixtures .. seealso:: :ref:`how-to-fixtures` .. seealso:: :ref:`Fixtures reference ` +pytest fixtures are designed to be explicit, modular and scalable. What fixtures are ----------------- diff --git a/doc/en/how-to/assert.rst b/doc/en/how-to/assert.rst index 34b765b3b..9269743db 100644 --- a/doc/en/how-to/assert.rst +++ b/doc/en/how-to/assert.rst @@ -1,16 +1,14 @@ +.. _`assert`: How to write and report assertions in tests ================================================== -.. _`assertfeedback`: .. _`assert with the assert statement`: -.. _`assert`: - Asserting with the ``assert`` statement --------------------------------------------------------- -``pytest`` allows you to use the standard python ``assert`` for verifying +``pytest`` allows you to use the standard Python ``assert`` for verifying expectations and values in Python tests. For example, you can write the following: diff --git a/doc/en/reference/cache.rst b/doc/en/how-to/cache.rst similarity index 99% rename from doc/en/reference/cache.rst rename to doc/en/how-to/cache.rst index 42ca47354..ae865fe28 100644 --- a/doc/en/reference/cache.rst +++ b/doc/en/how-to/cache.rst @@ -2,8 +2,8 @@ .. _cache: -Cache: working with cross-testrun state -======================================= +How to re-run failed tests and maintain state between test runs +=============================================================== diff --git a/doc/en/how-to/capture.rst b/doc/en/how-to/capture-stdout-stderr.rst similarity index 100% rename from doc/en/how-to/capture.rst rename to doc/en/how-to/capture-stdout-stderr.rst diff --git a/doc/en/reference/warnings.rst b/doc/en/how-to/capture-warnings.rst similarity index 99% rename from doc/en/reference/warnings.rst rename to doc/en/how-to/capture-warnings.rst index 5bbbcacbe..1bafaeeb9 100644 --- a/doc/en/reference/warnings.rst +++ b/doc/en/how-to/capture-warnings.rst @@ -1,7 +1,7 @@ .. _`warnings`: -Warnings Capture -================ +How to capture warnings +======================= diff --git a/doc/en/reference/doctest.rst b/doc/en/how-to/doctest.rst similarity index 99% rename from doc/en/reference/doctest.rst rename to doc/en/how-to/doctest.rst index e12f02b62..559d7c35c 100644 --- a/doc/en/reference/doctest.rst +++ b/doc/en/how-to/doctest.rst @@ -1,6 +1,6 @@ .. _doctest: -Doctest integration for modules and test files +How to run doctests ========================================================= By default, all files matching the ``test*.txt`` pattern will diff --git a/doc/en/how-to/index.rst b/doc/en/how-to/index.rst index c206a3057..35b112994 100644 --- a/doc/en/how-to/index.rst +++ b/doc/en/how-to/index.rst @@ -3,19 +3,58 @@ How-to guides ================ +Core pytest functionality +------------------------- + .. toctree:: :maxdepth: 1 usage - existingtestsuite assert - mark - monkeypatch - tmpdir - capture - skipping - parametrize - plugins - nose - bash-completion fixtures + mark + parametrize + tmpdir + monkeypatch + doctest + cache + +test output and outcomes +---------------------------- + +.. toctree:: + :maxdepth: 1 + + logging + capture-stdout-stderr + capture-warnings + skipping + +Plugins +---------------------------- + +.. toctree:: + :maxdepth: 1 + + plugins + writing_plugins + writing_hook_functions + +pytest and other test systems +----------------------------- + +.. toctree:: + :maxdepth: 1 + + existingtestsuite + unittest + nose + xunit_setup + +pytest development environment +------------------------------ + +.. toctree:: + :maxdepth: 1 + + bash-completion diff --git a/doc/en/reference/logging.rst b/doc/en/how-to/logging.rst similarity index 99% rename from doc/en/reference/logging.rst rename to doc/en/how-to/logging.rst index 52713854e..317d6134e 100644 --- a/doc/en/reference/logging.rst +++ b/doc/en/how-to/logging.rst @@ -1,10 +1,7 @@ .. _logging: -Logging -------- - - - +How to manage logging +--------------------- pytest captures log messages of level ``WARNING`` or above automatically and displays them in their own section for each failed test in the same manner as captured stdout and stderr. diff --git a/doc/en/reference/unittest.rst b/doc/en/how-to/unittest.rst similarity index 99% rename from doc/en/reference/unittest.rst rename to doc/en/how-to/unittest.rst index 92c1bbfa2..2e5763f83 100644 --- a/doc/en/reference/unittest.rst +++ b/doc/en/how-to/unittest.rst @@ -2,8 +2,8 @@ .. _`unittest.TestCase`: .. _`unittest`: -unittest.TestCase Support -========================= +How to use ``unittest``-based tests with pytest +=============================================== ``pytest`` supports running Python ``unittest``-based tests out of the box. It's meant for leveraging existing ``unittest``-based test suites diff --git a/doc/en/how-to/writing_hook_functions.rst b/doc/en/how-to/writing_hook_functions.rst new file mode 100644 index 000000000..de2ff3bdc --- /dev/null +++ b/doc/en/how-to/writing_hook_functions.rst @@ -0,0 +1,313 @@ +.. _`writinghooks`: + +Writing hook functions +====================== + + +.. _validation: + +hook function validation and execution +-------------------------------------- + +pytest calls hook functions from registered plugins for any +given hook specification. Let's look at a typical hook function +for the ``pytest_collection_modifyitems(session, config, +items)`` hook which pytest calls after collection of all test items is +completed. + +When we implement a ``pytest_collection_modifyitems`` function in our plugin +pytest will during registration verify that you use argument +names which match the specification and bail out if not. + +Let's look at a possible implementation: + +.. code-block:: python + + def pytest_collection_modifyitems(config, items): + # called after collection is completed + # you can modify the ``items`` list + ... + +Here, ``pytest`` will pass in ``config`` (the pytest config object) +and ``items`` (the list of collected test items) but will not pass +in the ``session`` argument because we didn't list it in the function +signature. This dynamic "pruning" of arguments allows ``pytest`` to +be "future-compatible": we can introduce new hook named parameters without +breaking the signatures of existing hook implementations. It is one of +the reasons for the general long-lived compatibility of pytest plugins. + +Note that hook functions other than ``pytest_runtest_*`` are not +allowed to raise exceptions. Doing so will break the pytest run. + + + +.. _firstresult: + +firstresult: stop at first non-None result +------------------------------------------- + +Most calls to ``pytest`` hooks result in a **list of results** which contains +all non-None results of the called hook functions. + +Some hook specifications use the ``firstresult=True`` option so that the hook +call only executes until the first of N registered functions returns a +non-None result which is then taken as result of the overall hook call. +The remaining hook functions will not be called in this case. + +.. _`hookwrapper`: + +hookwrapper: executing around other hooks +------------------------------------------------- + +.. currentmodule:: _pytest.core + + + +pytest plugins can implement hook wrappers which wrap the execution +of other hook implementations. A hook wrapper is a generator function +which yields exactly once. When pytest invokes hooks it first executes +hook wrappers and passes the same arguments as to the regular hooks. + +At the yield point of the hook wrapper pytest will execute the next hook +implementations and return their result to the yield point in the form of +a :py:class:`Result ` instance which encapsulates a result or +exception info. The yield point itself will thus typically not raise +exceptions (unless there are bugs). + +Here is an example definition of a hook wrapper: + +.. code-block:: python + + import pytest + + + @pytest.hookimpl(hookwrapper=True) + def pytest_pyfunc_call(pyfuncitem): + do_something_before_next_hook_executes() + + outcome = yield + # outcome.excinfo may be None or a (cls, val, tb) tuple + + res = outcome.get_result() # will raise if outcome was exception + + post_process_result(res) + + outcome.force_result(new_res) # to override the return value to the plugin system + +Note that hook wrappers don't return results themselves, they merely +perform tracing or other side effects around the actual hook implementations. +If the result of the underlying hook is a mutable object, they may modify +that result but it's probably better to avoid it. + +For more information, consult the +:ref:`pluggy documentation about hookwrappers `. + +.. _plugin-hookorder: + +Hook function ordering / call example +------------------------------------- + +For any given hook specification there may be more than one +implementation and we thus generally view ``hook`` execution as a +``1:N`` function call where ``N`` is the number of registered functions. +There are ways to influence if a hook implementation comes before or +after others, i.e. the position in the ``N``-sized list of functions: + +.. code-block:: python + + # Plugin 1 + @pytest.hookimpl(tryfirst=True) + def pytest_collection_modifyitems(items): + # will execute as early as possible + ... + + + # Plugin 2 + @pytest.hookimpl(trylast=True) + def pytest_collection_modifyitems(items): + # will execute as late as possible + ... + + + # Plugin 3 + @pytest.hookimpl(hookwrapper=True) + def pytest_collection_modifyitems(items): + # will execute even before the tryfirst one above! + outcome = yield + # will execute after all non-hookwrappers executed + +Here is the order of execution: + +1. Plugin3's pytest_collection_modifyitems called until the yield point + because it is a hook wrapper. + +2. Plugin1's pytest_collection_modifyitems is called because it is marked + with ``tryfirst=True``. + +3. Plugin2's pytest_collection_modifyitems is called because it is marked + with ``trylast=True`` (but even without this mark it would come after + Plugin1). + +4. Plugin3's pytest_collection_modifyitems then executing the code after the yield + point. The yield receives a :py:class:`Result ` instance which encapsulates + the result from calling the non-wrappers. Wrappers shall not modify the result. + +It's possible to use ``tryfirst`` and ``trylast`` also in conjunction with +``hookwrapper=True`` in which case it will influence the ordering of hookwrappers +among each other. + + +Declaring new hooks +------------------------ + +.. note:: + + This is a quick overview on how to add new hooks and how they work in general, but a more complete + overview can be found in `the pluggy documentation `__. + +.. currentmodule:: _pytest.hookspec + +Plugins and ``conftest.py`` files may declare new hooks that can then be +implemented by other plugins in order to alter behaviour or interact with +the new plugin: + +.. autofunction:: pytest_addhooks + :noindex: + +Hooks are usually declared as do-nothing functions that contain only +documentation describing when the hook will be called and what return values +are expected. The names of the functions must start with `pytest_` otherwise pytest won't recognize them. + +Here's an example. Let's assume this code is in the ``sample_hook.py`` module. + +.. code-block:: python + + def pytest_my_hook(config): + """ + Receives the pytest config and does things with it + """ + +To register the hooks with pytest they need to be structured in their own module or class. This +class or module can then be passed to the ``pluginmanager`` using the ``pytest_addhooks`` function +(which itself is a hook exposed by pytest). + +.. code-block:: python + + def pytest_addhooks(pluginmanager): + """ This example assumes the hooks are grouped in the 'sample_hook' module. """ + from my_app.tests import sample_hook + + pluginmanager.add_hookspecs(sample_hook) + +For a real world example, see `newhooks.py`_ from `xdist `_. + +.. _`newhooks.py`: https://github.com/pytest-dev/pytest-xdist/blob/974bd566c599dc6a9ea291838c6f226197208b46/xdist/newhooks.py + +Hooks may be called both from fixtures or from other hooks. In both cases, hooks are called +through the ``hook`` object, available in the ``config`` object. Most hooks receive a +``config`` object directly, while fixtures may use the ``pytestconfig`` fixture which provides the same object. + +.. code-block:: python + + @pytest.fixture() + def my_fixture(pytestconfig): + # call the hook called "pytest_my_hook" + # 'result' will be a list of return values from all registered functions. + result = pytestconfig.hook.pytest_my_hook(config=pytestconfig) + +.. note:: + Hooks receive parameters using only keyword arguments. + +Now your hook is ready to be used. To register a function at the hook, other plugins or users must +now simply define the function ``pytest_my_hook`` with the correct signature in their ``conftest.py``. + +Example: + +.. code-block:: python + + def pytest_my_hook(config): + """ + Print all active hooks to the screen. + """ + print(config.hook) + + +.. _`addoptionhooks`: + + +Using hooks in pytest_addoption +------------------------------- + +Occasionally, it is necessary to change the way in which command line options +are defined by one plugin based on hooks in another plugin. For example, +a plugin may expose a command line option for which another plugin needs +to define the default value. The pluginmanager can be used to install and +use hooks to accomplish this. The plugin would define and add the hooks +and use pytest_addoption as follows: + +.. code-block:: python + + # contents of hooks.py + + # Use firstresult=True because we only want one plugin to define this + # default value + @hookspec(firstresult=True) + def pytest_config_file_default_value(): + """ Return the default value for the config file command line option. """ + + + # contents of myplugin.py + + + def pytest_addhooks(pluginmanager): + """ This example assumes the hooks are grouped in the 'hooks' module. """ + from . import hook + + pluginmanager.add_hookspecs(hook) + + + def pytest_addoption(parser, pluginmanager): + default_value = pluginmanager.hook.pytest_config_file_default_value() + parser.addoption( + "--config-file", + help="Config file to use, defaults to %(default)s", + default=default_value, + ) + +The conftest.py that is using myplugin would simply define the hook as follows: + +.. code-block:: python + + def pytest_config_file_default_value(): + return "config.yaml" + + +Optionally using hooks from 3rd party plugins +--------------------------------------------- + +Using new hooks from plugins as explained above might be a little tricky +because of the standard :ref:`validation mechanism `: +if you depend on a plugin that is not installed, validation will fail and +the error message will not make much sense to your users. + +One approach is to defer the hook implementation to a new plugin instead of +declaring the hook functions directly in your plugin module, for example: + +.. code-block:: python + + # contents of myplugin.py + + + class DeferPlugin: + """Simple plugin to defer pytest-xdist hook functions.""" + + def pytest_testnodedown(self, node, error): + """standard xdist hook function.""" + + + def pytest_configure(config): + if config.pluginmanager.hasplugin("xdist"): + config.pluginmanager.register(DeferPlugin()) + +This has the added benefit of allowing you to conditionally install hooks +depending on which plugins are installed. diff --git a/doc/en/reference/writing_plugins.rst b/doc/en/how-to/writing_plugins.rst similarity index 59% rename from doc/en/reference/writing_plugins.rst rename to doc/en/how-to/writing_plugins.rst index b4d9f49ff..8ec935cc2 100644 --- a/doc/en/reference/writing_plugins.rst +++ b/doc/en/how-to/writing_plugins.rst @@ -454,320 +454,3 @@ Additionally it is possible to copy examples for an example folder before runnin For more information about the result object that ``runpytest()`` returns, and the methods that it provides please check out the :py:class:`RunResult <_pytest.pytester.RunResult>` documentation. - - - - -.. _`writinghooks`: - -Writing hook functions -====================== - - -.. _validation: - -hook function validation and execution --------------------------------------- - -pytest calls hook functions from registered plugins for any -given hook specification. Let's look at a typical hook function -for the ``pytest_collection_modifyitems(session, config, -items)`` hook which pytest calls after collection of all test items is -completed. - -When we implement a ``pytest_collection_modifyitems`` function in our plugin -pytest will during registration verify that you use argument -names which match the specification and bail out if not. - -Let's look at a possible implementation: - -.. code-block:: python - - def pytest_collection_modifyitems(config, items): - # called after collection is completed - # you can modify the ``items`` list - ... - -Here, ``pytest`` will pass in ``config`` (the pytest config object) -and ``items`` (the list of collected test items) but will not pass -in the ``session`` argument because we didn't list it in the function -signature. This dynamic "pruning" of arguments allows ``pytest`` to -be "future-compatible": we can introduce new hook named parameters without -breaking the signatures of existing hook implementations. It is one of -the reasons for the general long-lived compatibility of pytest plugins. - -Note that hook functions other than ``pytest_runtest_*`` are not -allowed to raise exceptions. Doing so will break the pytest run. - - - -.. _firstresult: - -firstresult: stop at first non-None result -------------------------------------------- - -Most calls to ``pytest`` hooks result in a **list of results** which contains -all non-None results of the called hook functions. - -Some hook specifications use the ``firstresult=True`` option so that the hook -call only executes until the first of N registered functions returns a -non-None result which is then taken as result of the overall hook call. -The remaining hook functions will not be called in this case. - -.. _`hookwrapper`: - -hookwrapper: executing around other hooks -------------------------------------------------- - -.. currentmodule:: _pytest.core - - - -pytest plugins can implement hook wrappers which wrap the execution -of other hook implementations. A hook wrapper is a generator function -which yields exactly once. When pytest invokes hooks it first executes -hook wrappers and passes the same arguments as to the regular hooks. - -At the yield point of the hook wrapper pytest will execute the next hook -implementations and return their result to the yield point in the form of -a :py:class:`Result ` instance which encapsulates a result or -exception info. The yield point itself will thus typically not raise -exceptions (unless there are bugs). - -Here is an example definition of a hook wrapper: - -.. code-block:: python - - import pytest - - - @pytest.hookimpl(hookwrapper=True) - def pytest_pyfunc_call(pyfuncitem): - do_something_before_next_hook_executes() - - outcome = yield - # outcome.excinfo may be None or a (cls, val, tb) tuple - - res = outcome.get_result() # will raise if outcome was exception - - post_process_result(res) - - outcome.force_result(new_res) # to override the return value to the plugin system - -Note that hook wrappers don't return results themselves, they merely -perform tracing or other side effects around the actual hook implementations. -If the result of the underlying hook is a mutable object, they may modify -that result but it's probably better to avoid it. - -For more information, consult the -:ref:`pluggy documentation about hookwrappers `. - -.. _plugin-hookorder: - -Hook function ordering / call example -------------------------------------- - -For any given hook specification there may be more than one -implementation and we thus generally view ``hook`` execution as a -``1:N`` function call where ``N`` is the number of registered functions. -There are ways to influence if a hook implementation comes before or -after others, i.e. the position in the ``N``-sized list of functions: - -.. code-block:: python - - # Plugin 1 - @pytest.hookimpl(tryfirst=True) - def pytest_collection_modifyitems(items): - # will execute as early as possible - ... - - - # Plugin 2 - @pytest.hookimpl(trylast=True) - def pytest_collection_modifyitems(items): - # will execute as late as possible - ... - - - # Plugin 3 - @pytest.hookimpl(hookwrapper=True) - def pytest_collection_modifyitems(items): - # will execute even before the tryfirst one above! - outcome = yield - # will execute after all non-hookwrappers executed - -Here is the order of execution: - -1. Plugin3's pytest_collection_modifyitems called until the yield point - because it is a hook wrapper. - -2. Plugin1's pytest_collection_modifyitems is called because it is marked - with ``tryfirst=True``. - -3. Plugin2's pytest_collection_modifyitems is called because it is marked - with ``trylast=True`` (but even without this mark it would come after - Plugin1). - -4. Plugin3's pytest_collection_modifyitems then executing the code after the yield - point. The yield receives a :py:class:`Result ` instance which encapsulates - the result from calling the non-wrappers. Wrappers shall not modify the result. - -It's possible to use ``tryfirst`` and ``trylast`` also in conjunction with -``hookwrapper=True`` in which case it will influence the ordering of hookwrappers -among each other. - - -Declaring new hooks ------------------------- - -.. note:: - - This is a quick overview on how to add new hooks and how they work in general, but a more complete - overview can be found in `the pluggy documentation `__. - -.. currentmodule:: _pytest.hookspec - -Plugins and ``conftest.py`` files may declare new hooks that can then be -implemented by other plugins in order to alter behaviour or interact with -the new plugin: - -.. autofunction:: pytest_addhooks - :noindex: - -Hooks are usually declared as do-nothing functions that contain only -documentation describing when the hook will be called and what return values -are expected. The names of the functions must start with `pytest_` otherwise pytest won't recognize them. - -Here's an example. Let's assume this code is in the ``sample_hook.py`` module. - -.. code-block:: python - - def pytest_my_hook(config): - """ - Receives the pytest config and does things with it - """ - -To register the hooks with pytest they need to be structured in their own module or class. This -class or module can then be passed to the ``pluginmanager`` using the ``pytest_addhooks`` function -(which itself is a hook exposed by pytest). - -.. code-block:: python - - def pytest_addhooks(pluginmanager): - """ This example assumes the hooks are grouped in the 'sample_hook' module. """ - from my_app.tests import sample_hook - - pluginmanager.add_hookspecs(sample_hook) - -For a real world example, see `newhooks.py`_ from `xdist `_. - -.. _`newhooks.py`: https://github.com/pytest-dev/pytest-xdist/blob/974bd566c599dc6a9ea291838c6f226197208b46/xdist/newhooks.py - -Hooks may be called both from fixtures or from other hooks. In both cases, hooks are called -through the ``hook`` object, available in the ``config`` object. Most hooks receive a -``config`` object directly, while fixtures may use the ``pytestconfig`` fixture which provides the same object. - -.. code-block:: python - - @pytest.fixture() - def my_fixture(pytestconfig): - # call the hook called "pytest_my_hook" - # 'result' will be a list of return values from all registered functions. - result = pytestconfig.hook.pytest_my_hook(config=pytestconfig) - -.. note:: - Hooks receive parameters using only keyword arguments. - -Now your hook is ready to be used. To register a function at the hook, other plugins or users must -now simply define the function ``pytest_my_hook`` with the correct signature in their ``conftest.py``. - -Example: - -.. code-block:: python - - def pytest_my_hook(config): - """ - Print all active hooks to the screen. - """ - print(config.hook) - - -.. _`addoptionhooks`: - - -Using hooks in pytest_addoption -------------------------------- - -Occasionally, it is necessary to change the way in which command line options -are defined by one plugin based on hooks in another plugin. For example, -a plugin may expose a command line option for which another plugin needs -to define the default value. The pluginmanager can be used to install and -use hooks to accomplish this. The plugin would define and add the hooks -and use pytest_addoption as follows: - -.. code-block:: python - - # contents of hooks.py - - # Use firstresult=True because we only want one plugin to define this - # default value - @hookspec(firstresult=True) - def pytest_config_file_default_value(): - """ Return the default value for the config file command line option. """ - - - # contents of myplugin.py - - - def pytest_addhooks(pluginmanager): - """ This example assumes the hooks are grouped in the 'hooks' module. """ - from . import hook - - pluginmanager.add_hookspecs(hook) - - - def pytest_addoption(parser, pluginmanager): - default_value = pluginmanager.hook.pytest_config_file_default_value() - parser.addoption( - "--config-file", - help="Config file to use, defaults to %(default)s", - default=default_value, - ) - -The conftest.py that is using myplugin would simply define the hook as follows: - -.. code-block:: python - - def pytest_config_file_default_value(): - return "config.yaml" - - -Optionally using hooks from 3rd party plugins ---------------------------------------------- - -Using new hooks from plugins as explained above might be a little tricky -because of the standard :ref:`validation mechanism `: -if you depend on a plugin that is not installed, validation will fail and -the error message will not make much sense to your users. - -One approach is to defer the hook implementation to a new plugin instead of -declaring the hook functions directly in your plugin module, for example: - -.. code-block:: python - - # contents of myplugin.py - - - class DeferPlugin: - """Simple plugin to defer pytest-xdist hook functions.""" - - def pytest_testnodedown(self, node, error): - """standard xdist hook function.""" - - - def pytest_configure(config): - if config.pluginmanager.hasplugin("xdist"): - config.pluginmanager.register(DeferPlugin()) - -This has the added benefit of allowing you to conditionally install hooks -depending on which plugins are installed. diff --git a/doc/en/reference/xunit_setup.rst b/doc/en/how-to/xunit_setup.rst similarity index 99% rename from doc/en/reference/xunit_setup.rst rename to doc/en/how-to/xunit_setup.rst index 4fea863be..2269c06e0 100644 --- a/doc/en/reference/xunit_setup.rst +++ b/doc/en/how-to/xunit_setup.rst @@ -2,7 +2,7 @@ .. _`classic xunit`: .. _xunitsetup: -classic xunit-style setup +How to implement xunit-style set-up ======================================== This section describes a classic and popular way how you can implement diff --git a/doc/en/plugin_list.rst b/doc/en/plugin_list.rst deleted file mode 100644 index ca3e8cc73..000000000 --- a/doc/en/plugin_list.rst +++ /dev/null @@ -1,851 +0,0 @@ -Plugins List -============ - -PyPI projects that match "pytest-\*" are considered plugins and are listed -automatically. Packages classified as inactive are excluded. -This list contains 840 plugins. - -============================================================================================================== ======================================================================================================================================================================== ============== ===================== ============================================ -name summary last release status requires -============================================================================================================== ======================================================================================================================================================================== ============== ===================== ============================================ -`pytest-adaptavist `_ pytest plugin for generating test execution results within Jira Test Management (tm4j) Feb 05, 2020 N/A pytest (>=3.4.1) -`pytest-adf `_ Pytest plugin for writing Azure Data Factory integration tests Mar 10, 2021 4 - Beta pytest (>=3.5.0) -`pytest-adf-azure-identity `_ Pytest plugin for writing Azure Data Factory integration tests Mar 06, 2021 4 - Beta pytest (>=3.5.0) -`pytest-aggreport `_ pytest plugin for pytest-repeat that generate aggregate report of the same test cases with additional statistics details. Mar 07, 2021 4 - Beta pytest (>=6.2.2) -`pytest-aio `_ Pytest plugin for testing async python code Mar 02, 2021 4 - Beta pytest ; extra == 'tests' -`pytest-aiofiles `_ pytest fixtures for writing aiofiles tests with pyfakefs May 14, 2017 5 - Production/Stable N/A -`pytest-aiohttp `_ pytest plugin for aiohttp support Dec 05, 2017 N/A pytest -`pytest-aiohttp-client `_ Pytest `client` fixture for the Aiohttp Nov 01, 2020 N/A pytest (>=6) -`pytest-aioresponses `_ py.test integration for aioresponses Dec 21, 2020 4 - Beta pytest (>=3.5.0) -`pytest-aioworkers `_ A plugin to test aioworkers project with pytest Dec 04, 2019 4 - Beta pytest (>=3.5.0) -`pytest-airflow `_ pytest support for airflow. Apr 03, 2019 3 - Alpha pytest (>=4.4.0) -`pytest-alembic `_ A pytest plugin for verifying alembic migrations. Jul 13, 2020 N/A pytest (>=1.0) -`pytest-allclose `_ Pytest fixture extending Numpy's allclose function Jul 30, 2019 5 - Production/Stable pytest -`pytest-allure-adaptor `_ Plugin for py.test to generate allure xml reports Jan 10, 2018 N/A pytest (>=2.7.3) -`pytest-allure-adaptor2 `_ Plugin for py.test to generate allure xml reports Oct 14, 2020 N/A pytest (>=2.7.3) -`pytest-allure-dsl `_ pytest plugin to test case doc string dls instructions Oct 25, 2020 4 - Beta pytest -`pytest-alphamoon `_ Static code checks used at Alphamoon Nov 20, 2020 4 - Beta pytest (>=3.5.0) -`pytest-android `_ This fixture provides a configured "driver" for Android Automated Testing, using uiautomator2. Feb 21, 2019 3 - Alpha pytest -`pytest-annotate `_ pytest-annotate: Generate PyAnnotate annotations from your pytest tests. Aug 23, 2019 3 - Alpha pytest (<6.0.0,>=3.2.0) -`pytest-ansible `_ Plugin for py.test to simplify calling ansible modules from tests or fixtures Oct 26, 2020 5 - Production/Stable pytest -`pytest-ansible-playbook `_ Pytest fixture which runs given ansible playbook file. Mar 08, 2019 4 - Beta N/A -`pytest-ansible-playbook-runner `_ Pytest fixture which runs given ansible playbook file. Dec 02, 2020 4 - Beta pytest (>=3.1.0) -`pytest-antilru `_ Bust functools.lru_cache when running pytest to avoid test pollution Apr 11, 2019 5 - Production/Stable pytest -`pytest-anything `_ Pytest fixtures to assert anything and something Feb 18, 2021 N/A N/A -`pytest-aoc `_ Downloads puzzle inputs for Advent of Code and synthesizes PyTest fixtures Dec 01, 2020 N/A pytest ; extra == 'dev' -`pytest-apistellar `_ apistellar plugin for pytest. Jun 18, 2019 N/A N/A -`pytest-appengine `_ AppEngine integration that works well with pytest-django Feb 27, 2017 N/A N/A -`pytest-appium `_ Pytest plugin for appium Dec 05, 2019 N/A N/A -`pytest-approvaltests `_ A plugin to use approvaltests with pytest Feb 07, 2021 4 - Beta pytest (>=3.5.0) -`pytest-arraydiff `_ pytest plugin to help with comparing array output from tests Dec 06, 2018 4 - Beta pytest -`pytest-asgi-server `_ Convenient ASGI client/server fixtures for Pytest Dec 12, 2020 N/A pytest (>=5.4.1) -`pytest-asptest `_ test Answer Set Programming programs Apr 28, 2018 4 - Beta N/A -`pytest-assertutil `_ pytest-assertutil May 10, 2019 N/A N/A -`pytest-assert-utils `_ Useful assertion utilities for use with pytest Aug 25, 2020 3 - Alpha N/A -`pytest-assume `_ A pytest plugin that allows multiple failures per test Dec 08, 2020 N/A pytest (>=2.7) -`pytest-ast-back-to-python `_ A plugin for pytest devs to view how assertion rewriting recodes the AST Sep 29, 2019 4 - Beta N/A -`pytest-astropy `_ Meta-package containing dependencies for testing Jan 16, 2020 5 - Production/Stable pytest (>=4.6) -`pytest-astropy-header `_ pytest plugin to add diagnostic information to the header of the test output Dec 18, 2019 3 - Alpha pytest (>=2.8) -`pytest-ast-transformer `_ May 04, 2019 3 - Alpha pytest -`pytest-asyncio `_ Pytest support for asyncio. Jun 23, 2020 4 - Beta pytest (>=5.4.0) -`pytest-asyncio-cooperative `_ Run all your asynchronous tests cooperatively. Jan 03, 2021 4 - Beta N/A -`pytest-asyncio-network-simulator `_ pytest-asyncio-network-simulator: Plugin for pytest for simulator the network in tests Jul 31, 2018 3 - Alpha pytest (<3.7.0,>=3.3.2) -`pytest-async-mongodb `_ pytest plugin for async MongoDB Oct 18, 2017 5 - Production/Stable pytest (>=2.5.2) -`pytest-atomic `_ Skip rest of tests if previous test failed. Nov 24, 2018 4 - Beta N/A -`pytest-attrib `_ pytest plugin to select tests based on attributes similar to the nose-attrib plugin May 24, 2016 4 - Beta N/A -`pytest-austin `_ Austin plugin for pytest Oct 11, 2020 4 - Beta N/A -`pytest-autochecklog `_ automatically check condition and log all the checks Apr 25, 2015 4 - Beta N/A -`pytest-automock `_ Pytest plugin for automatical mocks creation Apr 22, 2020 N/A pytest ; extra == 'dev' -`pytest-auto-parametrize `_ pytest plugin: avoid repeating arguments in parametrize Oct 02, 2016 3 - Alpha N/A -`pytest-avoidance `_ Makes pytest skip tests that don not need rerunning May 23, 2019 4 - Beta pytest (>=3.5.0) -`pytest-aws `_ pytest plugin for testing AWS resource configurations Oct 04, 2017 4 - Beta N/A -`pytest-axe `_ pytest plugin for axe-selenium-python Nov 12, 2018 N/A pytest (>=3.0.0) -`pytest-azurepipelines `_ Formatting PyTest output for Azure Pipelines UI Jul 23, 2020 4 - Beta pytest (>=3.5.0) -`pytest-bandit `_ A bandit plugin for pytest Feb 23, 2021 4 - Beta pytest (>=3.5.0) -`pytest-base-url `_ pytest plugin for URL based testing Jun 19, 2020 5 - Production/Stable pytest (>=2.7.3) -`pytest-bdd `_ BDD for pytest Dec 07, 2020 6 - Mature pytest (>=4.3) -`pytest-bdd-splinter `_ Common steps for pytest bdd and splinter integration Aug 12, 2019 5 - Production/Stable pytest (>=4.0.0) -`pytest-bdd-web `_ A simple plugin to use with pytest Jan 02, 2020 4 - Beta pytest (>=3.5.0) -`pytest-bdd-wrappers `_ Feb 11, 2020 2 - Pre-Alpha N/A -`pytest-beakerlib `_ A pytest plugin that reports test results to the BeakerLib framework Mar 17, 2017 5 - Production/Stable pytest -`pytest-beds `_ Fixtures for testing Google Appengine (GAE) apps Jun 07, 2016 4 - Beta N/A -`pytest-bench `_ Benchmark utility that plugs into pytest. Jul 21, 2014 3 - Alpha N/A -`pytest-benchmark `_ A ``pytest`` fixture for benchmarking code. It will group the tests into rounds that are calibrated to the chosen timer. See calibration and FAQ. Jan 10, 2020 5 - Production/Stable pytest (>=3.8) -`pytest-bigchaindb `_ A BigchainDB plugin for pytest. Jan 10, 2020 4 - Beta N/A -`pytest-black `_ A pytest plugin to enable format checking with black Oct 05, 2020 4 - Beta N/A -`pytest-black-multipy `_ Allow '--black' on older Pythons Jan 14, 2021 5 - Production/Stable pytest (!=3.7.3,>=3.5) ; extra == 'testing' -`pytest-blame `_ A pytest plugin helps developers to debug by providing useful commits history. May 04, 2019 N/A pytest (>=4.4.0) -`pytest-blender `_ Blender Pytest plugin. Feb 15, 2021 N/A pytest (==6.2.1) ; extra == 'dev' -`pytest-blink1 `_ Pytest plugin to emit notifications via the Blink(1) RGB LED Jan 07, 2018 4 - Beta N/A -`pytest-blockage `_ Disable network requests during a test run. Feb 13, 2019 N/A pytest -`pytest-blocker `_ pytest plugin to mark a test as blocker and skip all other tests Sep 07, 2015 4 - Beta N/A -`pytest-board `_ Local continuous test runner with pytest and watchdog. Jan 20, 2019 N/A N/A -`pytest-bpdb `_ A py.test plug-in to enable drop to bpdb debugger on test failure. Jan 19, 2015 2 - Pre-Alpha N/A -`pytest-bravado `_ Pytest-bravado automatically generates from OpenAPI specification client fixtures. Jan 20, 2021 N/A N/A -`pytest-breed-adapter `_ A simple plugin to connect with breed-server Nov 07, 2018 4 - Beta pytest (>=3.5.0) -`pytest-briefcase `_ A pytest plugin for running tests on a Briefcase project. Jun 14, 2020 4 - Beta pytest (>=3.5.0) -`pytest-browser `_ A pytest plugin for console based browser test selection just after the collection phase Dec 10, 2016 3 - Alpha N/A -`pytest-browsermob-proxy `_ BrowserMob proxy plugin for py.test. Jun 11, 2013 4 - Beta N/A -`pytest-browserstack-local `_ ``py.test`` plugin to run ``BrowserStackLocal`` in background. Feb 09, 2018 N/A N/A -`pytest-bug `_ Pytest plugin for marking tests as a bug Jun 02, 2020 5 - Production/Stable pytest (>=3.6.0) -`pytest-bugzilla `_ py.test bugzilla integration plugin May 05, 2010 4 - Beta N/A -`pytest-bugzilla-notifier `_ A plugin that allows you to execute create, update, and read information from BugZilla bugs Jun 15, 2018 4 - Beta pytest (>=2.9.2) -`pytest-buildkite `_ Plugin for pytest that automatically publishes coverage and pytest report annotations to Buildkite. Jul 13, 2019 4 - Beta pytest (>=3.5.0) -`pytest-bwrap `_ Run your tests in Bubblewrap sandboxes Oct 26, 2018 3 - Alpha N/A -`pytest-cache `_ pytest plugin with mechanisms for caching across test runs Jun 04, 2013 3 - Alpha N/A -`pytest-cagoule `_ Pytest plugin to only run tests affected by changes Jan 01, 2020 3 - Alpha N/A -`pytest-camel-collect `_ Enable CamelCase-aware pytest class collection Aug 02, 2020 N/A pytest (>=2.9) -`pytest-canonical-data `_ A plugin which allows to compare results with canonical results, based on previous runs May 08, 2020 2 - Pre-Alpha pytest (>=3.5.0) -`pytest-caprng `_ A plugin that replays pRNG state on failure. May 02, 2018 4 - Beta N/A -`pytest-capture-deprecatedwarnings `_ pytest plugin to capture all deprecatedwarnings and put them in one file Apr 30, 2019 N/A N/A -`pytest-cases `_ Separate test code from test cases in pytest. Feb 19, 2021 5 - Production/Stable N/A -`pytest-cassandra `_ Cassandra CCM Test Fixtures for pytest Nov 04, 2017 1 - Planning N/A -`pytest-catchlog `_ py.test plugin to catch log messages. This is a fork of pytest-capturelog. Jan 24, 2016 4 - Beta pytest (>=2.6) -`pytest-catch-server `_ Pytest plugin with server for catching HTTP requests. Dec 12, 2019 5 - Production/Stable N/A -`pytest-celery `_ pytest-celery a shim pytest plugin to enable celery.contrib.pytest Aug 05, 2020 N/A N/A -`pytest-chalice `_ A set of py.test fixtures for AWS Chalice Jul 01, 2020 4 - Beta N/A -`pytest-change-report `_ turn . into √,turn F into x Sep 14, 2020 N/A pytest -`pytest-chdir `_ A pytest fixture for changing current working directory Jan 28, 2020 N/A pytest (>=5.0.0,<6.0.0) -`pytest-check `_ A pytest plugin that allows multiple failures per test. Dec 27, 2020 5 - Production/Stable N/A -`pytest-checkdocs `_ check the README when running tests Feb 27, 2021 5 - Production/Stable pytest (>=4.6) ; extra == 'testing' -`pytest-checkipdb `_ plugin to check if there are ipdb debugs left Jul 22, 2020 5 - Production/Stable pytest (>=2.9.2) -`pytest-check-links `_ Check links in files Jul 29, 2020 N/A N/A -`pytest-check-mk `_ pytest plugin to test Check_MK checks Nov 19, 2015 4 - Beta pytest -`pytest-circleci `_ py.test plugin for CircleCI May 03, 2019 N/A N/A -`pytest-circleci-parallelized `_ Parallelize pytest across CircleCI workers. Mar 26, 2019 N/A N/A -`pytest-ckan `_ Backport of CKAN 2.9 pytest plugin and fixtures to CAKN 2.8 Apr 28, 2020 4 - Beta pytest -`pytest-clarity `_ A plugin providing an alternative, colourful diff output for failing assertions. Jan 23, 2020 3 - Alpha N/A -`pytest-cldf `_ Easy quality control for CLDF datasets using pytest May 06, 2019 N/A N/A -`pytest-click `_ Py.test plugin for Click Aug 29, 2020 5 - Production/Stable pytest (>=5.0) -`pytest-clld `_ May 06, 2020 N/A pytest (>=3.6) -`pytest-cloud `_ Distributed tests planner plugin for pytest testing framework. Oct 05, 2020 6 - Mature N/A -`pytest-cloudflare-worker `_ pytest plugin for testing cloudflare workers Oct 19, 2020 4 - Beta pytest (>=6.0.0) -`pytest-cobra `_ PyTest plugin for testing Smart Contracts for Ethereum blockchain. Jun 29, 2019 3 - Alpha pytest (<4.0.0,>=3.7.1) -`pytest-codecheckers `_ pytest plugin to add source code sanity checks (pep8 and friends) Feb 13, 2010 N/A N/A -`pytest-codegen `_ Automatically create pytest test signatures Aug 23, 2020 2 - Pre-Alpha N/A -`pytest-codestyle `_ pytest plugin to run pycodestyle Mar 23, 2020 3 - Alpha N/A -`pytest-collect-formatter `_ Formatter for pytest collect output Nov 19, 2020 5 - Production/Stable N/A -`pytest-colordots `_ Colorizes the progress indicators Oct 06, 2017 5 - Production/Stable N/A -`pytest-commander `_ An interactive GUI test runner for PyTest Jan 31, 2021 N/A pytest (>=5.0.0) -`pytest-common-subject `_ pytest framework for testing different aspects of a common method Nov 12, 2020 N/A pytest (>=3.6,<7) -`pytest-concurrent `_ Concurrently execute test cases with multithread, multiprocess and gevent Jan 12, 2019 4 - Beta pytest (>=3.1.1) -`pytest-config `_ Base configurations and utilities for developing your Python project test suite with pytest. Nov 07, 2014 5 - Production/Stable N/A -`pytest-confluence-report `_ Package stands for pytest plugin to upload results into Confluence page. Nov 06, 2020 N/A N/A -`pytest-console-scripts `_ Pytest plugin for testing console scripts Nov 20, 2020 4 - Beta N/A -`pytest-consul `_ pytest plugin with fixtures for testing consul aware apps Nov 24, 2018 3 - Alpha pytest -`pytest-contextfixture `_ Define pytest fixtures as context managers. Mar 12, 2013 4 - Beta N/A -`pytest-contexts `_ A plugin to run tests written with the Contexts framework using pytest Jul 23, 2018 4 - Beta N/A -`pytest-cookies `_ The pytest plugin for your Cookiecutter templates. 🍪 Feb 14, 2020 5 - Production/Stable pytest (<6.0.0,>=3.3.0) -`pytest-couchdbkit `_ py.test extension for per-test couchdb databases using couchdbkit Apr 17, 2012 N/A N/A -`pytest-count `_ count erros and send email Jan 12, 2018 4 - Beta N/A -`pytest-cov `_ Pytest plugin for measuring coverage. Jan 20, 2021 5 - Production/Stable pytest (>=4.6) -`pytest-cover `_ Pytest plugin for measuring coverage. Forked from `pytest-cov`. Aug 01, 2015 5 - Production/Stable N/A -`pytest-coverage `_ Jun 17, 2015 N/A N/A -`pytest-coverage-context `_ Coverage dynamic context support for PyTest, including sub-processes Jan 04, 2021 4 - Beta pytest (>=6.1.0) -`pytest-cov-exclude `_ Pytest plugin for excluding tests based on coverage data Apr 29, 2016 4 - Beta pytest (>=2.8.0,<2.9.0); extra == 'dev' -`pytest-cpp `_ Use pytest's runner to discover and execute C++ tests Dec 10, 2020 4 - Beta pytest (!=5.4.0,!=5.4.1) -`pytest-cram `_ Run cram tests with pytest. Aug 08, 2020 N/A N/A -`pytest-crate `_ Manages CrateDB instances during your integration tests May 28, 2019 3 - Alpha pytest (>=4.0) -`pytest-cricri `_ A Cricri plugin for pytest. Jan 27, 2018 N/A pytest -`pytest-crontab `_ add crontab task in crontab Dec 09, 2019 N/A N/A -`pytest-csv `_ CSV output for pytest. Jun 24, 2019 N/A pytest (>=4.4) -`pytest-curio `_ Pytest support for curio. Oct 07, 2020 N/A N/A -`pytest-curl-report `_ pytest plugin to generate curl command line report Dec 11, 2016 4 - Beta N/A -`pytest-custom-concurrency `_ Custom grouping concurrence for pytest Feb 08, 2021 N/A N/A -`pytest-custom-exit-code `_ Exit pytest test session with custom exit code in different scenarios Aug 07, 2019 4 - Beta pytest (>=4.0.2) -`pytest-custom-nodeid `_ Custom grouping for pytest-xdist, rename test cases name and test cases nodeid, support allure report Mar 07, 2021 N/A N/A -`pytest-custom-report `_ Configure the symbols displayed for test outcomes Jan 30, 2019 N/A pytest -`pytest-custom-scheduling `_ Custom grouping for pytest-xdist, rename test cases name and test cases nodeid, support allure report Mar 01, 2021 N/A N/A -`pytest-cython `_ A plugin for testing Cython extension modules Jan 26, 2021 4 - Beta pytest (>=2.7.3) -`pytest-darker `_ A pytest plugin for checking of modified code using Darker Aug 16, 2020 N/A pytest (>=6.0.1) ; extra == 'test' -`pytest-dash `_ pytest fixtures to run dash applications. Mar 18, 2019 N/A N/A -`pytest-data `_ Useful functions for managing data for pytest fixtures Nov 01, 2016 5 - Production/Stable N/A -`pytest-databricks `_ Pytest plugin for remote Databricks notebooks testing Jul 29, 2020 N/A pytest -`pytest-datadir `_ pytest plugin for test data directories and files Oct 22, 2019 5 - Production/Stable pytest (>=2.7.0) -`pytest-datadir-mgr `_ Manager for test data providing downloads, caching of generated files, and a context for temp directories. Feb 17, 2021 5 - Production/Stable pytest (>=6.0.1,<7.0.0) -`pytest-datadir-ng `_ Fixtures for pytest allowing test functions/methods to easily retrieve test resources from the local filesystem. Dec 25, 2019 5 - Production/Stable pytest -`pytest-data-file `_ Fixture "data" and "case_data" for test from yaml file Dec 04, 2019 N/A N/A -`pytest-datafiles `_ py.test plugin to create a 'tmpdir' containing predefined files/directories. Oct 07, 2018 5 - Production/Stable pytest (>=3.6) -`pytest-datafixtures `_ Data fixtures for pytest made simple Dec 05, 2020 5 - Production/Stable N/A -`pytest-dataplugin `_ A pytest plugin for managing an archive of test data. Sep 16, 2017 1 - Planning N/A -`pytest-datarecorder `_ A py.test plugin recording and comparing test output. Apr 20, 2020 5 - Production/Stable pytest -`pytest-datatest `_ A pytest plugin for test driven data-wrangling (this is the development version of datatest's pytest integration). Oct 15, 2020 4 - Beta pytest (>=3.3) -`pytest-db `_ Session scope fixture "db" for mysql query or change Dec 04, 2019 N/A N/A -`pytest-dbfixtures `_ Databases fixtures plugin for py.test. Dec 07, 2016 4 - Beta N/A -`pytest-dbt-adapter `_ A pytest plugin for testing dbt adapter plugins Jan 07, 2021 N/A pytest (<7,>=6) -`pytest-dbus-notification `_ D-BUS notifications for pytest results. Mar 05, 2014 5 - Production/Stable N/A -`pytest-deadfixtures `_ A simple plugin to list unused fixtures in pytest Jul 23, 2020 5 - Production/Stable N/A -`pytest-dependency `_ Manage dependencies of tests Feb 14, 2020 4 - Beta N/A -`pytest-depends `_ Tests that depend on other tests Apr 05, 2020 5 - Production/Stable pytest (>=3) -`pytest-deprecate `_ Mark tests as testing a deprecated feature with a warning note. Jul 01, 2019 N/A N/A -`pytest-describe `_ Describe-style plugin for pytest Apr 21, 2020 3 - Alpha pytest (>=2.6.0) -`pytest-describe-it `_ plugin for rich text descriptions Jul 19, 2019 4 - Beta pytest -`pytest-devpi-server `_ DevPI server fixture for py.test May 28, 2019 5 - Production/Stable pytest -`pytest-diamond `_ pytest plugin for diamond Aug 31, 2015 4 - Beta N/A -`pytest-dicom `_ pytest plugin to provide DICOM fixtures Dec 19, 2018 3 - Alpha pytest -`pytest-dictsdiff `_ Jul 26, 2019 N/A N/A -`pytest-diff `_ A simple plugin to use with pytest Mar 30, 2019 4 - Beta pytest (>=3.5.0) -`pytest-diffeo `_ Common py.test support for Diffeo packages Apr 08, 2016 3 - Alpha N/A -`pytest-disable `_ pytest plugin to disable a test and skip it from testrun Sep 10, 2015 4 - Beta N/A -`pytest-disable-plugin `_ Disable plugins per test Feb 28, 2019 4 - Beta pytest (>=3.5.0) -`pytest-discord `_ A pytest plugin to notify test results to a Discord channel. Feb 14, 2021 3 - Alpha pytest (!=6.0.0,<7,>=3.3.2) -`pytest-django `_ A Django plugin for pytest. Oct 22, 2020 5 - Production/Stable pytest (>=5.4.0) -`pytest-django-ahead `_ A Django plugin for pytest. Oct 27, 2016 5 - Production/Stable pytest (>=2.9) -`pytest-djangoapp `_ Nice pytest plugin to help you with Django pluggable application testing. Sep 21, 2020 4 - Beta N/A -`pytest-django-cache-xdist `_ A djangocachexdist plugin for pytest May 12, 2020 4 - Beta N/A -`pytest-django-casperjs `_ Integrate CasperJS with your django tests as a pytest fixture. Mar 15, 2015 2 - Pre-Alpha N/A -`pytest-django-dotenv `_ Pytest plugin used to setup environment variables with django-dotenv Nov 26, 2019 4 - Beta pytest (>=2.6.0) -`pytest-django-factories `_ Factories for your Django models that can be used as Pytest fixtures. Nov 12, 2020 4 - Beta N/A -`pytest-django-gcir `_ A Django plugin for pytest. Mar 06, 2018 5 - Production/Stable N/A -`pytest-django-haystack `_ Cleanup your Haystack indexes between tests Sep 03, 2017 5 - Production/Stable pytest (>=2.3.4) -`pytest-django-ifactory `_ A model instance factory for pytest-django Jan 13, 2021 3 - Alpha N/A -`pytest-django-lite `_ The bare minimum to integrate py.test with Django. Jan 30, 2014 N/A N/A -`pytest-django-model `_ A Simple Way to Test your Django Models Feb 14, 2019 4 - Beta N/A -`pytest-django-ordering `_ A pytest plugin for preserving the order in which Django runs tests. Jul 25, 2019 5 - Production/Stable pytest (>=2.3.0) -`pytest-django-queries `_ Generate performance reports from your django database performance tests. Mar 01, 2021 N/A N/A -`pytest-djangorestframework `_ A djangorestframework plugin for pytest Aug 11, 2019 4 - Beta N/A -`pytest-django-rq `_ A pytest plugin to help writing unit test for django-rq Apr 13, 2020 4 - Beta N/A -`pytest-django-sqlcounts `_ py.test plugin for reporting the number of SQLs executed per django testcase. Jun 16, 2015 4 - Beta N/A -`pytest-django-testing-postgresql `_ Use a temporary PostgreSQL database with pytest-django Dec 05, 2019 3 - Alpha N/A -`pytest-doc `_ A documentation plugin for py.test. Jun 28, 2015 5 - Production/Stable N/A -`pytest-docgen `_ An RST Documentation Generator for pytest-based test suites Apr 17, 2020 N/A N/A -`pytest-docker `_ Simple pytest fixtures for Docker and docker-compose based tests Sep 22, 2020 N/A pytest (<7.0,>=4.0) -`pytest-docker-butla `_ Jun 16, 2019 3 - Alpha N/A -`pytest-dockerc `_ Run, manage and stop Docker Compose project from Docker API Oct 09, 2020 5 - Production/Stable pytest (>=3.0) -`pytest-docker-compose `_ Manages Docker containers during your integration tests Jan 26, 2021 5 - Production/Stable pytest (>=3.3) -`pytest-docker-db `_ A plugin to use docker databases for pytests Apr 19, 2020 5 - Production/Stable pytest (>=3.1.1) -`pytest-docker-fixtures `_ pytest docker fixtures Sep 30, 2020 3 - Alpha N/A -`pytest-docker-git-fixtures `_ Pytest fixtures for testing with git scm. Mar 11, 2021 4 - Beta pytest -`pytest-docker-pexpect `_ pytest plugin for writing functional tests with pexpect and docker Jan 14, 2019 N/A pytest -`pytest-docker-postgresql `_ A simple plugin to use with pytest Sep 24, 2019 4 - Beta pytest (>=3.5.0) -`pytest-docker-py `_ Easy to use, simple to extend, pytest plugin that minimally leverages docker-py. Nov 27, 2018 N/A pytest (==4.0.0) -`pytest-docker-registry-fixtures `_ Pytest fixtures for testing with docker registries. Mar 04, 2021 4 - Beta pytest -`pytest-docker-tools `_ Docker integration tests for pytest Mar 02, 2021 4 - Beta pytest (>=6.0.1,<7.0.0) -`pytest-docs `_ Documentation tool for pytest Nov 11, 2018 4 - Beta pytest (>=3.5.0) -`pytest-docstyle `_ pytest plugin to run pydocstyle Mar 23, 2020 3 - Alpha N/A -`pytest-doctest-custom `_ A py.test plugin for customizing string representations of doctest results. Jul 25, 2016 4 - Beta N/A -`pytest-doctest-ellipsis-markers `_ Setup additional values for ELLIPSIS_MARKER for doctests Jan 12, 2018 4 - Beta N/A -`pytest-doctest-import `_ A simple pytest plugin to import names and add them to the doctest namespace. Nov 13, 2018 4 - Beta pytest (>=3.3.0) -`pytest-doctestplus `_ Pytest plugin with advanced doctest features. Jan 15, 2021 3 - Alpha pytest (>=4.6) -`pytest-doctest-ufunc `_ A plugin to run doctests in docstrings of Numpy ufuncs Aug 02, 2020 4 - Beta pytest (>=3.5.0) -`pytest-dolphin `_ Some extra stuff that we use ininternally Nov 30, 2016 4 - Beta pytest (==3.0.4) -`pytest-doorstop `_ A pytest plugin for adding test results into doorstop items. Jun 09, 2020 4 - Beta pytest (>=3.5.0) -`pytest-dotenv `_ A py.test plugin that parses environment files before running tests Jun 16, 2020 4 - Beta pytest (>=5.0.0) -`pytest-drf `_ A Django REST framework plugin for pytest. Nov 12, 2020 5 - Production/Stable pytest (>=3.6) -`pytest-drivings `_ Tool to allow webdriver automation to be ran locally or remotely Jan 13, 2021 N/A N/A -`pytest-drop-dup-tests `_ A Pytest plugin to drop duplicated tests during collection May 23, 2020 4 - Beta pytest (>=2.7) -`pytest-dump2json `_ A pytest plugin for dumping test results to json. Jun 29, 2015 N/A N/A -`pytest-dynamicrerun `_ A pytest plugin to rerun tests dynamically based off of test outcome and output. Aug 15, 2020 4 - Beta N/A -`pytest-dynamodb `_ DynamoDB fixtures for pytest Feb 20, 2020 5 - Production/Stable pytest (>=3.0.0) -`pytest-easy-addoption `_ pytest-easy-addoption: Easy way to work with pytest addoption Jan 22, 2020 N/A N/A -`pytest-easy-api `_ Simple API testing with pytest Mar 26, 2018 N/A N/A -`pytest-easyMPI `_ Package that supports mpi tests in pytest Oct 21, 2020 N/A N/A -`pytest-easyread `_ pytest plugin that makes terminal printouts of the reports easier to read Nov 17, 2017 N/A N/A -`pytest-ec2 `_ Pytest execution on EC2 instance Oct 22, 2019 3 - Alpha N/A -`pytest-echo `_ pytest plugin with mechanisms for echoing environment variables, package version and generic attributes Jan 08, 2020 5 - Production/Stable N/A -`pytest-elasticsearch `_ Elasticsearch process and client fixtures for py.test. Feb 19, 2020 5 - Production/Stable pytest (>=3.0.0) -`pytest-elements `_ Tool to help automate user interfaces Jan 13, 2021 N/A pytest (>=5.4,<6.0) -`pytest-elk-reporter `_ A simple plugin to use with pytest Jan 24, 2021 4 - Beta pytest (>=3.5.0) -`pytest-email `_ Send execution result email Jul 08, 2020 N/A pytest -`pytest-emoji `_ A pytest plugin that adds emojis to your test result report Feb 19, 2019 4 - Beta pytest (>=4.2.1) -`pytest-emoji-output `_ Pytest plugin to represent test output with emoji support Oct 03, 2020 4 - Beta N/A -`pytest-enabler `_ Enable installed pytest plugins Jan 19, 2021 5 - Production/Stable pytest (!=3.7.3,>=3.5) ; extra == 'testing' -`pytest-enhancements `_ Improvements for pytest (rejected upstream) Oct 30, 2019 4 - Beta N/A -`pytest-env `_ py.test plugin that allows you to add environment variables. Jun 16, 2017 4 - Beta N/A -`pytest-envfiles `_ A py.test plugin that parses environment files before running tests Oct 08, 2015 3 - Alpha N/A -`pytest-env-info `_ Push information about the running pytest into envvars Nov 25, 2017 4 - Beta pytest (>=3.1.1) -`pytest-envraw `_ py.test plugin that allows you to add environment variables. Aug 27, 2020 4 - Beta pytest (>=2.6.0) -`pytest-envvars `_ Pytest plugin to validate use of envvars on your tests Jun 13, 2020 5 - Production/Stable pytest (>=3.0.0) -`pytest-env-yaml `_ Apr 02, 2019 N/A N/A -`pytest-eradicate `_ pytest plugin to check for commented out code Sep 08, 2020 N/A pytest (>=2.4.2) -`pytest-error-for-skips `_ Pytest plugin to treat skipped tests a test failure Dec 19, 2019 4 - Beta pytest (>=4.6) -`pytest-eth `_ PyTest plugin for testing Smart Contracts for Ethereum Virtual Machine (EVM). Aug 14, 2020 1 - Planning N/A -`pytest-ethereum `_ pytest-ethereum: Pytest library for ethereum projects. Jun 24, 2019 3 - Alpha pytest (==3.3.2); extra == 'dev' -`pytest-eucalyptus `_ Pytest Plugin for BDD Aug 13, 2019 N/A pytest (>=4.2.0) -`pytest-excel `_ pytest plugin for generating excel reports Oct 06, 2020 5 - Production/Stable N/A -`pytest-exceptional `_ Better exceptions Mar 16, 2017 4 - Beta N/A -`pytest-exception-script `_ Walk your code through exception script to check it's resiliency to failures. Aug 04, 2020 3 - Alpha pytest -`pytest-executable `_ pytest plugin for testing executables Aug 10, 2020 4 - Beta pytest (<6.1,>=4.3) -`pytest-expect `_ py.test plugin to store test expectations and mark tests based on them Apr 21, 2016 4 - Beta N/A -`pytest-expecter `_ Better testing with expecter and pytest. Jul 08, 2020 5 - Production/Stable N/A -`pytest-expectr `_ This plugin is used to expect multiple assert using pytest framework. Oct 05, 2018 N/A pytest (>=2.4.2) -`pytest-exploratory `_ Interactive console for pytest. Jan 20, 2021 N/A pytest (>=5.3) -`pytest-external-blockers `_ a special outcome for tests that are blocked for external reasons Oct 04, 2016 N/A N/A -`pytest-extra-durations `_ A pytest plugin to get durations on a per-function basis and per module basis. Apr 21, 2020 4 - Beta pytest (>=3.5.0) -`pytest-fabric `_ Provides test utilities to run fabric task tests by using docker containers Sep 12, 2018 5 - Production/Stable N/A -`pytest-factory `_ Use factories for test setup with py.test Sep 06, 2020 3 - Alpha pytest (>4.3) -`pytest-factoryboy `_ Factory Boy support for pytest. Dec 30, 2020 6 - Mature pytest (>=4.6) -`pytest-factoryboy-fixtures `_ Generates pytest fixtures that allow the use of type hinting Jun 25, 2020 N/A N/A -`pytest-factoryboy-state `_ Simple factoryboy random state management Dec 11, 2020 4 - Beta pytest (>=5.0) -`pytest-failed-screenshot `_ Test case fails,take a screenshot,save it,attach it to the allure Feb 28, 2021 N/A N/A -`pytest-failed-to-verify `_ A pytest plugin that helps better distinguishing real test failures from setup flakiness. Aug 08, 2019 5 - Production/Stable pytest (>=4.1.0) -`pytest-faker `_ Faker integration with the pytest framework. Dec 19, 2016 6 - Mature N/A -`pytest-falcon `_ Pytest helpers for Falcon. Sep 07, 2016 4 - Beta N/A -`pytest-falcon-client `_ Pytest `client` fixture for the Falcon Framework Mar 19, 2019 N/A N/A -`pytest-fantasy `_ Pytest plugin for Flask Fantasy Framework Mar 14, 2019 N/A N/A -`pytest-fastapi `_ Dec 27, 2020 N/A N/A -`pytest-fastest `_ Use SCM and coverage to run only needed tests Mar 05, 2020 N/A N/A -`pytest-faulthandler `_ py.test plugin that activates the fault handler module for tests (dummy package) Jul 04, 2019 6 - Mature pytest (>=5.0) -`pytest-fauxfactory `_ Integration of fauxfactory into pytest. Dec 06, 2017 5 - Production/Stable pytest (>=3.2) -`pytest-figleaf `_ py.test figleaf coverage plugin Jan 18, 2010 5 - Production/Stable N/A -`pytest-filedata `_ easily load data from files Jan 17, 2019 4 - Beta N/A -`pytest-filemarker `_ A pytest plugin that runs marked tests when files change. Dec 01, 2020 N/A pytest -`pytest-filter-case `_ run test cases filter by mark Nov 05, 2020 N/A N/A -`pytest-filter-subpackage `_ Pytest plugin for filtering based on sub-packages Jan 09, 2020 3 - Alpha pytest (>=3.0) -`pytest-finer-verdicts `_ A pytest plugin to treat non-assertion failures as test errors. Jun 18, 2020 N/A pytest (>=5.4.3) -`pytest-firefox `_ pytest plugin to manipulate firefox Aug 08, 2017 3 - Alpha pytest (>=3.0.2) -`pytest-fixture-config `_ Fixture configuration utils for py.test May 28, 2019 5 - Production/Stable pytest -`pytest-fixture-marker `_ A pytest plugin to add markers based on fixtures used. Oct 11, 2020 5 - Production/Stable N/A -`pytest-fixture-order `_ pytest plugin to control fixture evaluation order Aug 25, 2020 N/A pytest (>=3.0) -`pytest-fixtures `_ Common fixtures for pytest May 01, 2019 5 - Production/Stable N/A -`pytest-fixture-tools `_ Plugin for pytest which provides tools for fixtures Aug 18, 2020 6 - Mature pytest -`pytest-flake8 `_ pytest plugin to check FLAKE8 requirements Dec 16, 2020 4 - Beta pytest (>=3.5) -`pytest-flake8dir `_ A pytest fixture for testing flake8 plugins. Dec 13, 2020 5 - Production/Stable pytest -`pytest-flakefinder `_ Runs tests multiple times to expose flakiness. Jul 28, 2020 4 - Beta pytest (>=2.7.1) -`pytest-flakes `_ pytest plugin to check source code with pyflakes Nov 28, 2020 5 - Production/Stable N/A -`pytest-flaptastic `_ Flaptastic py.test plugin Mar 17, 2019 N/A N/A -`pytest-flask `_ A set of py.test fixtures to test Flask applications. Feb 27, 2021 5 - Production/Stable pytest (>=5.2) -`pytest-flask-sqlalchemy `_ A pytest plugin for preserving test isolation in Flask-SQlAlchemy using database transactions. Apr 04, 2019 4 - Beta pytest (>=3.2.1) -`pytest-flask-sqlalchemy-transactions `_ Run tests in transactions using pytest, Flask, and SQLalchemy. Aug 02, 2018 4 - Beta pytest (>=3.2.1) -`pytest-focus `_ A pytest plugin that alerts user of failed test cases with screen notifications May 04, 2019 4 - Beta pytest -`pytest-forcefail `_ py.test plugin to make the test failing regardless of pytest.mark.xfail May 15, 2018 4 - Beta N/A -`pytest-forward-compatability `_ A name to avoid typosquating pytest-foward-compatibility Sep 06, 2020 N/A N/A -`pytest-forward-compatibility `_ A pytest plugin to shim pytest commandline options for fowards compatibility Sep 29, 2020 N/A N/A -`pytest-freezegun `_ Wrap tests with fixtures in freeze_time Jul 19, 2020 4 - Beta pytest (>=3.0.0) -`pytest-freeze-reqs `_ Check if requirement files are frozen Nov 14, 2019 N/A N/A -`pytest-func-cov `_ Pytest plugin for measuring function coverage May 24, 2020 3 - Alpha pytest (>=5) -`pytest-funparam `_ An alternative way to parametrize test cases Feb 13, 2021 4 - Beta pytest (>=4.6.0) -`pytest-fxa `_ pytest plugin for Firefox Accounts Aug 28, 2018 5 - Production/Stable N/A -`pytest-fxtest `_ Oct 27, 2020 N/A N/A -`pytest-gc `_ The garbage collector plugin for py.test Feb 01, 2018 N/A N/A -`pytest-gcov `_ Uses gcov to measure test coverage of a C library Feb 01, 2018 3 - Alpha N/A -`pytest-gevent `_ Ensure that gevent is properly patched when invoking pytest Feb 25, 2020 N/A pytest -`pytest-gherkin `_ A flexible framework for executing BDD gherkin tests Jul 27, 2019 3 - Alpha pytest (>=5.0.0) -`pytest-ghostinspector `_ For finding/executing Ghost Inspector tests May 17, 2016 3 - Alpha N/A -`pytest-girder `_ A set of pytest fixtures for testing Girder applications. Mar 12, 2021 N/A N/A -`pytest-git `_ Git repository fixture for py.test May 28, 2019 5 - Production/Stable pytest -`pytest-gitcov `_ Pytest plugin for reporting on coverage of the last git commit. Jan 11, 2020 2 - Pre-Alpha N/A -`pytest-git-fixtures `_ Pytest fixtures for testing with git. Mar 11, 2021 4 - Beta pytest -`pytest-github `_ Plugin for py.test that associates tests with github issues using a marker. Mar 07, 2019 5 - Production/Stable N/A -`pytest-github-actions-annotate-failures `_ pytest plugin to annotate failed tests with a workflow command for GitHub Actions Oct 13, 2020 N/A pytest (>=4.0.0) -`pytest-gitignore `_ py.test plugin to ignore the same files as git Jul 17, 2015 4 - Beta N/A -`pytest-gnupg-fixtures `_ Pytest fixtures for testing with gnupg. Mar 04, 2021 4 - Beta pytest -`pytest-golden `_ Plugin for pytest that offloads expected outputs to data files Nov 23, 2020 N/A pytest (>=6.1.2,<7.0.0) -`pytest-graphql-schema `_ Get graphql schema as fixture for pytest Oct 18, 2019 N/A N/A -`pytest-greendots `_ Green progress dots Feb 08, 2014 3 - Alpha N/A -`pytest-growl `_ Growl notifications for pytest results. Jan 13, 2014 5 - Production/Stable N/A -`pytest-grpc `_ pytest plugin for grpc May 01, 2020 N/A pytest (>=3.6.0) -`pytest-hammertime `_ Display "🔨 " instead of "." for passed pytest tests. Jul 28, 2018 N/A pytest -`pytest-harvest `_ Store data created during your pytest tests execution, and retrieve it at the end of the session, e.g. for applicative benchmarking purposes. Dec 08, 2020 5 - Production/Stable N/A -`pytest-helm-chart `_ A plugin to provide different types and configs of Kubernetes clusters that can be used for testing. Jun 15, 2020 4 - Beta pytest (>=5.4.2,<6.0.0) -`pytest-helm-charts `_ A plugin to provide different types and configs of Kubernetes clusters that can be used for testing. Dec 22, 2020 4 - Beta pytest (>=6.1.2,<7.0.0) -`pytest-helper `_ Functions to help in using the pytest testing framework May 31, 2019 5 - Production/Stable N/A -`pytest-helpers `_ pytest helpers May 17, 2020 N/A pytest -`pytest-helpers-namespace `_ PyTest Helpers Namespace Jan 07, 2019 5 - Production/Stable pytest (>=2.9.1) -`pytest-hidecaptured `_ Hide captured output May 04, 2018 4 - Beta pytest (>=2.8.5) -`pytest-historic `_ Custom report to display pytest historical execution records Apr 08, 2020 N/A pytest -`pytest-historic-hook `_ Custom listener to store execution results into MYSQL DB, which is used for pytest-historic report Apr 08, 2020 N/A pytest -`pytest-homeassistant `_ A pytest plugin for use with homeassistant custom components. Aug 12, 2020 4 - Beta N/A -`pytest-homeassistant-custom-component `_ Experimental package to automatically extract test plugins for Home Assistant custom components Mar 03, 2021 3 - Alpha pytest (==6.2.2) -`pytest-honors `_ Report on tests that honor constraints, and guard against regressions Mar 06, 2020 4 - Beta N/A -`pytest-hoverfly `_ Simplify working with Hoverfly from pytest Mar 04, 2021 N/A pytest (>=5.0) -`pytest-hoverfly-wrapper `_ Integrates the Hoverfly HTTP proxy into Pytest Jan 31, 2021 4 - Beta N/A -`pytest-html `_ pytest plugin for generating HTML reports Dec 13, 2020 5 - Production/Stable pytest (!=6.0.0,>=5.0) -`pytest-html-lee `_ optimized pytest plugin for generating HTML reports Jun 30, 2020 5 - Production/Stable pytest (>=5.0) -`pytest-html-profiling `_ Pytest plugin for generating HTML reports with per-test profiling and optionally call graph visualizations. Based on pytest-html by Dave Hunt. Feb 11, 2020 5 - Production/Stable pytest (>=3.0) -`pytest-html-reporter `_ Generates a static html report based on pytest framework Sep 28, 2020 N/A N/A -`pytest-html-thread `_ pytest plugin for generating HTML reports Dec 29, 2020 5 - Production/Stable N/A -`pytest-http `_ Fixture "http" for http requests Dec 05, 2019 N/A N/A -`pytest-httpbin `_ Easily test your HTTP library against a local copy of httpbin Feb 11, 2019 5 - Production/Stable N/A -`pytest-http-mocker `_ Pytest plugin for http mocking (via https://github.com/vilus/mocker) Oct 20, 2019 N/A N/A -`pytest-httpretty `_ A thin wrapper of HTTPretty for pytest Feb 16, 2014 3 - Alpha N/A -`pytest-httpserver `_ pytest-httpserver is a httpserver for pytest Feb 14, 2021 3 - Alpha pytest ; extra == 'dev' -`pytest-httpx `_ Send responses to httpx. Mar 01, 2021 5 - Production/Stable pytest (==6.*) -`pytest-hue `_ Visualise PyTest status via your Phillips Hue lights May 09, 2019 N/A N/A -`pytest-hypo-25 `_ help hypo module for pytest Jan 12, 2020 3 - Alpha N/A -`pytest-ibutsu `_ A plugin to sent pytest results to an Ibutsu server Mar 09, 2021 4 - Beta pytest -`pytest-icdiff `_ use icdiff for better error messages in pytest assertions Apr 08, 2020 4 - Beta N/A -`pytest-idapro `_ A pytest plugin for idapython. Allows a pytest setup to run tests outside and inside IDA in an automated manner by runnig pytest inside IDA and by mocking idapython api Nov 03, 2018 N/A N/A -`pytest-ignore-flaky `_ ignore failures from flaky tests (pytest plugin) Jan 14, 2019 5 - Production/Stable pytest (>=3.7) -`pytest-image-diff `_ Sep 03, 2020 3 - Alpha pytest -`pytest-incremental `_ an incremental test runner (pytest plugin) Dec 09, 2018 4 - Beta N/A -`pytest-influxdb `_ Plugin for influxdb and pytest integration. Sep 22, 2020 N/A N/A -`pytest-info-collector `_ pytest plugin to collect information from tests May 26, 2019 3 - Alpha N/A -`pytest-informative-node `_ display more node ininformation. Apr 25, 2019 4 - Beta N/A -`pytest-infrastructure `_ pytest stack validation prior to testing executing Apr 12, 2020 4 - Beta N/A -`pytest-inmanta `_ A py.test plugin providing fixtures to simplify inmanta modules testing. Oct 12, 2020 5 - Production/Stable N/A -`pytest-inmanta-extensions `_ Inmanta tests package Jan 07, 2021 5 - Production/Stable N/A -`pytest-Inomaly `_ A simple image diff plugin for pytest Feb 13, 2018 4 - Beta N/A -`pytest-insta `_ A practical snapshot testing plugin for pytest Mar 03, 2021 N/A pytest (>=6.0.2,<7.0.0) -`pytest-instafail `_ pytest plugin to show failures instantly Jun 14, 2020 4 - Beta pytest (>=2.9) -`pytest-instrument `_ pytest plugin to instrument tests Apr 05, 2020 5 - Production/Stable pytest (>=5.1.0) -`pytest-integration `_ Organizing pytests by integration or not Apr 16, 2020 N/A N/A -`pytest-interactive `_ A pytest plugin for console based interactive test selection just after the collection phase Nov 30, 2017 3 - Alpha N/A -`pytest-invenio `_ Pytest fixtures for Invenio. Dec 17, 2020 5 - Production/Stable pytest (<7,>=6) -`pytest-involve `_ Run tests covering a specific file or changeset Feb 02, 2020 4 - Beta pytest (>=3.5.0) -`pytest-ipdb `_ A py.test plug-in to enable drop to ipdb debugger on test failure. Sep 02, 2014 2 - Pre-Alpha N/A -`pytest-ipynb `_ THIS PROJECT IS ABANDONED Jan 29, 2019 3 - Alpha N/A -`pytest-isort `_ py.test plugin to check import ordering using isort Jan 13, 2021 5 - Production/Stable N/A -`pytest-it `_ Pytest plugin to display test reports as a plaintext spec, inspired by Rspec: https://github.com/mattduck/pytest-it. Jan 22, 2020 4 - Beta N/A -`pytest-iterassert `_ Nicer list and iterable assertion messages for pytest May 11, 2020 3 - Alpha N/A -`pytest-jasmine `_ Run jasmine tests from your pytest test suite Nov 04, 2017 1 - Planning N/A -`pytest-jest `_ A custom jest-pytest oriented Pytest reporter May 22, 2018 4 - Beta pytest (>=3.3.2) -`pytest-jira `_ py.test JIRA integration plugin, using markers Nov 29, 2019 N/A N/A -`pytest-jira-xray `_ pytest plugin to integrate tests with JIRA XRAY Feb 12, 2021 3 - Alpha pytest -`pytest-jobserver `_ Limit parallel tests with posix jobserver. May 15, 2019 5 - Production/Stable pytest -`pytest-joke `_ Test failures are better served with humor. Oct 08, 2019 4 - Beta pytest (>=4.2.1) -`pytest-json `_ Generate JSON test reports Jan 18, 2016 4 - Beta N/A -`pytest-jsonlint `_ UNKNOWN Aug 04, 2016 N/A N/A -`pytest-json-report `_ A pytest plugin to report test results as JSON files Oct 23, 2020 4 - Beta pytest (>=4.2.0) -`pytest-kafka `_ Zookeeper, Kafka server, and Kafka consumer fixtures for Pytest Nov 01, 2019 N/A pytest -`pytest-kind `_ Kubernetes test support with KIND for pytest Jan 24, 2021 5 - Production/Stable N/A -`pytest-kivy `_ Kivy GUI tests fixtures using pytest Dec 21, 2020 4 - Beta pytest (>=3.6) -`pytest-knows `_ A pytest plugin that can automaticly skip test case based on dependence info calculated by trace Aug 22, 2014 N/A N/A -`pytest-konira `_ Run Konira DSL tests with py.test Oct 09, 2011 N/A N/A -`pytest-krtech-common `_ pytest krtech common library Nov 28, 2016 4 - Beta N/A -`pytest-kwparametrize `_ Alternate syntax for @pytest.mark.parametrize with test cases as dictionaries and default value fallbacks Jan 22, 2021 N/A pytest (>=6) -`pytest-lambda `_ Define pytest fixtures with lambda functions. Dec 28, 2020 3 - Alpha pytest (>=3.6,<7) -`pytest-lamp `_ Jan 06, 2017 3 - Alpha N/A -`pytest-layab `_ Pytest fixtures for layab. Oct 05, 2020 5 - Production/Stable N/A -`pytest-lazy-fixture `_ It helps to use fixtures in pytest.mark.parametrize Feb 01, 2020 4 - Beta pytest (>=3.2.5) -`pytest-ldap `_ python-ldap fixtures for pytest Aug 18, 2020 N/A pytest -`pytest-leaks `_ A pytest plugin to trace resource leaks. Nov 27, 2019 1 - Planning N/A -`pytest-level `_ Select tests of a given level or lower Oct 21, 2019 N/A pytest -`pytest-libfaketime `_ A python-libfaketime plugin for pytest. Dec 22, 2018 4 - Beta pytest (>=3.0.0) -`pytest-libiio `_ A pytest plugin to manage interfacing with libiio contexts Jan 09, 2021 4 - Beta N/A -`pytest-libnotify `_ Pytest plugin that shows notifications about the test run Nov 12, 2018 3 - Alpha pytest -`pytest-ligo `_ Jan 16, 2020 4 - Beta N/A -`pytest-lineno `_ A pytest plugin to show the line numbers of test functions Dec 04, 2020 N/A pytest -`pytest-lisa `_ Pytest plugin for organizing tests. Jan 21, 2021 3 - Alpha pytest (>=6.1.2,<7.0.0) -`pytest-listener `_ A simple network listener May 28, 2019 5 - Production/Stable pytest -`pytest-litf `_ A pytest plugin that stream output in LITF format Jan 18, 2021 4 - Beta pytest (>=3.1.1) -`pytest-live `_ Live results for pytest Mar 08, 2020 N/A pytest -`pytest-localftpserver `_ A PyTest plugin which provides an FTP fixture for your tests Jan 27, 2021 5 - Production/Stable pytest -`pytest-localserver `_ py.test plugin to test server connections locally. Nov 14, 2018 4 - Beta N/A -`pytest-localstack `_ Pytest plugin for AWS integration tests Aug 22, 2019 4 - Beta pytest (>=3.3.0) -`pytest-lockable `_ lockable resource plugin for pytest Oct 05, 2020 3 - Alpha pytest -`pytest-locker `_ Used to lock object during testing. Essentially changing assertions from being hard coded to asserting that nothing changed Feb 25, 2021 N/A pytest (>=5.4) -`pytest-logbook `_ py.test plugin to capture logbook log messages Nov 23, 2015 5 - Production/Stable pytest (>=2.8) -`pytest-logfest `_ Pytest plugin providing three logger fixtures with basic or full writing to log files Jul 21, 2019 4 - Beta pytest (>=3.5.0) -`pytest-logger `_ Plugin configuring handlers for loggers from Python logging module. Jul 25, 2019 4 - Beta pytest (>=3.2) -`pytest-logging `_ Configures logging and allows tweaking the log level with a py.test flag Nov 04, 2015 4 - Beta N/A -`pytest-log-report `_ Package for creating a pytest test run reprot Dec 26, 2019 N/A N/A -`pytest-manual-marker `_ pytest marker for marking manual tests Nov 28, 2018 3 - Alpha pytest -`pytest-markdown `_ Test your markdown docs with pytest Jan 15, 2021 4 - Beta pytest (>=6.0.1,<7.0.0) -`pytest-marker-bugzilla `_ py.test bugzilla integration plugin, using markers Jan 09, 2020 N/A N/A -`pytest-markers-presence `_ A simple plugin to detect missed pytest tags and markers" Feb 04, 2021 4 - Beta pytest (>=6.0) -`pytest-markfiltration `_ UNKNOWN Nov 08, 2011 3 - Alpha N/A -`pytest-mark-no-py3 `_ pytest plugin and bowler codemod to help migrate tests to Python 3 May 17, 2019 N/A pytest -`pytest-marks `_ UNKNOWN Nov 23, 2012 3 - Alpha N/A -`pytest-matcher `_ Match test output against patterns stored in files Apr 23, 2020 5 - Production/Stable pytest (>=3.4) -`pytest-match-skip `_ Skip matching marks. Matches partial marks using wildcards. May 15, 2019 4 - Beta pytest (>=4.4.1) -`pytest-mat-report `_ this is report Jan 20, 2021 N/A N/A -`pytest-matrix `_ Provide tools for generating tests from combinations of fixtures. Jun 24, 2020 5 - Production/Stable pytest (>=5.4.3,<6.0.0) -`pytest-mccabe `_ pytest plugin to run the mccabe code complexity checker. Jul 22, 2020 3 - Alpha pytest (>=5.4.0) -`pytest-md `_ Plugin for generating Markdown reports for pytest results Jul 11, 2019 3 - Alpha pytest (>=4.2.1) -`pytest-md-report `_ A pytest plugin to make a test results report with Markdown table format. Aug 14, 2020 4 - Beta pytest (!=6.0.0,<7,>=3.3.2) -`pytest-memprof `_ Estimates memory consumption of test functions Mar 29, 2019 4 - Beta N/A -`pytest-menu `_ A pytest plugin for console based interactive test selection just after the collection phase Oct 04, 2017 3 - Alpha pytest (>=2.4.2) -`pytest-mercurial `_ pytest plugin to write integration tests for projects using Mercurial Python internals Nov 21, 2020 1 - Planning N/A -`pytest-messenger `_ Pytest to Slack reporting plugin Dec 16, 2020 5 - Production/Stable N/A -`pytest-metadata `_ pytest plugin for test session metadata Nov 27, 2020 5 - Production/Stable pytest (>=2.9.0) -`pytest-metrics `_ Custom metrics report for pytest Apr 04, 2020 N/A pytest -`pytest-mimesis `_ Mimesis integration with the pytest test runner Mar 21, 2020 5 - Production/Stable pytest (>=4.2) -`pytest-minecraft `_ A pytest plugin for running tests against Minecraft releases Sep 26, 2020 N/A pytest (>=6.0.1,<7.0.0) -`pytest-missing-fixtures `_ Pytest plugin that creates missing fixtures Oct 14, 2020 4 - Beta pytest (>=3.5.0) -`pytest-ml `_ Test your machine learning! May 04, 2019 4 - Beta N/A -`pytest-mocha `_ pytest plugin to display test execution output like a mochajs Apr 02, 2020 4 - Beta pytest (>=5.4.0) -`pytest-mock `_ Thin-wrapper around the mock package for easier use with pytest Jan 10, 2021 5 - Production/Stable pytest (>=5.0) -`pytest-mock-api `_ A mock API server with configurable routes and responses available as a fixture. Feb 13, 2019 1 - Planning pytest (>=4.0.0) -`pytest-mock-helper `_ Help you mock HTTP call and generate mock code Jan 24, 2018 N/A pytest -`pytest-mockito `_ Base fixtures for mockito Jul 11, 2018 4 - Beta N/A -`pytest-mockredis `_ An in-memory mock of a Redis server that runs in a separate thread. This is to be used for unit-tests that require a Redis database. Jan 02, 2018 2 - Pre-Alpha N/A -`pytest-mock-resources `_ A pytest plugin for easily instantiating reproducible mock resources. Feb 17, 2021 N/A pytest (>=1.0) -`pytest-mock-server `_ Mock server plugin for pytest Apr 06, 2020 4 - Beta N/A -`pytest-mockservers `_ A set of fixtures to test your requests to HTTP/UDP servers Mar 31, 2020 N/A pytest (>=4.3.0) -`pytest-modifyjunit `_ Utility for adding additional properties to junit xml for IDM QE Jan 10, 2019 N/A N/A -`pytest-modifyscope `_ pytest plugin to modify fixture scope Apr 12, 2020 N/A pytest -`pytest-molecule `_ PyTest Molecule Plugin :: discover and run molecule tests Jan 25, 2021 5 - Production/Stable N/A -`pytest-mongo `_ MongoDB process and client fixtures plugin for py.test. Jan 12, 2021 5 - Production/Stable pytest (>=3.0.0) -`pytest-mongodb `_ pytest plugin for MongoDB fixtures Dec 07, 2019 5 - Production/Stable pytest (>=2.5.2) -`pytest-monitor `_ Pytest plugin for analyzing resource usage. Feb 07, 2021 5 - Production/Stable pytest -`pytest-monkeyplus `_ pytest's monkeypatch subclass with extra functionalities Sep 18, 2012 5 - Production/Stable N/A -`pytest-monkeytype `_ pytest-monkeytype: Generate Monkeytype annotations from your pytest tests. Jul 29, 2020 4 - Beta N/A -`pytest-moto `_ Fixtures for integration tests of AWS services,uses moto mocking library. Aug 28, 2015 1 - Planning N/A -`pytest-mp `_ A test batcher for multiprocessed Pytest runs May 23, 2018 4 - Beta pytest -`pytest-mpi `_ pytest plugin to collect information from tests Mar 14, 2021 3 - Alpha N/A -`pytest-mpl `_ pytest plugin to help with testing figures output from Matplotlib Nov 05, 2020 4 - Beta pytest -`pytest-mproc `_ low-startup-overhead, scalable, distributed-testing pytest plugin Mar 07, 2021 4 - Beta pytest -`pytest-multihost `_ Utility for writing multi-host tests for pytest Apr 07, 2020 4 - Beta N/A -`pytest-multilog `_ Multi-process logs handling and other helpers for pytest Nov 15, 2020 N/A N/A -`pytest-mutagen `_ Add the mutation testing feature to pytest Jul 24, 2020 N/A pytest (>=5.4) -`pytest-mypy `_ Mypy static type checker plugin for Pytest Nov 14, 2020 4 - Beta pytest (>=3.5) -`pytest-mypyd `_ Mypy static type checker plugin for Pytest Aug 20, 2019 4 - Beta pytest (<4.7,>=2.8) ; python_version < "3.5" -`pytest-mypy-plugins `_ pytest plugin for writing tests for mypy plugins Oct 26, 2020 3 - Alpha pytest (>=6.0.0) -`pytest-mypy-plugins-shim `_ Substitute for "pytest-mypy-plugins" for Python implementations which aren't supported by mypy. Feb 14, 2021 N/A pytest (>=6.0.0) -`pytest-mypy-testing `_ Pytest plugin to check mypy output. Apr 24, 2020 N/A pytest -`pytest-mysql `_ MySQL process and client fixtures for pytest Jul 21, 2020 5 - Production/Stable pytest (>=3.0.0) -`pytest-needle `_ pytest plugin for visual testing websites using selenium Dec 10, 2018 4 - Beta pytest (<5.0.0,>=3.0.0) -`pytest-neo `_ pytest-neo is a plugin for pytest that shows tests like screen of Matrix. Apr 23, 2019 3 - Alpha pytest (>=3.7.2) -`pytest-network `_ A simple plugin to disable network on socket level. May 07, 2020 N/A N/A -`pytest-nginx `_ nginx fixture for pytest Aug 12, 2017 5 - Production/Stable N/A -`pytest-nginx-iplweb `_ nginx fixture for pytest - iplweb temporary fork Mar 01, 2019 5 - Production/Stable N/A -`pytest-ngrok `_ Jan 22, 2020 3 - Alpha N/A -`pytest-ngsfixtures `_ pytest ngs fixtures Sep 06, 2019 2 - Pre-Alpha pytest (>=5.0.0) -`pytest-nice `_ A pytest plugin that alerts user of failed test cases with screen notifications May 04, 2019 4 - Beta pytest -`pytest-nocustom `_ Run all tests without custom markers May 04, 2019 5 - Production/Stable N/A -`pytest-nodev `_ Test-driven source code search for Python. Jul 21, 2016 4 - Beta pytest (>=2.8.1) -`pytest-notebook `_ A pytest plugin for testing Jupyter Notebooks Sep 16, 2020 4 - Beta pytest (>=3.5.0) -`pytest-notice `_ Send pytest execution result email Nov 05, 2020 N/A N/A -`pytest-notification `_ A pytest plugin for sending a desktop notification and playing a sound upon completion of tests Jun 19, 2020 N/A pytest (>=4) -`pytest-notifier `_ A pytest plugin to notify test result Jun 12, 2020 3 - Alpha pytest -`pytest-notimplemented `_ Pytest markers for not implemented features and tests. Aug 27, 2019 N/A pytest (>=5.1,<6.0) -`pytest-notion `_ A PyTest Reporter to send test runs to Notion.so Aug 07, 2019 N/A N/A -`pytest-nunit `_ A pytest plugin for generating NUnit3 test result XML output Aug 04, 2020 4 - Beta pytest (>=3.5.0) -`pytest-ochrus `_ pytest results data-base and HTML reporter Feb 21, 2018 4 - Beta N/A -`pytest-odoo `_ py.test plugin to run Odoo tests Aug 19, 2020 4 - Beta pytest (>=2.9) -`pytest-odoo-fixtures `_ Project description Jun 25, 2019 N/A N/A -`pytest-oerp `_ pytest plugin to test OpenERP modules Feb 28, 2012 3 - Alpha N/A -`pytest-ok `_ The ultimate pytest output plugin Apr 01, 2019 4 - Beta N/A -`pytest-only `_ Use @pytest.mark.only to run a single test Jan 19, 2020 N/A N/A -`pytest-oot `_ Run object-oriented tests in a simple format Sep 18, 2016 4 - Beta N/A -`pytest-openfiles `_ Pytest plugin for detecting inadvertent open file handles Apr 16, 2020 3 - Alpha pytest (>=4.6) -`pytest-opentmi `_ pytest plugin for publish results to opentmi Feb 26, 2021 5 - Production/Stable pytest (>=5.0) -`pytest-operator `_ Fixtures for Operators Feb 20, 2021 N/A N/A -`pytest-optional `_ include/exclude values of fixtures in pytest Oct 07, 2015 N/A N/A -`pytest-optional-tests `_ Easy declaration of optional tests (i.e., that are not run by default) Jul 09, 2019 4 - Beta pytest (>=4.5.0) -`pytest-orchestration `_ A pytest plugin for orchestrating tests Jul 18, 2019 N/A N/A -`pytest-order `_ pytest plugin to run your tests in a specific order Feb 16, 2021 4 - Beta pytest (>=3.7) -`pytest-ordering `_ pytest plugin to run your tests in a specific order Nov 14, 2018 4 - Beta pytest -`pytest-osxnotify `_ OS X notifications for py.test results. May 15, 2015 N/A N/A -`pytest-pact `_ A simple plugin to use with pytest Jan 07, 2019 4 - Beta N/A -`pytest-parallel `_ a pytest plugin for parallel and concurrent testing Apr 30, 2020 3 - Alpha pytest (>=3.0.0) -`pytest-param `_ pytest plugin to test all, first, last or random params Sep 11, 2016 4 - Beta pytest (>=2.6.0) -`pytest-paramark `_ Configure pytest fixtures using a combination of"parametrize" and markers Jan 10, 2020 4 - Beta pytest (>=4.5.0) -`pytest-parametrization `_ Simpler PyTest parametrization Jul 28, 2019 5 - Production/Stable N/A -`pytest-parametrize-cases `_ A more user-friendly way to write parametrized tests. Dec 12, 2020 N/A pytest (>=6.1.2,<7.0.0) -`pytest-parametrized `_ Pytest plugin for parametrizing tests with default iterables. Oct 19, 2020 5 - Production/Stable pytest -`pytest-parawtf `_ Finally spell paramete?ri[sz]e correctly Dec 03, 2018 4 - Beta pytest (>=3.6.0) -`pytest-pass `_ Check out https://github.com/elilutsky/pytest-pass Dec 04, 2019 N/A N/A -`pytest-passrunner `_ Pytest plugin providing the 'run_on_pass' marker Feb 10, 2021 5 - Production/Stable pytest (>=4.6.0) -`pytest-paste-config `_ Allow setting the path to a paste config file Sep 18, 2013 3 - Alpha N/A -`pytest-pdb `_ pytest plugin which adds pdb helper commands related to pytest. Jul 31, 2018 N/A N/A -`pytest-peach `_ pytest plugin for fuzzing with Peach API Security Apr 12, 2019 4 - Beta pytest (>=2.8.7) -`pytest-pep257 `_ py.test plugin for pep257 Jul 09, 2016 N/A N/A -`pytest-pep8 `_ pytest plugin to check PEP8 requirements Apr 27, 2014 N/A N/A -`pytest-percent `_ Change the exit code of pytest test sessions when a required percent of tests pass. May 21, 2020 N/A pytest (>=5.2.0) -`pytest-performance `_ A simple plugin to ensure the execution of critical sections of code has not been impacted Sep 11, 2020 5 - Production/Stable pytest (>=3.7.0) -`pytest-persistence `_ Pytest tool for persistent objects Mar 09, 2021 N/A N/A -`pytest-pgsql `_ Pytest plugins and helpers for tests using a Postgres database. May 13, 2020 5 - Production/Stable pytest (>=3.0.0) -`pytest-picked `_ Run the tests related to the changed files Dec 23, 2020 N/A pytest (>=3.5.0) -`pytest-pigeonhole `_ Jun 25, 2018 5 - Production/Stable pytest (>=3.4) -`pytest-pikachu `_ Show surprise when tests are passing Sep 30, 2019 4 - Beta pytest -`pytest-pilot `_ Slice in your test base thanks to powerful markers. Oct 09, 2020 5 - Production/Stable N/A -`pytest-pings `_ 🦊 The pytest plugin for Firefox Telemetry 📊 Jun 29, 2019 3 - Alpha pytest (>=5.0.0) -`pytest-pinned `_ A simple pytest plugin for pinning tests Jan 21, 2021 4 - Beta pytest (>=3.5.0) -`pytest-pinpoint `_ A pytest plugin which runs SBFL algorithms to detect faults. Sep 25, 2020 N/A pytest (>=4.4.0) -`pytest-pipeline `_ Pytest plugin for functional testing of data analysispipelines Jan 24, 2017 3 - Alpha N/A -`pytest-platform-markers `_ Markers for pytest to skip tests on specific platforms Sep 09, 2019 4 - Beta pytest (>=3.6.0) -`pytest-play `_ pytest plugin that let you automate actions and assertions with test metrics reporting executing plain YAML files Jun 12, 2019 5 - Production/Stable N/A -`pytest-playbook `_ Pytest plugin for reading playbooks. Jan 21, 2021 3 - Alpha pytest (>=6.1.2,<7.0.0) -`pytest-playwright `_ A pytest wrapper with fixtures for Playwright to automate web browsers Feb 25, 2021 N/A pytest -`pytest-plt `_ Fixtures for quickly making Matplotlib plots in tests Aug 17, 2020 5 - Production/Stable pytest -`pytest-plugin-helpers `_ A plugin to help developing and testing other plugins Nov 23, 2019 4 - Beta pytest (>=3.5.0) -`pytest-plus `_ PyTest Plus Plugin :: extends pytest functionality Mar 19, 2020 5 - Production/Stable pytest (>=3.50) -`pytest-pmisc `_ Mar 21, 2019 5 - Production/Stable N/A -`pytest-pointers `_ Pytest plugin to define functions you test with special marks for better navigation and reports Dec 14, 2020 N/A N/A -`pytest-polarion-cfme `_ pytest plugin for collecting test cases and recording test results Nov 13, 2017 3 - Alpha N/A -`pytest-polarion-collect `_ pytest plugin for collecting polarion test cases data Jun 18, 2020 3 - Alpha pytest -`pytest-polecat `_ Provides Polecat pytest fixtures Aug 12, 2019 4 - Beta N/A -`pytest-ponyorm `_ PonyORM in Pytest Oct 31, 2018 N/A pytest (>=3.1.1) -`pytest-poo `_ Visualize your crappy tests Jul 14, 2013 5 - Production/Stable N/A -`pytest-poo-fail `_ Visualize your failed tests with poo Feb 12, 2015 5 - Production/Stable N/A -`pytest-pop `_ A pytest plugin to help with testing pop projects Aug 13, 2020 5 - Production/Stable pytest (>=5.4.0) -`pytest-portion `_ Select a portion of the collected tests Jan 28, 2021 4 - Beta pytest (>=3.5.0) -`pytest-postgres `_ Run PostgreSQL in Docker container in Pytest. Mar 22, 2020 N/A pytest -`pytest-postgresql `_ Postgresql fixtures and fixture factories for Pytest. Feb 23, 2021 5 - Production/Stable pytest (>=3.0.0) -`pytest-power `_ pytest plugin with powerful fixtures Dec 31, 2020 N/A pytest (>=5.4) -`pytest-pride `_ Minitest-style test colors Apr 02, 2016 3 - Alpha N/A -`pytest-print `_ pytest-print adds the printer fixture you can use to print messages to the user (directly to the pytest runner, not stdout) Oct 23, 2020 5 - Production/Stable pytest (>=3.0.0) -`pytest-profiling `_ Profiling plugin for py.test May 28, 2019 5 - Production/Stable pytest -`pytest-progress `_ pytest plugin for instant test progress status Oct 06, 2020 5 - Production/Stable N/A -`pytest-prometheus `_ Report test pass / failures to a Prometheus PushGateway Oct 03, 2017 N/A N/A -`pytest-prosper `_ Test helpers for Prosper projects Sep 24, 2018 N/A N/A -`pytest-pspec `_ A rspec format reporter for Python ptest Jun 02, 2020 4 - Beta pytest (>=3.0.0) -`pytest-pudb `_ Pytest PuDB debugger integration Oct 25, 2018 3 - Alpha pytest (>=2.0) -`pytest-purkinje `_ py.test plugin for purkinje test runner Oct 28, 2017 2 - Pre-Alpha N/A -`pytest-pycharm `_ Plugin for py.test to enter PyCharm debugger on uncaught exceptions Aug 13, 2020 5 - Production/Stable pytest (>=2.3) -`pytest-pycodestyle `_ pytest plugin to run pycodestyle Aug 10, 2020 3 - Alpha N/A -`pytest-pydev `_ py.test plugin to connect to a remote debug server with PyDev or PyCharm. Nov 15, 2017 3 - Alpha N/A -`pytest-pydocstyle `_ pytest plugin to run pydocstyle Aug 10, 2020 3 - Alpha N/A -`pytest-pylint `_ pytest plugin to check source code with pylint Nov 09, 2020 5 - Production/Stable pytest (>=5.4) -`pytest-pypi `_ Easily test your HTTP library against a local copy of pypi Mar 04, 2018 3 - Alpha N/A -`pytest-pypom-navigation `_ Core engine for cookiecutter-qa and pytest-play packages Feb 18, 2019 4 - Beta pytest (>=3.0.7) -`pytest-pyppeteer `_ A plugin to run pyppeteer in pytest. Feb 16, 2021 4 - Beta pytest (>=6.0.2) -`pytest-pyq `_ Pytest fixture "q" for pyq Mar 10, 2020 5 - Production/Stable N/A -`pytest-pyramid `_ pytest_pyramid - provides fixtures for testing pyramid applications with pytest test suite Feb 26, 2021 5 - Production/Stable pytest -`pytest-pyramid-server `_ Pyramid server fixture for py.test May 28, 2019 5 - Production/Stable pytest -`pytest-pytestrail `_ Pytest plugin for interaction with TestRail Aug 27, 2020 4 - Beta pytest (>=3.8.0) -`pytest-pythonpath `_ pytest plugin for adding to the PYTHONPATH from command line or configs. Aug 22, 2018 5 - Production/Stable N/A -`pytest-qml `_ Run QML Tests with pytest Dec 02, 2020 4 - Beta pytest (>=6.0.0) -`pytest-qt `_ pytest support for PyQt and PySide applications Dec 07, 2019 5 - Production/Stable pytest (>=3.0.0) -`pytest-qt-app `_ QT app fixture for py.test Dec 23, 2015 5 - Production/Stable N/A -`pytest-quarantine `_ A plugin for pytest to manage expected test failures Nov 24, 2019 5 - Production/Stable pytest (>=4.6) -`pytest-quickcheck `_ pytest plugin to generate random data inspired by QuickCheck Nov 15, 2020 4 - Beta pytest (<6.0.0,>=4.0) -`pytest-rabbitmq `_ RabbitMQ process and client fixtures for pytest Jan 11, 2021 5 - Production/Stable pytest (>=3.0.0) -`pytest-race `_ Race conditions tester for pytest Nov 21, 2016 4 - Beta N/A -`pytest-rage `_ pytest plugin to implement PEP712 Oct 21, 2011 3 - Alpha N/A -`pytest-raises `_ An implementation of pytest.raises as a pytest.mark fixture Apr 23, 2020 N/A pytest (>=3.2.2) -`pytest-raisesregexp `_ Simple pytest plugin to look for regex in Exceptions Dec 18, 2015 N/A N/A -`pytest-raisin `_ Plugin enabling the use of exception instances with pytest.raises Jun 25, 2020 N/A pytest -`pytest-random `_ py.test plugin to randomize tests Apr 28, 2013 3 - Alpha N/A -`pytest-randomly `_ Pytest plugin to randomly order tests and control random.seed. Nov 16, 2020 5 - Production/Stable pytest -`pytest-randomness `_ Pytest plugin about random seed management May 30, 2019 3 - Alpha N/A -`pytest-random-num `_ Randomise the order in which pytest tests are run with some control over the randomness Oct 19, 2020 5 - Production/Stable N/A -`pytest-random-order `_ Randomise the order in which pytest tests are run with some control over the randomness Nov 30, 2018 5 - Production/Stable pytest (>=3.0.0) -`pytest-readme `_ Test your README.md file Dec 28, 2014 5 - Production/Stable N/A -`pytest-reana `_ Pytest fixtures for REANA. Nov 24, 2020 3 - Alpha N/A -`pytest-recording `_ A pytest plugin that allows you recording of network interactions via VCR.py Nov 25, 2020 4 - Beta pytest (>=3.5.0) -`pytest-recordings `_ Provides pytest plugins for reporting request/response traffic, screenshots, and more to ReportPortal Aug 13, 2020 N/A N/A -`pytest-redis `_ Redis fixtures and fixture factories for Pytest. Oct 15, 2019 5 - Production/Stable pytest (>=3.0.0) -`pytest-redmine `_ Pytest plugin for redmine Mar 19, 2018 1 - Planning N/A -`pytest-ref `_ A plugin to store reference files to ease regression testing Nov 23, 2019 4 - Beta pytest (>=3.5.0) -`pytest-reference-formatter `_ Conveniently run pytest with a dot-formatted test reference. Oct 01, 2019 4 - Beta N/A -`pytest-regressions `_ Easy to use fixtures to write regression tests. Jan 27, 2021 5 - Production/Stable pytest (>=3.5.0) -`pytest-regtest `_ pytest plugin for regression tests Sep 16, 2020 N/A N/A -`pytest-relaxed `_ Relaxed test discovery/organization for pytest Jun 14, 2019 5 - Production/Stable pytest (<5,>=3) -`pytest-remfiles `_ Pytest plugin to create a temporary directory with remote files Jul 01, 2019 5 - Production/Stable N/A -`pytest-remotedata `_ Pytest plugin for controlling remote data access. Jul 20, 2019 3 - Alpha pytest (>=3.1) -`pytest-remove-stale-bytecode `_ py.test plugin to remove stale byte code files. Mar 04, 2020 4 - Beta pytest -`pytest-reorder `_ Reorder tests depending on their paths and names. May 31, 2018 4 - Beta pytest -`pytest-repeat `_ pytest plugin for repeating tests Oct 31, 2020 5 - Production/Stable pytest (>=3.6) -`pytest-replay `_ Saves previous test runs and allow re-execute previous pytest runs to reproduce crashes or flaky tests Dec 09, 2020 4 - Beta pytest (>=3.0.0) -`pytest-repo-health `_ A pytest plugin to report on repository standards conformance Nov 03, 2020 3 - Alpha pytest -`pytest-report `_ Creates json report that is compatible with atom.io's linter message format May 11, 2016 4 - Beta N/A -`pytest-reporter `_ Generate Pytest reports with templates Nov 05, 2020 4 - Beta pytest -`pytest-reporter-html1 `_ A basic HTML report template for Pytest Nov 02, 2020 4 - Beta N/A -`pytest-reportinfra `_ Pytest plugin for reportinfra Aug 11, 2019 3 - Alpha N/A -`pytest-reporting `_ A plugin to report summarized results in a table format Oct 25, 2019 4 - Beta pytest (>=3.5.0) -`pytest-reportlog `_ Replacement for the --resultlog option, focused in simplicity and extensibility Dec 11, 2020 3 - Alpha pytest (>=5.2) -`pytest-report-me `_ A pytest plugin to generate report. Dec 31, 2020 N/A pytest -`pytest-report-parameters `_ pytest plugin for adding tests' parameters to junit report Jun 18, 2020 3 - Alpha pytest (>=2.4.2) -`pytest-reportportal `_ Agent for Reporting results of tests to the Report Portal Feb 15, 2021 N/A pytest (>=3.0.7) -`pytest-reqs `_ pytest plugin to check pinned requirements May 12, 2019 N/A pytest (>=2.4.2) -`pytest-requests `_ A simple plugin to use with pytest Jun 24, 2019 4 - Beta pytest (>=3.5.0) -`pytest-reraise `_ Make multi-threaded pytest test cases fail when they should Jun 03, 2020 5 - Production/Stable N/A -`pytest-rerun `_ Re-run only changed files in specified branch Jul 08, 2019 N/A pytest (>=3.6) -`pytest-rerunfailures `_ pytest plugin to re-run tests to eliminate flaky failures Sep 29, 2020 5 - Production/Stable pytest (>=5.0) -`pytest-resilient-circuits `_ Resilient Circuits fixtures for PyTest. Feb 19, 2021 N/A N/A -`pytest-resource `_ Load resource fixture plugin to use with pytest Nov 14, 2018 4 - Beta N/A -`pytest-resource-path `_ Provides path for uniform access to test resources in isolated directory Aug 18, 2020 5 - Production/Stable pytest (>=3.5.0) -`pytest-responsemock `_ Simplified requests calls mocking for pytest Oct 10, 2020 5 - Production/Stable N/A -`pytest-responses `_ py.test integration for responses Jan 29, 2019 N/A N/A -`pytest-restrict `_ Pytest plugin to restrict the test types allowed Dec 03, 2020 5 - Production/Stable pytest -`pytest-rethinkdb `_ A RethinkDB plugin for pytest. Jul 24, 2016 4 - Beta N/A -`pytest-reverse `_ Pytest plugin to reverse test order. Dec 27, 2020 5 - Production/Stable pytest -`pytest-ringo `_ pytest plugin to test webapplications using the Ringo webframework Sep 27, 2017 3 - Alpha N/A -`pytest-rng `_ Fixtures for seeding tests and making randomness reproducible Aug 08, 2019 5 - Production/Stable pytest -`pytest-roast `_ pytest plugin for ROAST configuration override and fixtures Feb 05, 2021 5 - Production/Stable pytest (<6) -`pytest-rotest `_ Pytest integration with rotest Sep 08, 2019 N/A pytest (>=3.5.0) -`pytest-rpc `_ Extend py.test for RPC OpenStack testing. Feb 22, 2019 4 - Beta pytest (~=3.6) -`pytest-rt `_ pytest data collector plugin for Testgr Mar 03, 2021 N/A N/A -`pytest-rts `_ Coverage-based regression test selection (RTS) plugin for pytest Mar 03, 2021 N/A pytest -`pytest-runfailed `_ implement a --failed option for pytest Mar 24, 2016 N/A N/A -`pytest-runner `_ Invoke py.test as distutils command with dependency resolution Feb 12, 2021 5 - Production/Stable pytest (!=3.7.3,>=3.5) ; extra == 'testing' -`pytest-salt `_ Pytest Salt Plugin Jan 27, 2020 4 - Beta N/A -`pytest-salt-containers `_ A Pytest plugin that builds and creates docker containers Nov 09, 2016 4 - Beta N/A -`pytest-salt-factories `_ Pytest Salt Plugin Mar 05, 2021 4 - Beta pytest (>=6.1.1) -`pytest-salt-from-filenames `_ Simple PyTest Plugin For Salt's Test Suite Specifically Jan 29, 2019 4 - Beta pytest (>=4.1) -`pytest-salt-runtests-bridge `_ Simple PyTest Plugin For Salt's Test Suite Specifically Dec 05, 2019 4 - Beta pytest (>=4.1) -`pytest-sanic `_ a pytest plugin for Sanic Feb 27, 2021 N/A pytest (>=5.2) -`pytest-sanity `_ Dec 07, 2020 N/A N/A -`pytest-sa-pg `_ May 14, 2019 N/A N/A -`pytest-sbase `_ A complete web automation framework for end-to-end testing. Mar 10, 2021 5 - Production/Stable N/A -`pytest-scenario `_ pytest plugin for test scenarios Feb 06, 2017 3 - Alpha N/A -`pytest-schema `_ 👍 Validate return values against a schema-like object in testing Aug 31, 2020 5 - Production/Stable pytest (>=3.5.0) -`pytest-securestore `_ An encrypted password store for use within pytest cases Jun 19, 2019 4 - Beta N/A -`pytest-select `_ A pytest plugin which allows to (de-)select tests from a file. Jan 18, 2019 3 - Alpha pytest (>=3.0) -`pytest-selenium `_ pytest plugin for Selenium Sep 19, 2020 5 - Production/Stable pytest (>=5.0.0) -`pytest-seleniumbase `_ A complete web automation framework for end-to-end testing. Mar 10, 2021 5 - Production/Stable N/A -`pytest-selenium-enhancer `_ pytest plugin for Selenium Nov 26, 2020 5 - Production/Stable N/A -`pytest-selenium-pdiff `_ A pytest package implementing perceptualdiff for Selenium tests. Apr 06, 2017 2 - Pre-Alpha N/A -`pytest-send-email `_ Send pytest execution result email Dec 04, 2019 N/A N/A -`pytest-sentry `_ A pytest plugin to send testrun information to Sentry.io Mar 02, 2021 N/A N/A -`pytest-server-fixtures `_ Extensible server fixures for py.test May 28, 2019 5 - Production/Stable pytest -`pytest-serverless `_ Automatically mocks resources from serverless.yml in pytest using moto. Feb 20, 2021 4 - Beta N/A -`pytest-services `_ Services plugin for pytest testing framework Oct 30, 2020 6 - Mature N/A -`pytest-session2file `_ pytest-session2file (aka: pytest-session_to_file for v0.1.0 - v0.1.2) is a py.test plugin for capturing and saving to file the stdout of py.test. Jan 26, 2021 3 - Alpha pytest -`pytest-session-fixture-globalize `_ py.test plugin to make session fixtures behave as if written in conftest, even if it is written in some modules May 15, 2018 4 - Beta N/A -`pytest-session_to_file `_ pytest-session_to_file is a py.test plugin for capturing and saving to file the stdout of py.test. Oct 01, 2015 3 - Alpha N/A -`pytest-sftpserver `_ py.test plugin to locally test sftp server connections. Sep 16, 2019 4 - Beta N/A -`pytest-shard `_ Dec 11, 2020 4 - Beta pytest -`pytest-shell `_ A pytest plugin for testing shell scripts and line-based processes Jan 18, 2020 N/A N/A -`pytest-sheraf `_ Versatile ZODB abstraction layer - pytest fixtures Feb 11, 2020 N/A pytest -`pytest-sherlock `_ pytest plugin help to find coupled tests Jul 13, 2020 5 - Production/Stable pytest (>=3.5.1) -`pytest-shortcuts `_ Expand command-line shortcuts listed in pytest configuration Oct 29, 2020 4 - Beta pytest (>=3.5.0) -`pytest-shutil `_ A goodie-bag of unix shell and environment tools for py.test May 28, 2019 5 - Production/Stable pytest -`pytest-simple-plugin `_ Simple pytest plugin Nov 27, 2019 N/A N/A -`pytest-simple-settings `_ simple-settings plugin for pytest Nov 17, 2020 4 - Beta pytest -`pytest-single-file-logging `_ Allow for multiple processes to log to a single file May 05, 2016 4 - Beta pytest (>=2.8.1) -`pytest-skipper `_ A plugin that selects only tests with changes in execution path Mar 26, 2017 3 - Alpha pytest (>=3.0.6) -`pytest-skippy `_ Automatically skip tests that don't need to run! Jan 27, 2018 3 - Alpha pytest (>=2.3.4) -`pytest-slack `_ Pytest to Slack reporting plugin Dec 15, 2020 5 - Production/Stable N/A -`pytest-smartcollect `_ A plugin for collecting tests that touch changed code Oct 04, 2018 N/A pytest (>=3.5.0) -`pytest-smartcov `_ Smart coverage plugin for pytest. Sep 30, 2017 3 - Alpha N/A -`pytest-smtp `_ Send email with pytest execution result Feb 20, 2021 N/A pytest -`pytest-snail `_ Plugin for adding a marker to slow running tests. 🐌 Nov 04, 2019 3 - Alpha pytest (>=5.0.1) -`pytest-snapci `_ py.test plugin for Snap-CI Nov 12, 2015 N/A N/A -`pytest-snapshot `_ A plugin to enable snapshot testing with pytest. Jan 22, 2021 4 - Beta pytest (>=3.0.0) -`pytest-snmpserver `_ Sep 14, 2020 N/A N/A -`pytest-socket `_ Pytest Plugin to disable socket calls during tests May 31, 2020 4 - Beta pytest (>=3.6.3) -`pytest-soft-assertions `_ May 05, 2020 3 - Alpha pytest -`pytest-solr `_ Solr process and client fixtures for py.test. May 11, 2020 3 - Alpha pytest (>=3.0.0) -`pytest-sorter `_ A simple plugin to first execute tests that historically failed more Jul 23, 2020 4 - Beta pytest (>=3.1.1) -`pytest-sourceorder `_ Test-ordering plugin for pytest Apr 11, 2017 4 - Beta pytest -`pytest-spark `_ pytest plugin to run the tests with support of pyspark. Feb 23, 2020 4 - Beta pytest -`pytest-spawner `_ py.test plugin to spawn process and communicate with them. Jul 31, 2015 4 - Beta N/A -`pytest-spec `_ Library pytest-spec is a pytest plugin to display test execution output like a SPECIFICATION. Jan 14, 2021 N/A N/A -`pytest-sphinx `_ Doctest plugin for pytest with support for Sphinx-specific doctest-directives Aug 05, 2020 4 - Beta N/A -`pytest-spiratest `_ Exports unit tests as test runs in SpiraTest/Team/Plan Feb 12, 2021 N/A N/A -`pytest-splinter `_ Splinter plugin for pytest testing framework Dec 25, 2020 6 - Mature N/A -`pytest-split `_ Pytest plugin for splitting test suite based on test execution time Apr 07, 2020 1 - Planning N/A -`pytest-splitio `_ Split.io SDK integration for e2e tests Sep 22, 2020 N/A pytest (<7,>=5.0) -`pytest-split-tests `_ A Pytest plugin for running a subset of your tests by splitting them in to equally sized groups. Forked from Mark Adams' original project pytest-test-groups. May 28, 2019 N/A pytest (>=2.5) -`pytest-splunk-addon `_ A Dynamic test tool for Splunk Apps and Add-ons Feb 26, 2021 N/A pytest (>5.4.0,<6.1) -`pytest-splunk-addon-ui-smartx `_ Library to support testing Splunk Add-on UX Jan 18, 2021 N/A N/A -`pytest-splunk-env `_ pytest fixtures for interaction with Splunk Enterprise and Splunk Cloud Oct 22, 2020 N/A pytest (>=6.1.1,<7.0.0) -`pytest-sqitch `_ sqitch for pytest Apr 06, 2020 4 - Beta N/A -`pytest-sqlalchemy `_ pytest plugin with sqlalchemy related fixtures Mar 13, 2018 3 - Alpha N/A -`pytest-sql-bigquery `_ Yet another SQL-testing framework for BigQuery provided by pytest plugin Dec 19, 2019 N/A pytest -`pytest-srcpaths `_ Add paths to sys.path Feb 18, 2021 N/A N/A -`pytest-ssh `_ pytest plugin for ssh command run May 27, 2019 N/A pytest -`pytest-start-from `_ Start pytest run from a given point Apr 11, 2016 N/A N/A -`pytest-statsd `_ pytest plugin for reporting to graphite Nov 30, 2018 5 - Production/Stable pytest (>=3.0.0) -`pytest-stepfunctions `_ A small description Jul 07, 2020 4 - Beta pytest -`pytest-steps `_ Create step-wise / incremental tests in pytest. Apr 25, 2020 5 - Production/Stable N/A -`pytest-stepwise `_ Run a test suite one failing test at a time. Dec 01, 2015 4 - Beta N/A -`pytest-stoq `_ A plugin to pytest stoq Feb 09, 2021 4 - Beta N/A -`pytest-stress `_ A Pytest plugin that allows you to loop tests for a user defined amount of time. Dec 07, 2019 4 - Beta pytest (>=3.6.0) -`pytest-structlog `_ Structured logging assertions Jul 16, 2020 N/A pytest -`pytest-structmpd `_ provide structured temporary directory Oct 17, 2018 N/A N/A -`pytest-stub `_ Stub packages, modules and attributes. Apr 28, 2020 5 - Production/Stable N/A -`pytest-stubprocess `_ Provide stub implementations for subprocesses in Python tests Sep 17, 2018 3 - Alpha pytest (>=3.5.0) -`pytest-study `_ A pytest plugin to organize long run tests (named studies) without interfering the regular tests Sep 26, 2017 3 - Alpha pytest (>=2.0) -`pytest-subprocess `_ A plugin to fake subprocess for pytest Aug 22, 2020 5 - Production/Stable pytest (>=4.0.0) -`pytest-subtesthack `_ A hack to explicitly set up and tear down fixtures. Mar 02, 2021 N/A N/A -`pytest-subtests `_ unittest subTest() support and subtests fixture Dec 13, 2020 4 - Beta pytest (>=5.3.0) -`pytest-subunit `_ pytest-subunit is a plugin for py.test which outputs testsresult in subunit format. Aug 29, 2017 N/A N/A -`pytest-sugar `_ pytest-sugar is a plugin for pytest that changes the default look and feel of pytest (e.g. progressbar, show tests that fail instantly). Jul 06, 2020 3 - Alpha N/A -`pytest-sugar-bugfix159 `_ Workaround for https://github.com/Frozenball/pytest-sugar/issues/159 Nov 07, 2018 5 - Production/Stable pytest (!=3.7.3,>=3.5); extra == 'testing' -`pytest-super-check `_ Pytest plugin to check your TestCase classes call super in setUp, tearDown, etc. Dec 13, 2020 5 - Production/Stable pytest -`pytest-svn `_ SVN repository fixture for py.test May 28, 2019 5 - Production/Stable pytest -`pytest-symbols `_ pytest-symbols is a pytest plugin that adds support for passing test environment symbols into pytest tests. Nov 20, 2017 3 - Alpha N/A -`pytest-tap `_ Test Anything Protocol (TAP) reporting plugin for pytest Nov 07, 2020 5 - Production/Stable pytest (>=3.0) -`pytest-target `_ Pytest plugin for remote target orchestration. Jan 21, 2021 3 - Alpha pytest (>=6.1.2,<7.0.0) -`pytest-tblineinfo `_ tblineinfo is a py.test plugin that insert the node id in the final py.test report when --tb=line option is used Dec 01, 2015 3 - Alpha pytest (>=2.0) -`pytest-teamcity-logblock `_ py.test plugin to introduce block structure in teamcity build log, if output is not captured May 15, 2018 4 - Beta N/A -`pytest-telegram `_ Pytest to Telegram reporting plugin Dec 10, 2020 5 - Production/Stable N/A -`pytest-tempdir `_ Predictable and repeatable tempdir support. Oct 11, 2019 4 - Beta pytest (>=2.8.1) -`pytest-terraform `_ A pytest plugin for using terraform fixtures Oct 20, 2020 N/A pytest (>=6.0.0,<6.1.0) -`pytest-terraform-fixture `_ generate terraform resources to use with pytest Nov 14, 2018 4 - Beta N/A -`pytest-testbook `_ A plugin to run tests written in Jupyter notebook Dec 11, 2016 3 - Alpha N/A -`pytest-testconfig `_ Test configuration plugin for pytest. Jan 11, 2020 4 - Beta pytest (>=3.5.0) -`pytest-testdirectory `_ A py.test plugin providing temporary directories in unit tests. Nov 06, 2018 5 - Production/Stable pytest -`pytest-testdox `_ A testdox format reporter for pytest Oct 13, 2020 5 - Production/Stable pytest (>=3.7.0) -`pytest-test-groups `_ A Pytest plugin for running a subset of your tests by splitting them in to equally sized groups. Oct 25, 2016 5 - Production/Stable N/A -`pytest-testinfra `_ Test infrastructures Nov 12, 2020 5 - Production/Stable pytest (!=3.0.2) -`pytest-testlink-adaptor `_ pytest reporting plugin for testlink Dec 20, 2018 4 - Beta pytest (>=2.6) -`pytest-testmon `_ selects tests affected by changed files and methods Aug 05, 2020 4 - Beta N/A -`pytest-testobject `_ Plugin to use TestObject Suites with Pytest Sep 24, 2019 4 - Beta pytest (>=3.1.1) -`pytest-testrail `_ pytest plugin for creating TestRail runs and adding results Aug 27, 2020 N/A pytest (>=3.6) -`pytest-testrail2 `_ A small example package Nov 17, 2020 N/A pytest (>=5) -`pytest-testrail-api `_ Плагин Pytest, для интеграции с TestRail Dec 09, 2020 N/A pytest (>=5.5) -`pytest-testrail-client `_ pytest plugin for Testrail Sep 29, 2020 5 - Production/Stable N/A -`pytest-testrail-e2e `_ pytest plugin for creating TestRail runs and adding results Jun 11, 2020 N/A pytest (>=3.6) -`pytest-testrail-plugin `_ PyTest plugin for TestRail Apr 21, 2020 3 - Alpha pytest -`pytest-testrail-reporter `_ Sep 10, 2018 N/A N/A -`pytest-testslide `_ TestSlide fixture for pytest Jan 07, 2021 5 - Production/Stable pytest (~=6.2) -`pytest-test-this `_ Plugin for py.test to run relevant tests, based on naively checking if a test contains a reference to the symbol you supply Sep 15, 2019 2 - Pre-Alpha pytest (>=2.3) -`pytest-tesults `_ Tesults plugin for pytest May 18, 2020 5 - Production/Stable pytest (>=3.5.0) -`pytest-tezos `_ pytest-ligo Jan 16, 2020 4 - Beta N/A -`pytest-thawgun `_ Pytest plugin for time travel May 26, 2020 3 - Alpha N/A -`pytest-threadleak `_ Detects thread leaks Sep 08, 2017 4 - Beta N/A -`pytest-timeit `_ A pytest plugin to time test function runs Oct 13, 2016 4 - Beta N/A -`pytest-timeout `_ py.test plugin to abort hanging tests Jul 15, 2020 5 - Production/Stable pytest (>=3.6.0) -`pytest-timeouts `_ Linux-only Pytest plugin to control durations of various test case execution phases Sep 21, 2019 5 - Production/Stable N/A -`pytest-timer `_ A timer plugin for pytest Dec 13, 2020 N/A N/A -`pytest-tipsi-django `_ Oct 14, 2020 4 - Beta pytest (>=6.0.0) -`pytest-tipsi-testing `_ Better fixtures management. Various helpers Nov 04, 2020 4 - Beta pytest (>=3.3.0) -`pytest-tldr `_ A pytest plugin that limits the output to just the things you need. Mar 12, 2021 4 - Beta pytest (>=3.5.0) -`pytest-tm4j-reporter `_ Cloud Jira Test Management (TM4J) PyTest reporter plugin Sep 01, 2020 N/A pytest -`pytest-todo `_ A small plugin for the pytest testing framework, marking TODO comments as failure May 23, 2019 4 - Beta pytest -`pytest-tomato `_ Mar 01, 2019 5 - Production/Stable N/A -`pytest-toolbelt `_ This is just a collection of utilities for pytest, but don't really belong in pytest proper. Aug 12, 2019 3 - Alpha N/A -`pytest-toolbox `_ Numerous useful plugins for pytest. Apr 07, 2018 N/A pytest (>=3.5.0) -`pytest-tornado `_ A py.test plugin providing fixtures and markers to simplify testing of asynchronous tornado applications. Jun 17, 2020 5 - Production/Stable pytest (>=3.6) -`pytest-tornado5 `_ A py.test plugin providing fixtures and markers to simplify testing of asynchronous tornado applications. Nov 16, 2018 5 - Production/Stable pytest (>=3.6) -`pytest-tornado-yen3 `_ A py.test plugin providing fixtures and markers to simplify testing of asynchronous tornado applications. Oct 15, 2018 5 - Production/Stable N/A -`pytest-tornasync `_ py.test plugin for testing Python 3.5+ Tornado code Jul 15, 2019 3 - Alpha pytest (>=3.0) -`pytest-track `_ Feb 26, 2021 3 - Alpha pytest (>=3.0) -`pytest-translations `_ Test your translation files. Oct 26, 2020 5 - Production/Stable N/A -`pytest-travis-fold `_ Folds captured output sections in Travis CI build log Nov 29, 2017 4 - Beta pytest (>=2.6.0) -`pytest-trello `_ Plugin for py.test that integrates trello using markers Nov 20, 2015 5 - Production/Stable N/A -`pytest-trepan `_ Pytest plugin for trepan debugger. Jul 28, 2018 5 - Production/Stable N/A -`pytest-trialtemp `_ py.test plugin for using the same _trial_temp working directory as trial Jun 08, 2015 N/A N/A -`pytest-trio `_ Pytest plugin for trio Oct 16, 2020 N/A N/A -`pytest-tspwplib `_ A simple plugin to use with tspwplib Jan 08, 2021 4 - Beta pytest (>=3.5.0) -`pytest-tstcls `_ Test Class Base Mar 23, 2020 5 - Production/Stable N/A -`pytest-twisted `_ A twisted plugin for pytest. Sep 11, 2020 5 - Production/Stable pytest (>=2.3) -`pytest-typhoon-xray `_ Typhoon HIL plugin for pytest Jun 22, 2020 4 - Beta pytest (>=5.4.2) -`pytest-tytest `_ Typhoon HIL plugin for pytest May 25, 2020 4 - Beta pytest (>=5.4.2) -`pytest-ubersmith `_ Easily mock calls to ubersmith at the `requests` level. Apr 13, 2015 N/A N/A -`pytest-ui `_ Text User Interface for running python tests May 03, 2020 4 - Beta pytest -`pytest-unhandled-exception-exit-code `_ Plugin for py.test set a different exit code on uncaught exceptions Jun 22, 2020 5 - Production/Stable pytest (>=2.3) -`pytest-unittest-filter `_ A pytest plugin for filtering unittest-based test classes Jan 12, 2019 4 - Beta pytest (>=3.1.0) -`pytest-unmarked `_ Run only unmarked tests Aug 27, 2019 5 - Production/Stable N/A -`pytest-unordered `_ Test equality of unordered collections in pytest Nov 02, 2020 4 - Beta pytest (>=6.0.0) -`pytest-vagrant `_ A py.test plugin providing access to vagrant. Mar 23, 2020 5 - Production/Stable pytest -`pytest-valgrind `_ Mar 15, 2020 N/A N/A -`pytest-variables `_ pytest plugin for providing variables to tests/fixtures Oct 23, 2019 5 - Production/Stable pytest (>=2.4.2) -`pytest-vcr `_ Plugin for managing VCR.py cassettes Apr 26, 2019 5 - Production/Stable pytest (>=3.6.0) -`pytest-vcrpandas `_ Test from HTTP interactions to dataframe processed. Jan 12, 2019 4 - Beta pytest -`pytest-venv `_ py.test fixture for creating a virtual environment Aug 04, 2020 4 - Beta pytest -`pytest-verbose-parametrize `_ More descriptive output for parametrized py.test tests May 28, 2019 5 - Production/Stable pytest -`pytest-vimqf `_ A simple pytest plugin that will shrink pytest output when specified, to fit vim quickfix window. Feb 08, 2021 4 - Beta pytest (>=6.2.2,<7.0.0) -`pytest-virtualenv `_ Virtualenv fixture for py.test May 28, 2019 5 - Production/Stable pytest -`pytest-voluptuous `_ Pytest plugin for asserting data against voluptuous schema. Jun 09, 2020 N/A pytest -`pytest-vscodedebug `_ A pytest plugin to easily enable debugging tests within Visual Studio Code Dec 04, 2020 4 - Beta N/A -`pytest-vts `_ pytest plugin for automatic recording of http stubbed tests Jun 05, 2019 N/A pytest (>=2.3) -`pytest-vw `_ pytest-vw makes your failing test cases succeed under CI tools scrutiny Oct 07, 2015 4 - Beta N/A -`pytest-vyper `_ Plugin for the vyper smart contract language. May 28, 2020 2 - Pre-Alpha N/A -`pytest-wa-e2e-plugin `_ Pytest plugin for testing whatsapp bots with end to end tests Feb 18, 2020 4 - Beta pytest (>=3.5.0) -`pytest-watch `_ Local continuous test runner with pytest and watchdog. May 20, 2018 N/A N/A -`pytest-wdl `_ Pytest plugin for testing WDL workflows. Nov 17, 2020 5 - Production/Stable N/A -`pytest-webdriver `_ Selenium webdriver fixture for py.test May 28, 2019 5 - Production/Stable pytest -`pytest-wetest `_ Welian API Automation test framework pytest plugin Nov 10, 2018 4 - Beta N/A -`pytest-whirlwind `_ Testing Tornado. Jun 12, 2020 N/A N/A -`pytest-wholenodeid `_ pytest addon for displaying the whole node id for failures Aug 26, 2015 4 - Beta pytest (>=2.0) -`pytest-winnotify `_ Windows tray notifications for py.test results. Apr 22, 2016 N/A N/A -`pytest-workflow `_ A pytest plugin for configuring workflow/pipeline tests using YAML files Dec 14, 2020 5 - Production/Stable pytest (>=5.4.0) -`pytest-xdist `_ pytest xdist plugin for distributed testing and loop-on-failing modes Feb 09, 2021 5 - Production/Stable pytest (>=6.0.0) -`pytest-xdist-debug-for-graingert `_ pytest xdist plugin for distributed testing and loop-on-failing modes Jul 24, 2019 5 - Production/Stable pytest (>=4.4.0) -`pytest-xdist-forked `_ forked from pytest-xdist Feb 10, 2020 5 - Production/Stable pytest (>=4.4.0) -`pytest-xfaillist `_ Maintain a xfaillist in an additional file to avoid merge-conflicts. Mar 07, 2021 N/A pytest (>=6.2.2,<7.0.0) -`pytest-xfiles `_ Pytest fixtures providing data read from function, module or package related (x)files. Feb 27, 2018 N/A N/A -`pytest-xlog `_ Extended logging for test and decorators May 31, 2020 4 - Beta N/A -`pytest-xpara `_ An extended parametrizing plugin of pytest. Oct 30, 2017 3 - Alpha pytest -`pytest-xprocess `_ A pytest plugin for managing processes across test runs. Mar 02, 2021 4 - Beta pytest (>=2.8) -`pytest-xray `_ May 30, 2019 3 - Alpha N/A -`pytest-xrayjira `_ Mar 17, 2020 3 - Alpha pytest (==4.3.1) -`pytest-xray-server `_ Mar 03, 2021 3 - Alpha N/A -`pytest-xvfb `_ A pytest plugin to run Xvfb for tests. Jun 09, 2020 4 - Beta pytest (>=2.8.1) -`pytest-yaml `_ This plugin is used to load yaml output to your test using pytest framework. Oct 05, 2018 N/A pytest -`pytest-yamltree `_ Create or check file/directory trees described by YAML Mar 02, 2020 4 - Beta pytest (>=3.1.1) -`pytest-yamlwsgi `_ Run tests against wsgi apps defined in yaml May 11, 2010 N/A N/A -`pytest-yapf `_ Run yapf Jul 06, 2017 4 - Beta pytest (>=3.1.1) -`pytest-yapf3 `_ Validate your Python file format with yapf Aug 03, 2020 5 - Production/Stable pytest (>=5.4) -`pytest-yield `_ PyTest plugin to run tests concurrently, each `yield` switch context to other one Jan 23, 2019 N/A N/A -`pytest-zafira `_ A Zafira plugin for pytest Sep 18, 2019 5 - Production/Stable pytest (==4.1.1) -`pytest-zap `_ OWASP ZAP plugin for py.test. May 12, 2014 4 - Beta N/A -`pytest-zigzag `_ Extend py.test for RPC OpenStack testing. Feb 27, 2019 4 - Beta pytest (~=3.6) -============================================================================================================== ======================================================================================================================================================================== ============== ===================== ============================================ diff --git a/doc/en/reference/fixtures.rst b/doc/en/reference/fixtures.rst index 69e1d20b1..6d9b134a7 100644 --- a/doc/en/reference/fixtures.rst +++ b/doc/en/reference/fixtures.rst @@ -5,7 +5,7 @@ .. _`pytest.fixture`: -pytest fixtures: explicit, modular, scalable +Fixtures reference ======================================================== .. seealso:: :ref:`about-fixtures` diff --git a/doc/en/reference/index.rst b/doc/en/reference/index.rst index b62484cdf..fbff0978e 100644 --- a/doc/en/reference/index.rst +++ b/doc/en/reference/index.rst @@ -7,13 +7,6 @@ Reference guides :maxdepth: 1 fixtures - warnings - doctest - cache - unittest - xunit_setup plugin_list - writing_plugins - logging customize reference diff --git a/scripts/update-plugin-list.py b/scripts/update-plugin-list.py index f80e63127..bc4d8a6a6 100644 --- a/scripts/update-plugin-list.py +++ b/scripts/update-plugin-list.py @@ -74,7 +74,7 @@ def iter_plugins(): def main(): plugins = list(iter_plugins()) plugin_table = tabulate.tabulate(plugins, headers="keys", tablefmt="rst") - plugin_list = pathlib.Path("doc", "en", "plugin_list.rst") + plugin_list = pathlib.Path("doc", "en", "reference", "plugin_list.rst") with plugin_list.open("w") as f: f.write(FILE_HEAD) f.write(f"This list contains {len(plugins)} plugins.\n\n")