Metadata-Version: 2.5
Name: cot-pytest
Version: 0.1.0
Summary: pytest, with its parts replaced by the cogs-of-testing versions
Project-URL: Source, https://github.com/cogs-of-testing/cot.pytest
Author-email: Ronny Pfannschmidt <opensource@ronnypfannschmidt.de>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Framework :: Pytest
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3 :: Only
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 :: Software Development :: Testing
Classifier: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: cot-assert>=0.3
Requires-Dist: cot-capture>=0.1
Requires-Dist: cot-tmppath>=0.2
Requires-Dist: pytest>=9
Description-Content-Type: text/markdown

# cot.pytest

pytest, with its parts replaced by the cogs-of-testing versions.

```bash
cot-pytest [pytest arguments]
python -m cot.pytest [pytest arguments]
```

`cot-pytest` runs `pytest.main` with every usable replacement switched on in
front of your arguments, and names in the header which part runs whose code:

| Part | Replaced by | Status |
|---|---|---|
| assertion rewriting | [cot-assert](https://github.com/cogs-of-testing/cot.assert) (`-p cot_assert --cot-assert`) | on |
| `tmp_path` and `tmp_path_factory` (`tmpdir` and `tmpdir_factory` are not provided) | [cot.tmppath](https://github.com/cogs-of-testing/cot.tmppath) (`-p cot.tmppath.overtake_pytest`) | on |
| output capture | [cot.capture](https://github.com/cogs-of-testing/cot.capture) (`-p cot.capture.overtake_pytest`) | on |

A part that is off leaves pytest's builtin in place. The parts are declared
in `src/cot/pytest/_parts.py`.

Pre-alpha, not released.

```bash
uv run pytest -q
uv run mypy
pre-commit run -a
```
