serhii.net

In the middle of the desert you can say anything you want

23 May 2022

Using pytest markers in pycharm

To skip slow tests, first I marked them as…

@pytest.mark.slow
def test_bioconv(tmp_path):
	...

then, in the running configuration, I added the pytest params:

-m "not slow"

(Working with custom markers — pytest documentation)

Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus