With pytest, one can mark tests using a decorator
@pytest.mark.slow def some_slow_test(): pass
Then, from the command line, one can tell py
Looking through the pytest code (mark.py) and further experimentation shows the following seems to work:
pytest
mark.py
pytest -k "-slow -long"
(Using the --collect-only option speeds up experimentation)
--collect-only