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 (in progress)
  • Coverage summary — % covered, worst-covered files, untested functions (planned)
  • 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.0.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.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: suite_doctor-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 3927018b1b14d3284850ede35ff87f210631f11efb7de2184dc47a1fa17a1e29
MD5 2ec9219d18f5c69b3c53ec0a67c73f6f
BLAKE2b-256 19ba900c824f4ba179795f20b4edb4ef08b33773ec918e9cb5f928d6695b656f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: suite_doctor-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5cfdc851b31ce54676017d5ab187b14afebc62cc8a4321c8c4c88148487d185
MD5 e23ad7d5a492a955fcf28f158b201a2a
BLAKE2b-256 69b2e1154766fe6fd3c7b2386d270c650cff48dbb36250a57b64093f32af8343

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