Skip to main content

A Pytest plugin to generate a Markdown report for AI Agents

Project description

pytest-agent-digest

A pytest plugin that generates compact Markdown digests designed for consumption by AI agents and LLMs. Instead of the standard terminal output, pytest-agent-digest produces structured Markdown that is typically ≥20% smaller in token count than raw pytest output — keeping your context window budget under control.

PyPI Python

Quick start

# Install
pip install pytest-agent-digest

# Print Markdown digest to stdout (replaces normal output)
pytest --agent-digest=term

# Write digest to test-results.md (normal output preserved)
pytest --agent-digest=file

# Both at once
pytest --agent-digest=term --agent-digest=file

Documentation

Full documentation is available at https://callowayproject.github.io/pytest-agent-digest, including:

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_agent_digest-0.3.1.tar.gz (143.0 kB view details)

Uploaded Source

Built Distribution

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

pytest_agent_digest-0.3.1-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file pytest_agent_digest-0.3.1.tar.gz.

File metadata

  • Download URL: pytest_agent_digest-0.3.1.tar.gz
  • Upload date:
  • Size: 143.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pytest_agent_digest-0.3.1.tar.gz
Algorithm Hash digest
SHA256 7c3f6f886d5cccc7350409b31a46ab3a0930d93c8e5b1c4341b919ca903e1072
MD5 666f3d169bf98ddd948110fafdf96c77
BLAKE2b-256 0bf83256526960418ce2108807bdb2601298f8d64b39ca69382a6e11e53fd153

See more details on using hashes here.

File details

Details for the file pytest_agent_digest-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: pytest_agent_digest-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pytest_agent_digest-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b209b755b0e9076dec0e934a3ed583474c71c900f56d115214b9f62a1cfc1ca8
MD5 4544efcdbbd704c8c528845c95149f85
BLAKE2b-256 8b8579f4cbf7ad59b62664410d59d174e908c4e607ed099b0f8c4267fe72f4f3

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