tdd-guard-pytest
Pytest plugin for TDD Guard - enforces Test-Driven Development principles
Decision gist · record as of 2026-08-14
Yes, if you are already using TDD Guard and pytest together. The plugin is actively maintained, has no known vulnerabilities, and adds minimal friction—it requires only pytest and a one-time configuration of your project root. Install it to automate test result capture for TDD Guard validation. If you are not using TDD Guard, this plugin has no standalone value.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires TDD Guard installed globally and an absolute path to project root configured in pytest configuration file; current directory must be within the configured project root.
- Low install friction with a single runtime dependency on pytest.
- The package is actively maintained with recent releases and no known vulnerabilities.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2025-07-28 (382 days) · last repo commit 2026-08-04 · 2,301 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 168,873 downloads/mo, #10,433 on PyPI
Alternatives
Verify before relying
pip install tdd-guard-pytest
# Configure in pyproject.toml, pytest.ini, or setup.cfg:
# [tool.pytest.ini_options]
# tdd_guard_project_root = "/absolute/path/to/project/root"
# Plugin activates automatically; test results saved to .claude/tdd-guard/data/test.json- Exact behavior and constraints when TDD Guard is not installed globally
- How test results are used by TDD Guard after capture
- Whether the plugin works with pytest plugins that also modify test result handling
What it is and what it does
This is a pytest plugin that automatically captures test results during test runs and exports them in a format TDD Guard can consume for validation. It integrates seamlessly into pytest's test execution pipeline and requires minimal setup—mainly configuring an absolute path to your project root in a standard pytest configuration file.
The plugin is designed to work with TDD Guard, a separate tool that enforces Test-Driven Development practices. After you install the plugin, it activates automatically and writes test results to a specific location (.claude/tdd-guard/data/test.json) where TDD Guard can access them. It supports Python 3.8 through 3.13 and depends only on pytest itself, keeping the dependency footprint small.
Use it for
- Integrate pytest test results with TDD Guard for automated TDD principle enforcement in CI/CD pipelines
- Capture test execution data to validate that tests are written before implementation code
- Monitor test-driven development compliance across a project using pytest as the test runner
- Export test metadata for TDD Guard analysis without modifying existing test code
- Enforce development workflow rules by feeding pytest results into TDD Guard validation
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already using TDD Guard and pytest together.
The plugin is actively maintained, has no known vulnerabilities, and adds minimal friction—it requires only pytest and a one-time configuration of your project root. Install it to automate test result capture for TDD Guard validation. If you are not using TDD Guard, this plugin has no standalone value.
Install
tdd-guard-pytest on PyPI
Before you install
Low install friction with a single runtime dependency on pytest. The package is actively maintained with recent releases and no known vulnerabilities. Requires Python 3.8+ and pytest 6.0+, both widely available.
Requires TDD Guard installed globally and an absolute path to project root configured in pytest configuration file; current directory must be within the configured project root.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install tdd-guard-pytest
# Configure in pyproject.toml, pytest.ini, or setup.cfg:
# [tool.pytest.ini_options]
# tdd_guard_project_root = "/absolute/path/to/project/root"
# Plugin activates automatically; test results saved to .claude/tdd-guard/data/test.json
Verify before relying
- Exact behavior and constraints when TDD Guard is not installed globally
- How test results are used by TDD Guard after capture
- Whether the plugin works with pytest plugins that also modify test result handling
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepytest |
| Maintenance | Actively maintained 382 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 168,873 / month, #10,433 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaFramework :: PytestIntended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Quality AssuranceTopic :: Software Development :: Testing |
Evidence: tdd_guard_pytest-0.1.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “pytest plugin tdd guard”
- tdd-guard-pytestA pytest plugin that captures test results and integrates them with…
- pytest-odoopytest-odoo is a pytest plugin that runs Odoo addon tests using…
- busypieProvides expressive, fluent API for busy-waiting in tests, allowing…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also pytest-pytestrail · qase-pytest · pytest-pspec · pytest-html-reporter · pytest-qt · pytest-odoo · pytest-loguru · pytest-reportportal · pytest-custom-report · pytest-spec