Merge pull request #5690 from nicoddemus/custom-exit-code-docs

Mention pytest-custom_exit_code in the docs
This commit is contained in:
Anthony Sottile
2019-08-04 19:10:36 -07:00
committed by GitHub

View File

@@ -39,6 +39,14 @@ They are represented by the :class:`_pytest.main.ExitCode` enum. The exit codes
from pytest import ExitCode
.. 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
--------------------------------------------------------------