We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 82763a2 + 8db6642 commit 1a66a50Copy full SHA for 1a66a50
doc/en/usage.rst
@@ -39,6 +39,14 @@ They are represented by the :class:`_pytest.main.ExitCode` enum. The exit codes
39
40
from pytest import ExitCode
41
42
+.. note::
43
+
44
+ If you would like to customize the exit code in some scenarios, specially when
45
+ no tests are collected, consider using the
46
+ `pytest-custom_exit_code <https://github.com/yashtodi94/pytest-custom_exit_code>`__
47
+ plugin.
48
49
50
Getting help on version, option names, environment variables
51
--------------------------------------------------------------
52
0 commit comments