BMAD-METHOD/bmad-core/tasks
vforvaick 173453636a feat: Enhance QA and Dev agents with TDD capabilities
- Update QA agent (qa.md) with TDD Red phase commands:
  - *tdd-start: Initialize TDD for story
  - *write-failing-tests: Generate failing tests (Red phase)
  - *tdd-refactor: Participate in refactor with safety checks
  - Add TDD methodology and test isolation principles

- Update Dev agent (dev.md) with TDD Green/Refactor phase commands:
  - *tdd-implement: Implement minimal code to pass tests (Green phase)
  - *make-tests-pass: Iterative test-driven implementation
  - *tdd-refactor: Collaborate on safe refactoring
  - Add TDD discipline and test-first validation rules

- Enhance test-design.md with TDD-first support:
  - Add TDD mode for Red phase test design
  - Mocking strategy selection matrix (mock/fake/stub)
  - Smallest-next-test principle
  - Deterministic test data strategies

- Create TDD quality gates template (tdd-quality-gates.md):
  - Phase-specific gate criteria (Red/Green/Refactor)
  - Pass/Fail/Concerns criteria per phase
  - Recovery procedures for gate failures
  - Integration with existing BMAD quality gates

All agents now support both traditional and TDD workflows.
TDD features are conditionally available when tdd.enabled=true.
2025-09-01 21:08:40 +07:00
..
advanced-elicitation.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
apply-qa-fixes.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
brownfield-create-epic.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
brownfield-create-story.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
correct-course.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
create-brownfield-story.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
create-deep-research-prompt.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
create-next-story.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
document-project.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
facilitate-brainstorming-session.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
generate-ai-frontend-prompt.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
index-docs.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
kb-mode-interaction.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
nfr-assess.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
qa-gate.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
review-story.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
risk-profile.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
shard-doc.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
tdd-implement.md feat: Add TDD infrastructure and scaffold files 2025-09-01 21:04:40 +07:00
tdd-refactor.md feat: Add TDD infrastructure and scaffold files 2025-09-01 21:04:40 +07:00
test-design.md feat: Enhance QA and Dev agents with TDD capabilities 2025-09-01 21:08:40 +07:00
trace-requirements.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
validate-next-story.md fix: documentation and trademark updates 2025-08-17 19:23:50 -05:00
write-failing-tests.md feat: Add TDD infrastructure and scaffold files 2025-09-01 21:04:40 +07:00