Skip to main content

No project description provided

Project description

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.

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.4.tar.gz (3.9 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.4-py2.py3-none-any.whl (69.7 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: pytest-duration-insights-0.0.4.tar.gz
  • Upload date:
  • Size: 3.9 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.4.tar.gz
Algorithm Hash digest
SHA256 5270991ee55150021ff953255e555117d2a2b05c6205740d7dbdcd581d04ae76
MD5 8c8493b24de7dab6284c429c42424bd7
BLAKE2b-256 f25b548bdf476325a91a62da904c496247d8a5f3050d592ee2ac23d1efc66def

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_duration_insights-0.0.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 69.7 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.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c55ec443511bad94c61bb7bdddb1171ee6ff17185db6730a4b2a864014248227
MD5 61e903bb9c0b8740f3e918c49994d6d6
BLAKE2b-256 6c8a374dd859b3fa729e78a1067391e085e8b0c297230aa37c0750af7812f474

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