You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
during a run of pytest, I discovered that pytest -k option will take all the testcases under a folder and will discover all the names identical to the following case: TEST_NAME*
GitMate.io thinks possibly related issues are #1263 (mapping the fixture parameter with the test method parameter), #1843 (Parameter corruption for parameterized tests), #1123 (does pytest support to this way to collect test cases?), #765 (Re-allow simple class::test selection via "-k"), and #557 (Running a specific test parameter that has '-' causes syntax error).
Hi,
during a run of pytest, I discovered that pytest -k option will take all the testcases under a folder and will discover all the names identical to the following case:
TEST_NAME*
Example,
14:55:18 testsuite/ncso/tosca_adaptor/test_tosca_model_distribute.py::test_tosca_model_distribute PASSED [ 50%]
14:55:30 testsuite/ncso/tosca_adaptor/test_tosca_model_distribute_negative.py::test_tosca_model_distribute_negative PASSED [100%]
the command I used is :
pipenv run py.test testsuite -k test_tosca_model_distribute
The text was updated successfully, but these errors were encountered: