This Content is from Stack Overflow. Question asked by Alvin
I can use -k to run the name matched cases in pytest, however I have many matched cases, is there a way to run the whole matched case only?
python -m pytest -k mytest # as i have many matched cases, all below cases would be run # Test.mytest # Test.mytest1 # Test.mytest2 # ...
Is it possible run Test.mytest only?
This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.
This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.