pytest --ff

Category: Python & pip

pytest --ff

Run failed tests first, then the rest

Runs failed tests first, then the rest — so you see failures quickly. --ff means 'failed first'.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.