1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
$ pytest -rsx basic.py
============================= test session starts ==============================
platform linux -- Python 3.8.1, pytest-5.3.4, py-1.8.1, pluggy-0.13.1
rootdir: /home/user/tests
plugins: dependency-0.4.0
collected 5 items
basic.py x.s.s [100%]
=========================== short test summary info ============================
SKIPPED [1] /usr/lib/python3.8/site-packages/pytest_dependency.py:87: test_c depends on test_a
SKIPPED [1] /usr/lib/python3.8/site-packages/pytest_dependency.py:87: test_e depends on test_c
XFAIL basic.py::test_a
deliberate fail
=================== 2 passed, 2 skipped, 1 xfailed in 0.06s ====================
|