No project description provided
Project description
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.
Preview
We're hosting a demo on GitHub pages. You can view it here. There's also an educational video announcement on calmcode.io found here.
Instructions.
1. Install.
pip install pytest-reportlog pytest-duration-insights
2. Make a report.
pytest --report-log reportlog.jsonl
3. Explore!
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.
Roadmap
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pytest-duration-insights-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dcc6aca40bfbdab2b0b34f0e55c3b5bd4ac41f3a419a2b7b8a22fb7ebe62933 |
|
MD5 | ba0297eb6179fd017ff6c626e2ec3c73 |
|
BLAKE2b-256 | cf09b2129ad0ff70f0283d86e76497ddac9b53f0aa876fec8462dc3408d3721d |
Hashes for pytest_duration_insights-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27f771077f58b558a62fee0af396c1a2efc4aa1217aad9e0cf11d120b2067e86 |
|
MD5 | 9e0f7a7dffc5fc2a0663987d881bad5d |
|
BLAKE2b-256 | 07e15f71f28d1f77ade128b54c20cee04e34508f7480f599d418baf26547c64e |