Skip to main content

No project description provided

Project description

<img src=”https://github.com/koaning/pytest-duration-insights/blob/main/logo.png” width=”225” height=”225” align=”right” />

` Nearly ready, just gotta make sure we package the static web stuff properly. `

# 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.

## Instructions.

  1. Install.

` pip install pytest-reportlog pytest-duration-insights `

  1. Make a report.

` pytest --report-log reportlog.jsonl `

  1. Run this app.

` 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.

## Preview

We’re hosting a demo of this service on GitHub pages. You can view it [here](https://koaning.github.io/pytest-duration-insights/).

## 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

pytest-duration-insights-0.0.3.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_duration_insights-0.0.3-py2.py3-none-any.whl (69.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pytest-duration-insights-0.0.3.tar.gz.

File metadata

  • Download URL: pytest-duration-insights-0.0.3.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.9

File hashes

Hashes for pytest-duration-insights-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e0c98bfc63b2507aa44711a8920b99372cd70c98d7e1f58a2bb1235219e2d848
MD5 ab3e334cfb9b55f638b10aeb71386f4b
BLAKE2b-256 e5cfa83aa5ad918470ae369e39212a6546866ff63295c31286fc37a7a44af673

See more details on using hashes here.

File details

Details for the file pytest_duration_insights-0.0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: pytest_duration_insights-0.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 69.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.9

File hashes

Hashes for pytest_duration_insights-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 807537c9715a7b6ea78ff517b531862d4373c465e796ba5967906fc6315c779b
MD5 935d9b99b17361606d484db9596c3314
BLAKE2b-256 2306c73838af2b9b7b824d5924971ec77437ae323325a7d00bc1f74ded870050

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page