|
| 1 | +$ pytest --log-cli-format='%(levelname)s: %(message)s' --log-cli-level=DEBUG debugging.py |
| 2 | +============================= test session starts ============================== |
| 3 | +platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 |
| 4 | +rootdir: /home/user |
| 5 | +plugins: dependency-0.5.1 |
| 6 | +collected 5 items |
| 7 | + |
| 8 | +debugging.py::test_a |
| 9 | +-------------------------------- live log setup -------------------------------- |
| 10 | +DEBUG: register setup debugging.py::test_a passed in session scope |
| 11 | +DEBUG: register setup test_a passed in module scope |
| 12 | +-------------------------------- live log call --------------------------------- |
| 13 | +DEBUG: register call debugging.py::test_a skipped in session scope |
| 14 | +DEBUG: register call test_a skipped in module scope |
| 15 | +XFAIL (deliberate fail) [ 20%] |
| 16 | +------------------------------ live log teardown ------------------------------- |
| 17 | +DEBUG: register teardown debugging.py::test_a passed in session scope |
| 18 | +DEBUG: register teardown test_a passed in module scope |
| 19 | + |
| 20 | +debugging.py::test_b |
| 21 | +-------------------------------- live log setup -------------------------------- |
| 22 | +DEBUG: register setup debugging.py::test_b passed in session scope |
| 23 | +DEBUG: register setup test_b passed in module scope |
| 24 | +-------------------------------- live log call --------------------------------- |
| 25 | +DEBUG: register call debugging.py::test_b passed in session scope |
| 26 | +DEBUG: register call test_b passed in module scope |
| 27 | +PASSED [ 40%] |
| 28 | +------------------------------ live log teardown ------------------------------- |
| 29 | +DEBUG: register teardown debugging.py::test_b passed in session scope |
| 30 | +DEBUG: register teardown test_b passed in module scope |
| 31 | + |
| 32 | +debugging.py::test_c |
| 33 | +-------------------------------- live log setup -------------------------------- |
| 34 | +DEBUG: check dependencies of test_c in module scope ... |
| 35 | +DEBUG: ... test_a has not succeeded |
| 36 | +INFO: skip test_c because it depends on test_a |
| 37 | +DEBUG: register setup debugging.py::test_c skipped in session scope |
| 38 | +DEBUG: register setup test_c skipped in module scope |
| 39 | +SKIPPED (test_c depends on test_a) [ 60%] |
| 40 | +------------------------------ live log teardown ------------------------------- |
| 41 | +DEBUG: register teardown debugging.py::test_c passed in session scope |
| 42 | +DEBUG: register teardown test_c passed in module scope |
| 43 | + |
| 44 | +debugging.py::test_d |
| 45 | +-------------------------------- live log setup -------------------------------- |
| 46 | +DEBUG: check dependencies of test_d in module scope ... |
| 47 | +DEBUG: ... test_b succeeded |
| 48 | +DEBUG: register setup debugging.py::test_d passed in session scope |
| 49 | +DEBUG: register setup test_d passed in module scope |
| 50 | +-------------------------------- live log call --------------------------------- |
| 51 | +DEBUG: register call debugging.py::test_d passed in session scope |
| 52 | +DEBUG: register call test_d passed in module scope |
| 53 | +PASSED [ 80%] |
| 54 | +------------------------------ live log teardown ------------------------------- |
| 55 | +DEBUG: register teardown debugging.py::test_d passed in session scope |
| 56 | +DEBUG: register teardown test_d passed in module scope |
| 57 | + |
| 58 | +debugging.py::test_e |
| 59 | +-------------------------------- live log setup -------------------------------- |
| 60 | +DEBUG: check dependencies of test_e in module scope ... |
| 61 | +DEBUG: ... test_b succeeded |
| 62 | +DEBUG: ... test_c has not succeeded |
| 63 | +INFO: skip test_e because it depends on test_c |
| 64 | +DEBUG: register setup debugging.py::test_e skipped in session scope |
| 65 | +DEBUG: register setup test_e skipped in module scope |
| 66 | +SKIPPED (test_e depends on test_c) [100%] |
| 67 | +------------------------------ live log teardown ------------------------------- |
| 68 | +DEBUG: register teardown debugging.py::test_e passed in session scope |
| 69 | +DEBUG: register teardown test_e passed in module scope |
| 70 | + |
| 71 | + |
| 72 | +=================== 2 passed, 2 skipped, 1 xfailed in 0.03s ==================== |
0 commit comments