How to skip edx-platform tests?

I am running all the tests in cms using pytest. At the end it states that some number of tests were skipped. I searched for the @pytest.mark.skip tag in the files but could not find any, then how are they getting skipped. I also want to know how to add more tests to the skipping list without adding the @pytest.mark.skip tag on each test individually.

Hey @Labeeb you can use @pytest.mark.skip. Most of the skipped tests are older than when we added pytest to the platform so it’s using the @skip decorator from the builtin unittest module. Which you’re also welcome to use.

Example