Skip to content
Discussion options

You must be logged in to vote

Yes. Since pytest 8.3.0, run:

pytest -rs --no-fold-skipped

-rs includes skipped tests in the short summary; --no-fold-skipped lists them individually by node ID instead of grouping them by reason and showing file:line. With pytest 9.1.1 I get SKIPPED [1] test_skip.py:4: demonstration from -rs, and SKIPPED test_skip.py::test_named_example - Skipped: demonstration with --no-fold-skipped.

The 8.3.0 changelog documents the new flag and its node ID behavior.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lodagro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants