{"id":24423,"library":"pytest-extra-durations","title":"pytest-extra-durations","description":"A pytest plugin that reports aggregated test durations per function, per module, and total. Current version 0.1.3 (last release 2019-05-17). Low maintenance, stable for Python 3.5+.","status":"maintenance","version":"0.1.3","language":"python","source_language":"en","source_url":"https://github.com/gabrieldemarmiesse/pytest-extra-durations","tags":["pytest","plugin","durations","testing"],"install":[{"cmd":"pip install pytest-extra-durations","lang":"bash","label":"Standard"}],"dependencies":[{"reason":"Required plugin host","package":"pytest","optional":false}],"imports":[{"note":"","wrong":null,"symbol":"pytest","correct":"import pytest"}],"quickstart":{"code":"# No special import needed; enable with --durations-extra\n# Run tests with extra duration summaries:\n# pytest --durations-extra","lang":"bash","description":"Install and run with --durations-extra flag to see aggregated durations."},"warnings":[{"fix":"pip install pytest-extra-durations","message":"The --durations-extra flag is NOT a builtin pytest flag; you must install pytest-extra-durations for it to work. Running pytest --durations-extra without the plugin results in an 'unrecognized arguments' error.","severity":"gotcha","affected_versions":"all"},{"fix":"Wait for test completion to see extra duration summaries.","message":"The plugin reports durations only after the entire test suite finishes, not per-test during execution. This may confuse users expecting real-time reporting.","severity":"gotcha","affected_versions":"all"},{"fix":"Consider forking or using alternative plugins like pytest-timeout or pytest-benchmark.","message":"No new releases since 2019; compatible with pytest <7. May not work with modern pytest versions due to internal API changes (e.g., pytest 7+).","severity":"deprecated","affected_versions":">=0.1.3"}],"env_vars":null,"search_vec":"'-05':25 '-17':26 '0.1.3':21 '2019':24 '3.5':32 'aggreg':10 'current':19 'durat':4,12,35 'extra':3 'function':14 'last':22 'low':27 'mainten':28 'modul':16 'per':13,15 'plugin':7,34 'pytest':2,6,33 'pytest-extra-dur':1 'python':31 'releas':23 'report':9 'stabl':29 'test':11,36 'total':18 'version':20","created_at":"2026-05-01T08:12:59.948908+00:00","updated_at":"2026-05-01T08:12:59.948908+00:00","problems":[{"fix":"Ensure pytest-extra-durations is installed in the same environment: pip install pytest-extra-durations","cause":"Plugin not installed correctly or not activated.","error":"usage: pytest [options] [file_or_dir] ...\npytest: error: unrecognized arguments: --durations-extra"},{"fix":"Downgrade pytest to version <=6 or use a compatible alternative.","cause":"Plugin is incompatible with pytest version (e.g., pytest 7+ changed hook registration).","error":"AttributeError: module 'pytest' has no attribute 'hookimpl'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.1.3","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/gabrieldemarmiesse/pytest-extra-durations","docs":null,"changelog":null,"pypi":"https://pypi.org/project/pytest-extra-durations/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-29","install_tag":null}}