Registry / testing / tdd-guard-pytest

tdd-guard-pytest

JSON →
library0.1.2pypypiunverified

Pytest plugin for TDD Guard that enforces Test-Driven Development principles during testing. Current version 0.1.2, requires Python >=3.8. Released as part of the TDD Guard ecosystem; releases are sporadic.

pip install tdd-guard-pytest
INSTALL
IMPORT
SIG · TDD-GUARD-PYTEST
T
tdd-guard-pytest
testingpythonv0.1.2
Install
2.7s avg
Import
Disk
29MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.1.2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 30.8MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.7s · import 0.000s · 31MB
29MB installed
● package 29MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TDDGuardPlugin
from tdd_guard_pytest import TDDGuardPlugin
from tdd_guard_pytest.plugin import TDDGuardPlugin

After installation, use `pytest --tdd-guard` to enable TDD Guard validation. The plugin auto-detects install.

import pytest # Ensure TDD Guard plugin is installed (auto-registered via entry point) # Run tests with: pytest --tdd-guard def test_example(): assert 1 + 1 == 2
Debug
Known issues
gotchaThe plugin requires the 'tdd-guard' main package installed separately (npm package). Without it, the pytest plugin may not function as expected.
fix
Install the TDD Guard CLI: npm install -g tdd-guard
affects: all
breakingThe package name uses hyphens but the import path uses underscores (tdd_guard_pytest). A common mistake is to use hyphens in imports.
fix
Use 'import tdd_guard_pytest' or 'from tdd_guard_pytest import ...'
affects: all
Upgrade
Version history
0.1.2latest on PyPI · released Jul 28, 2025
Audit
Dependencies
pytestrequiredRequired as a plugin host
Agent activity
21 hits · last 30 days
node
20
Resources
tdd-guard-pytest — pip install tdd-guard-pytest · libregistry