Metadata-Version: 2.4
Name: evo-adapter-pytest-cov
Version: 0.1.0
Summary: Evolution Engine adapter for pytest-cov coverage reports
Author-email: CodeQual <info@codequal.dev>
License: MIT
Project-URL: Homepage, https://codequal.dev
Project-URL: Repository, https://github.com/codequaldev/evolution-engine
Project-URL: Documentation, https://codequal.dev/docs
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# evo-adapter-pytest-cov

Evolution Engine adapter for pytest-cov coverage reports.

## Usage

```bash
pip install -e .
evo adapter list .   # Shows: [local] testing/pytest_cov
```

## What it does

Parses `coverage.xml` files generated by `pytest-cov` and feeds coverage
metrics into the Evolution Engine pipeline:

- `line_rate` — Fraction of lines covered (0.0–1.0)
- `branch_rate` — Fraction of branches covered (0.0–1.0)
- `lines_covered` / `lines_missing` — Absolute line counts
- `packages_covered` — Number of packages with coverage data

## Reference Implementation

This adapter demonstrates the full adapter lifecycle:
1. Scaffold with `evo adapter new`
2. Implement `iter_events()` to parse coverage.xml
3. Validate with `evo adapter validate`
4. Security scan with `evo adapter security-check`
5. Install and verify with `evo adapter list`
