Mention pytest-custom_exit_code in the docs

Related to #5689
This commit is contained in:
Bruno Oliveira 2019-08-03 10:15:56 -03:00
parent 0d3958e8de
commit 8db6642515
1 changed files with 8 additions and 0 deletions

View File

@ -35,6 +35,14 @@ Running ``pytest`` can result in six different exit codes:
They are represented by the :class:`_pytest.main.ExitCode` enum.
.. note::
If you would like to customize the exit code in some scenarios, specially when
no tests are collected, consider using the
`pytest-custom_exit_code <https://github.com/yashtodi94/pytest-custom_exit_code>`__
plugin.
Getting help on version, option names, environment variables
--------------------------------------------------------------