Support multiple -k like "pytest -k foo -k bar" ? #14041
-
|
Would like to be able to do I think the -k should be appended in the argparser and then every one should be intersected during collection, with There were some previous discussions and PRs but they stalled out (e.g. #7229) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Why not just be explicit and use a single |
Beta Was this translation helpful? Give feedback.
Why not just be explicit and use a single
-kwith aandoror? I see a tiny convenience benefit vs. a ton of drawbacks (ambiguity, making it impossible to override a previous selection, being backwards incompatible in a really subtle way, etc.).