Skip to main content

suite-doctor

A pytest-integrated health checkup tool. Runs your existing test suite via pytest and reports on its health — not another test framework, a wrapper around the one you already use.

Status

Core pipeline working: runs pytest, parses results, prints a styled summary via the CLI. Flaky test detection in progress.

Why

pytest tells you pass/fail. suite-doctor tells you:

  • Slowest tests, sorted
  • Failures with short message + full traceback available
  • Flaky tests — re-runs failures N times, flags inconsistent ones
  • Coverage summary — % covered, worst-covered files, untested functions
  • Skipped/xfail counts
  • Clean, colorized CLI output (via rich) instead of pytest's default verbose dump

How it works

Shells out to pytest --json-report (via pytest-json-report), parses the JSON, formats a summary. No pytest internals, no plugin hooks — just wraps the CLI you already run.

Requirements

suite-doctor

A pytest-integrated health checkup tool. Runs your existing test suite via pytest and reports on its health — not another test framework, a wrapper around the one you already use.

Status

Early development. Core subprocess runner in progress.

Why

pytest tells you pass/fail. suite-doctor tells you:

  • Coverage summary — % covered, worst-covered files, untested functions
  • Flaky tests — re-runs failures N times, flags inconsistent ones
  • Slowest tests
  • Skipped/xfail counts
  • Clean CLI table output instead of pytest's default verbose dump

How it works

Shells out to pytest --json-report (via pytest-json-report), parses the JSON, formats a summary. No pytest internals, no plugin hooks — just wraps the CLI you already run.

Requirements

  • Python 3.x
  • pytest
  • pytest-json-report
  • pytest-cov

Install

pip install -e .

(placeholder — update once packaged)

Usage

suite-doctor <path-to-project>

(placeholder — update once CLI exists)

  • Python 3.9+
  • pytest
  • pytest-json-report
  • pytest-cov
  • rich

Install

pip install -e .

Usage

suite-doctor <path-to-project>

Example:

suite-doctor ./test-project

Roadmap

  • Subprocess runner (runner.py) — run pytest, capture JSON
  • Parse results into summary/slowest/failures (report.py)
  • CLI output with rich (cli.py)
  • Flaky test detection (re-run failures)
  • Coverage summary formatting
  • --verbose flag for full tracebacks
  • --top flag for slowest-N count

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

suite_doctor-0.1.2.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

suite_doctor-0.1.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file suite_doctor-0.1.2.tar.gz.

File metadata

  • Download URL: suite_doctor-0.1.2.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.13

File hashes

Hashes for suite_doctor-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d957ae8557ee9fe5bc7cf5a8995d28d519c3c3704fad446952cfcc5d19479eec
MD5 63431131a104af6e46aab7c43966b67e
BLAKE2b-256 6f1cd5a9dc9407374ec6e0c576cc764d3c8a02ddbba7f0c872c32215ed00c2ba

See more details on using hashes here.

File details

Details for the file suite_doctor-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: suite_doctor-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.13

File hashes

Hashes for suite_doctor-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 52716fc1093b55789b50d05553116c0c9a38690394648b0ef75b53921b3701a1
MD5 dffb2cd0a19f5ceb363195a550f2f801
BLAKE2b-256 b43cdc56d40cdde3c1b20f209f43dd5ec8626054da3d637c60f88ef3c29cbda0

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