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
commit 1a66a503b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

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
--------------------------------------------------------------