pytest --timeout=30

Category: Python & pip

pytest --timeout=30

Fail any test that takes longer than 30 seconds (pytest-timeout)

Marks any test that takes longer than 30 seconds as a failure. Requires pytest-timeout.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.