Repository navigation
|
When running the Is there a way to also get the test name for the skipped test in the short test summary info? |
Replies: 1 comment
|
Yes. Since pytest 8.3.0, run: pytest -rs --no-fold-skipped
The 8.3.0 changelog documents the new flag and its node ID behavior. |

Yes. Since pytest 8.3.0, run:
pytest -rs --no-fold-skipped-rsincludes skipped tests in the short summary;--no-fold-skippedlists them individually by node ID instead of grouping them by reason and showingfile:line. With pytest 9.1.1 I getSKIPPED [1] test_skip.py:4: demonstrationfrom-rs, andSKIPPED test_skip.py::test_named_example - Skipped: demonstrationwith--no-fold-skipped.The 8.3.0 changelog documents the new flag and its node ID behavior.