Is there some way to speed up the repeated execution of pytest? It seems to spend a lot of time collecting tests, even if I specify which files to execute on th
pytest
In bash, try { find -name '*_test.py'; find -name 'test_*.py'; } | xargs pytest.
bash
{ find -name '*_test.py'; find -name 'test_*.py'; } | xargs pytest
For me, this brings total test time down to a fraction of a second.