File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ Oliver Bestwalter
117117Omar Kohl
118118Omer Hadari
119119Patrick Hayes
120+ Paweł Adamczak
120121Pieter Mulder
121122Piotr Banaszkiewicz
122123Punyashloka Biswal
Original file line number Diff line number Diff line change @@ -19,6 +19,18 @@ You can invoke testing through the Python interpreter from the command line::
1919This is almost equivalent to invoking the command line script ``pytest [...] ``
2020directly, except that python will also add the current directory to ``sys.path ``.
2121
22+ Possible exit codes
23+ --------------------------------------------------------------
24+
25+ Running ``pytest `` can result in six different exit codes:
26+
27+ :Exit code 0: All tests were collected and passed successfully
28+ :Exit code 1: Tests were collected and run but some of the tests failed
29+ :Exit code 2: Test execution was interrupted by the user
30+ :Exit code 3: Internal error happened while executing tests
31+ :Exit code 4: pytest command line usage error
32+ :Exit code 5: No tests were collected
33+
2234Getting help on version, option names, environment variables
2335--------------------------------------------------------------
2436
You can’t perform that action at this time.
0 commit comments