I am working with pytest and I need to collect test cases. For this there exists the following command:
pytest --collect-only -q
I am only interested in the tests that would be actually executed, if I would perform for example:
pytest tests/my_tests
(and not the skipped ones). How can I avoid collecting the tests that would skip?