{"library":"pytest-fail-slow","title":"pytest-fail-slow","description":"A pytest plugin that fails tests exceeding a configurable duration. v0.6.0 supports both marker-level and command-line slow time thresholds; actively maintained.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install pytest-fail-slow"],"cli":null},"imports":["from pytest_fail_slow import fail_slow"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"# conftest.py\npytest_plugins = ['pytest_fail_slow']\n# then in test\nimport pytest\nfrom pytest_fail_slow import fail_slow\n\n@fail_slow(0.5)\ndef test_fast_enough():\n    import time\n    time.sleep(0.1)\n    assert True","lang":"python","description":"Enable plugin and use @fail_slow decorator to set per-test maximum duration in seconds.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}