Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.17 KB

File metadata and controls

29 lines (19 loc) · 1.17 KB

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: