Skip to content

Use -k option to run test_foo but not test_foo_bar #10030

Answered by nicoddemus
jwodder asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately this is not possible currently, the only way to run just test_foo is to pass the full test node id, say pytest tests/test_suite.py::test_foo.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@jwodder
Comment options

@nicoddemus
Comment options

@oakkitten
Comment options

@ramachandargadde
Comment options

@twmr
Comment options

Answer selected by jwodder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants