New issue 765: Re-allow simple class::test selection via "-k" https://bitbucket.org/pytest-dev/pytest/issue/765/re-allow-simple-class-test-selection-via-k
pchambon: Long ago, it was possible to simply copy-paste the name of a failed test (in the form MyClass.my_test"), from the output of a run, to rerun only that tests thanks to the "-k" option. Now that the "-k" has much evolved, one is forced to rewrite with spaces and logical operators, which is quite unhandy when going through a heavy test suite with miscellaneous failing tests. I see that the new output uses double dots instead: "test_abstract_processing.py::TestUserRetriever::test_user_retrieval" wouldn't it then be a good idea to automatically recognize that alternative syntax in the "-k" option, or even in another option dedicated for that ? _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit