No project description provided
Pytest Duration Insights
This python package offers a small dashboard that helps you investigate long running pytest runs. It's built on top of the report that is generated by pytest-reportlog.
pip install pytest-reportlog pytest-duration-insights
2. Make a report.
pytest --report-log reportlog.jsonl
pytest-duration-insights explore reportlog.jsonl
This will start up a service that tries to help you find areas in your testing code base that are worth investigating.
We're only scratching the surface of what the
reportlog.jsonl file gives us. We might, for
example, also explore how long it takes to setup/teardown tests. Feedback is appreciated,
especially if somebody has a keen insight that has helped in the past.
That said, this project is very much an experiment as well. See it as a thing you could try rather than a best practice.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for pytest-duration-insights-0.1.1.tar.gz
Hashes for pytest_duration_insights-0.1.1-py2.py3-none-any.whl