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.1.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.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: suite_doctor-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 597efecd6e3d0070dfa4dcc2c8493b8b953f3db5e10d59ee2cec8f1916ffa691
MD5 61a03739ff163980f9fd2ac6c4347731
BLAKE2b-256 7e97514e8da0e12099941b71b28c06e4f6d6eb575d70673745a3376d03cf3888

See more details on using hashes here.

File details

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

File metadata

  • Download URL: suite_doctor-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 99aff5be80facb9d9fd3f3ab6b527b8dfaf1f569bd8bed9d6c29fa921f6b76f2
MD5 74c149f6d972495cece6e76851778e34
BLAKE2b-256 5446db450ae47b21c29d8d26f99a58dd9acade9cab7bfbaa1b9a4e2e353e9a0c

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