I want to run only the which tests are marked as pytest.mark.skip
In my Test class i had marked few test cases are marked as skip. Now i want to run those tests only
You could switch to using skipif conditioned on some environment variable.
i.e.
@pytest.mark.skipif(os.getenv('FORCE2RUN_SKIPPED_TEST')!='1')
How to run a test marked skip in pytest