Metadata-Version: 2.4
Name: pytest-agent-digest
Version: 0.3.2
Summary: A Pytest plugin to generate a Markdown report for AI Agents
Project-URL: Homepage, https://github.com/callowayproject/pytest-agent-digest
Project-URL: Documentation, https://callowayproject.github.io/pytest-agent-digest
Project-URL: Repository, https://github.com/callowayproject/pytest-agent-digest
Project-URL: Changelog, https://github.com/callowayproject/pytest-agent-digest/CHANGELOG.md
Author-email: Corey Oordt <coreyoordt@gmail.com>
License: BSD License
        
        Copyright (c) 2026, Corey Oordt
        All rights reserved.
        
        Redistribution and use in source and binary forms, with or without modification,
        are permitted provided that the following conditions are met:
        
        * Redistributions of source code must retain the above copyright notice, this
          list of conditions and the following disclaimer.
        
        * Redistributions in binary form must reproduce the above copyright notice, this
          list of conditions and the following disclaimer in the documentation and/or
          other materials provided with the distribution.
        
        * Neither the name of pytest-agent-digest nor the names of its
          contributors may be used to endorse or promote products derived from this
          software without specific prior written permission.
        
        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
        ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
        WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
        IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
        INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
        BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
        DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
        OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
        OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
        OF THE POSSIBILITY OF SUCH DAMAGE.
License-File: LICENSE
Keywords: AI,LLM,agent,pytest,report
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Plugins
Classifier: Framework :: Pytest
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Testing
Requires-Python: >=3.9
Requires-Dist: pytest>=7.0
Description-Content-Type: text/markdown

# 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](https://img.shields.io/pypi/v/pytest-agent-digest)](https://pypi.org/project/pytest-agent-digest/)
[![Python](https://img.shields.io/pypi/pyversions/pytest-agent-digest)](https://pypi.org/project/pytest-agent-digest/)

## Quick start

```bash
# 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:

- [Quickstart guide](https://callowayproject.github.io/pytest-agent-digest/quickstart/)
- [Options reference](https://callowayproject.github.io/pytest-agent-digest/reference/options/)
