Skip to content

Commit 9f723d6

Browse files
Merge pull request #100 from bmad-code-org/fix/issue-96-issue-97
fix: issue 96 and 97
2 parents 5eacf93 + 0fb2e26 commit 9f723d6

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

docs/explanation/tea-overview.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,22 @@ BMad does not mandate TEA. There are five valid ways to use it (or skip it). Pic
6262

6363
If you are unsure, default to the integrated path for your track and adjust later.
6464

65+
### Exact Phase 3 Commands
66+
67+
When this page says `test-design`, `framework`, or `ci`, those are TEA workflow names. If the TEA agent menu is already active, you can use the menu codes `TD`, `TF`, and `CI`. Otherwise, use the full command form for your tool:
68+
69+
| Phase 3 Step | Claude Code / Cursor / Windsurf | Codex |
70+
| ------------------------ | ------------------------------- | -------------------------------- |
71+
| System-level test design | `/bmad:tea:test-design` | `$bmad-tea-testarch-test-design` |
72+
| Test framework setup | `/bmad:tea:framework` | `$bmad-tea-testarch-framework` |
73+
| CI/CD quality pipeline | `/bmad:tea:ci` | `$bmad-tea-testarch-ci` |
74+
75+
Example Phase 3 sequence:
76+
77+
1. Run `/bmad:tea:test-design` and ask for **system-level** mode against the PRD, architecture, and ADRs.
78+
2. Run `/bmad:tea:framework` after the architecture and test design establish the test stack and quality requirements.
79+
3. Run `/bmad:tea:ci` after the framework exists so TEA can wire the pipeline to real test commands.
80+
6581
## TEA Command Catalog
6682

6783
| Command | Primary Outputs | Notes | With Browser Automation (CLI/MCP) |
@@ -172,6 +188,24 @@ graph TB
172188
- **System-level (Phase 3):** Run immediately after architecture/ADR drafting to produce TWO documents: `test-design-architecture.md` (for Architecture/Dev teams: testability gaps, ASRs, NFR requirements) + `test-design-qa.md` (for QA team: test execution recipe, coverage plan, Sprint 0 setup). Feeds the implementation-readiness gate.
173189
- **Epic-level (Phase 4):** Run per-epic to produce `test-design-epic-N.md` (risk, priorities, coverage plan).
174190

191+
Use the same `test-design` workflow command for both modes; make the scope explicit in your prompt:
192+
193+
**Phase 3 system-level example**
194+
195+
```text
196+
/bmad:tea:test-design
197+
Run system-level test-design for Phase 3 using docs/prd.md, docs/architecture.md, and docs/adr/*.md. Focus on architecture testability, ASRs, NFRs, integration risks, and Sprint 0 setup. Produce test-design-architecture.md and test-design-qa.md before implementation-readiness.
198+
```
199+
200+
**Phase 4 per-epic example**
201+
202+
```text
203+
/bmad:tea:test-design
204+
Run epic-level test-design for Phase 4 on Epic 3 using docs/epics/epic-3.md and its stories. Use prior system-level test-design outputs if present. Produce test-design-epic-3.md with risk scores, P0-P3 scenarios, regression/integration coverage, and follow-on guidance for atdd and automate.
205+
```
206+
207+
Codex users run `$bmad-tea-testarch-test-design` instead of `/bmad:tea:test-design` and use the same scope-setting prompt.
208+
175209
The Quick Flow track skips Phases 1 and 3.
176210
BMad Method and Enterprise use all phases based on project needs.
177211
When an ADR or architecture draft is produced, run `test-design` in **system-level** mode before the implementation-readiness gate. This ensures the ADR has an attached testability review and ADR → test mapping. Keep the test-design updated if ADRs change.

0 commit comments

Comments
 (0)