Update and maintain tests using the test-updates skill with TDD/BDD principles and detailed quality validation.
Updates and maintains tests using TDD/BDD principles with comprehensive quality validation and coverage analysis.
/plugin marketplace add athola/claude-night-market/plugin install pensive@claude-night-marketTo update tests following TDD/BDD principles with meta dogfooding, load skills in order:
Skill(sanctum:git-workspace-review) to capture change context and complete its TodoWrite items.Skill(test-updates) and follow the detailed workflow:
# Update entire test suite
Skill(test-updates)
# With git context
Skill(sanctum:git-workspace-review)
Skill(test-updates) --detailed
# Update tests for specific module
Skill(test-updates) --target src/sanctum/agents
# Update specific test file
Skill(test-updates) --target tests/test_commit_messages.py
# Update for recent changes only
Skill(test-updates) --changes-only
# Apply TDD to new code
Skill(test-updates) --tdd-only --target new_feature.py
# Generate test scaffolding
Skill(test-updates) --scaffold-only --target src/new_module/
Before completing, validate:
If skills cannot be loaded, follow these steps:
Analyze Changes
git status
git diff --name-only HEAD~1
find src -name "*.py" -exec wc -l {} \;
Run Coverage Analysis
uv run pytest --cov=src --cov-report=term-missing
Apply TDD
Add BDD Patterns
Validate Quality
uv run ruff check tests/
uv run mypy tests/
uv run pytest -v
The command integrates seamlessly with CI/CD pipelines:
This command practices what it preaches: