TDD Guard Pytest Reporter
Pytest plugin that captures test results for TDD Guard validation.
Requirements
- Python 3.8+
- pytest 6.0+
- TDD Guard installed globally
Installation
pip install tdd-guard-pytest
The plugin activates automatically when installed.
Configuration
Project Root Configuration
Set tdd_guard_project_root to your project root using any ONE of these methods:
Option 1: pyproject.toml
[tool.pytest.ini_options]
tdd_guard_project_root = "/absolute/path/to/project/root"
Option 2: pytest.ini
[pytest]
tdd_guard_project_root = /absolute/path/to/project/root
Option 3: setup.cfg
[tool:pytest]
tdd_guard_project_root = /absolute/path/to/project/root
Configuration Rules
- Path must be absolute
- Current directory must be within the configured project root
- Falls back to current directory if configuration is invalid
Development
When developing the pytest reporter, you need to configure the project root to ensure test results are saved to the correct location:
-
Copy the example configuration:
cp pytest.ini.example pytest.ini
-
Edit
pytest.iniand set the absolute path to your TDD Guard project root:[pytest] tdd_guard_project_root = /absolute/path/to/tdd-guard
Note: pytest.ini is gitignored to avoid committing machine-specific paths.
More Information
- Test results are saved to
.claude/tdd-guard/data/test.json - See TDD Guard documentation for complete setup
License
MIT
Metadata
Release files for tdd-guard-pytest 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tdd_guard_pytest-0.1.2.tar.gz | 8.3 kB | Without provenance | Details for tdd_guard_pytest-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tdd_guard_pytest-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for tdd_guard_pytest-0.1.2-py3-none-any.whl |
Total release size: 12.8 kB
Release files / tdd_guard_pytest-0.1.2.tar.gz
| Download URL | tdd_guard_pytest-0.1.2.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5fafd89e0dac6140d7db46865d12c09075d0ed211b6aac7c300393994582be00
|
|
BLAKE2b-256 checksum How to use checksums |
e482204f333a4d9005d2b8bdd39108bd40542a342f7296451d332a48ccb32a5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.0
|
Release files / tdd_guard_pytest-0.1.2-py3-none-any.whl
| Download URL | tdd_guard_pytest-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4ca9333315f859b841461c03760ff8fe5d3525ab2389230233e7ad594f90117e
|
|
BLAKE2b-256 checksum How to use checksums |
c4c769e1e53cfc6e06776cfe633d806ac78f643fcf8474ec1bdbf6e374aeb214
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.0
|
Security for tdd-guard-pytest 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.