File tree 2 files changed +13
-0
lines changed 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ Oliver Bestwalter
117
117
Omar Kohl
118
118
Omer Hadari
119
119
Patrick Hayes
120
+ Paweł Adamczak
120
121
Pieter Mulder
121
122
Piotr Banaszkiewicz
122
123
Punyashloka 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::
19
19
This is almost equivalent to invoking the command line script ``pytest [...] ``
20
20
directly, except that python will also add the current directory to ``sys.path ``.
21
21
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
+
22
34
Getting help on version, option names, environment variables
23
35
--------------------------------------------------------------
24
36
You can’t perform that action at this time.
0 commit comments