pytest --maxfail=3

Category: Python & pip

pytest --maxfail=3

Stop after 3 test failures

Stops after 3 failures — a balance between seeing all failures and not wading through hundreds.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.