siesa-agents 2.1.1 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +83 -83
- package/bin/install.js +400 -399
- package/bin/prepare-publish.js +26 -26
- package/bin/restore-folders.js +26 -26
- package/bmad-core/agent-teams/team-all.yaml +15 -15
- package/bmad-core/agent-teams/team-fullstack.yaml +19 -19
- package/bmad-core/agent-teams/team-ide-minimal.yaml +11 -11
- package/bmad-core/agent-teams/team-no-ui.yaml +14 -14
- package/bmad-core/agents/analyst.md +84 -84
- package/bmad-core/agents/architect.md +94 -94
- package/bmad-core/agents/backend-agent.md +189 -189
- package/bmad-core/agents/bmad-master.md +110 -110
- package/bmad-core/agents/bmad-orchestrator.md +147 -147
- package/bmad-core/agents/dev.md +81 -81
- package/bmad-core/agents/frontend-agent.md +168 -168
- package/bmad-core/agents/pm.md +84 -84
- package/bmad-core/agents/po.md +79 -79
- package/bmad-core/agents/qa.md +91 -91
- package/bmad-core/agents/sm.md +65 -65
- package/bmad-core/agents/ux-expert.md +69 -69
- package/bmad-core/checklists/architect-checklist.md +440 -440
- package/bmad-core/checklists/backend-checklist.md +142 -142
- package/bmad-core/checklists/change-checklist.md +184 -184
- package/bmad-core/checklists/frontend-checklist.md +105 -105
- package/bmad-core/checklists/pm-checklist.md +372 -372
- package/bmad-core/checklists/po-master-checklist.md +434 -434
- package/bmad-core/checklists/story-dod-checklist.md +96 -96
- package/bmad-core/checklists/story-draft-checklist.md +155 -155
- package/bmad-core/core-config.yaml +22 -22
- package/bmad-core/data/backend-standards.md +439 -439
- package/bmad-core/data/bmad-kb.md +809 -809
- package/bmad-core/data/brainstorming-techniques.md +38 -38
- package/bmad-core/data/elicitation-methods.md +156 -156
- package/bmad-core/data/frontend-standards.md +323 -323
- package/bmad-core/data/technical-preferences.md +5 -5
- package/bmad-core/data/test-levels-framework.md +148 -148
- package/bmad-core/data/test-priorities-matrix.md +174 -174
- package/bmad-core/enhanced-ide-development-workflow.md +248 -248
- package/bmad-core/install-manifest.yaml +230 -230
- package/bmad-core/tasks/advanced-elicitation.md +119 -119
- package/bmad-core/tasks/apply-qa-fixes.md +150 -150
- package/bmad-core/tasks/brownfield-create-epic.md +162 -162
- package/bmad-core/tasks/brownfield-create-story.md +149 -149
- package/bmad-core/tasks/correct-course.md +72 -72
- package/bmad-core/tasks/create-brownfield-story.md +314 -314
- package/bmad-core/tasks/create-component.md +102 -102
- package/bmad-core/tasks/create-deep-research-prompt.md +280 -280
- package/bmad-core/tasks/create-doc.md +103 -103
- package/bmad-core/tasks/create-entity.md +132 -132
- package/bmad-core/tasks/create-feature.md +90 -90
- package/bmad-core/tasks/create-next-story.md +114 -114
- package/bmad-core/tasks/create-service.md +117 -117
- package/bmad-core/tasks/create-use-case.md +140 -140
- package/bmad-core/tasks/document-project.md +345 -345
- package/bmad-core/tasks/execute-checklist.md +88 -88
- package/bmad-core/tasks/facilitate-brainstorming-session.md +138 -138
- package/bmad-core/tasks/generate-ai-frontend-prompt.md +53 -53
- package/bmad-core/tasks/index-docs.md +175 -175
- package/bmad-core/tasks/kb-mode-interaction.md +77 -77
- package/bmad-core/tasks/nfr-assess.md +345 -345
- package/bmad-core/tasks/qa-gate.md +163 -163
- package/bmad-core/tasks/review-story.md +316 -316
- package/bmad-core/tasks/risk-profile.md +355 -355
- package/bmad-core/tasks/scaffold-backend.md +110 -110
- package/bmad-core/tasks/scaffold-frontend.md +78 -78
- package/bmad-core/tasks/shard-doc.md +187 -187
- package/bmad-core/tasks/test-design.md +176 -176
- package/bmad-core/tasks/trace-requirements.md +266 -266
- package/bmad-core/tasks/validate-next-story.md +136 -136
- package/bmad-core/templates/architecture-tmpl.yaml +662 -662
- package/bmad-core/templates/brainstorming-output-tmpl.yaml +156 -156
- package/bmad-core/templates/brownfield-architecture-tmpl.yaml +477 -477
- package/bmad-core/templates/brownfield-prd-tmpl.yaml +281 -281
- package/bmad-core/templates/competitor-analysis-tmpl.yaml +307 -307
- package/bmad-core/templates/front-end-architecture-tmpl.yaml +258 -258
- package/bmad-core/templates/front-end-spec-tmpl.yaml +350 -350
- package/bmad-core/templates/fullstack-architecture-tmpl.yaml +824 -824
- package/bmad-core/templates/market-research-tmpl.yaml +253 -253
- package/bmad-core/templates/prd-tmpl.yaml +203 -203
- package/bmad-core/templates/project-brief-tmpl.yaml +222 -222
- package/bmad-core/templates/qa-gate-tmpl.yaml +103 -103
- package/bmad-core/templates/story-tmpl.yaml +138 -138
- package/bmad-core/user-guide.md +530 -530
- package/bmad-core/utils/bmad-doc-template.md +327 -327
- package/bmad-core/utils/workflow-management.md +71 -71
- package/bmad-core/workflows/brownfield-fullstack.yaml +298 -298
- package/bmad-core/workflows/brownfield-service.yaml +188 -188
- package/bmad-core/workflows/brownfield-ui.yaml +198 -198
- package/bmad-core/workflows/greenfield-fullstack.yaml +241 -241
- package/bmad-core/workflows/greenfield-service.yaml +207 -207
- package/bmad-core/workflows/greenfield-ui.yaml +236 -236
- package/bmad-core/working-in-the-brownfield.md +606 -606
- package/claude/commands/BMad/agents/analyst.md +88 -0
- package/claude/commands/BMad/agents/architect.md +89 -0
- package/claude/commands/BMad/agents/backend.md +188 -0
- package/claude/commands/BMad/agents/bmad-master.md +114 -0
- package/claude/commands/BMad/agents/bmad-orchestrator.md +151 -0
- package/claude/commands/BMad/agents/dev.md +85 -0
- package/claude/commands/BMad/agents/frontend.md +151 -0
- package/claude/commands/BMad/agents/pm.md +88 -0
- package/claude/commands/BMad/agents/po.md +83 -0
- package/claude/commands/BMad/agents/qa.md +95 -0
- package/claude/commands/BMad/agents/sm.md +69 -0
- package/claude/commands/BMad/agents/ux-expert.md +73 -0
- package/claude/commands/BMad/tasks/advanced-elicitation.md +123 -0
- package/claude/commands/BMad/tasks/apply-qa-fixes.md +154 -0
- package/claude/commands/BMad/tasks/brownfield-create-epic.md +166 -0
- package/claude/commands/BMad/tasks/brownfield-create-story.md +153 -0
- package/claude/commands/BMad/tasks/correct-course.md +76 -0
- package/claude/commands/BMad/tasks/create-brownfield-story.md +318 -0
- package/claude/commands/BMad/tasks/create-deep-research-prompt.md +284 -0
- package/claude/commands/BMad/tasks/create-doc.md +107 -0
- package/claude/commands/BMad/tasks/create-next-story.md +118 -0
- package/claude/commands/BMad/tasks/document-project.md +349 -0
- package/claude/commands/BMad/tasks/execute-checklist.md +92 -0
- package/claude/commands/BMad/tasks/facilitate-brainstorming-session.md +142 -0
- package/claude/commands/BMad/tasks/generate-ai-frontend-prompt.md +57 -0
- package/claude/commands/BMad/tasks/index-docs.md +179 -0
- package/claude/commands/BMad/tasks/kb-mode-interaction.md +81 -0
- package/claude/commands/BMad/tasks/nfr-assess.md +349 -0
- package/claude/commands/BMad/tasks/qa-gate.md +167 -0
- package/claude/commands/BMad/tasks/review-story.md +320 -0
- package/claude/commands/BMad/tasks/risk-profile.md +359 -0
- package/claude/commands/BMad/tasks/shard-doc.md +191 -0
- package/claude/commands/BMad/tasks/test-design.md +180 -0
- package/claude/commands/BMad/tasks/trace-requirements.md +270 -0
- package/claude/commands/BMad/tasks/validate-next-story.md +140 -0
- package/claude/settings.local.json +20 -0
- package/github/b-mad-expert.md +742 -742
- package/github/chatmodes/analyst.chatmode.md +89 -89
- package/github/chatmodes/architect.chatmode.md +97 -97
- package/github/chatmodes/backend.chatmode.md +194 -194
- package/github/chatmodes/bmad-master.chatmode.md +115 -115
- package/github/chatmodes/bmad-orchestrator.chatmode.md +152 -152
- package/github/chatmodes/dev.chatmode.md +86 -86
- package/github/chatmodes/frontend.chatmode.md +157 -157
- package/github/chatmodes/pm.chatmode.md +89 -89
- package/github/chatmodes/po.chatmode.md +84 -84
- package/github/chatmodes/qa.chatmode.md +96 -96
- package/github/chatmodes/sm.chatmode.md +70 -70
- package/github/chatmodes/ux-expert.chatmode.md +74 -74
- package/index.js +9 -9
- package/package.json +37 -36
- package/vscode/mcp.json +11 -11
- package/vscode/settings.json +12 -12
|
@@ -1,176 +1,176 @@
|
|
|
1
|
-
<!-- Powered by BMAD™ Core -->
|
|
2
|
-
|
|
3
|
-
# test-design
|
|
4
|
-
|
|
5
|
-
Create comprehensive test scenarios with appropriate test level recommendations for story implementation.
|
|
6
|
-
|
|
7
|
-
## Inputs
|
|
8
|
-
|
|
9
|
-
```yaml
|
|
10
|
-
required:
|
|
11
|
-
- story_id: '{epic}.{story}' # e.g., "1.3"
|
|
12
|
-
- story_path: '{devStoryLocation}/{epic}.{story}.*.md' # Path from core-config.yaml
|
|
13
|
-
- story_title: '{title}' # If missing, derive from story file H1
|
|
14
|
-
- story_slug: '{slug}' # If missing, derive from title (lowercase, hyphenated)
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## Purpose
|
|
18
|
-
|
|
19
|
-
Design a complete test strategy that identifies what to test, at which level (unit/integration/e2e), and why. This ensures efficient test coverage without redundancy while maintaining appropriate test boundaries.
|
|
20
|
-
|
|
21
|
-
## Dependencies
|
|
22
|
-
|
|
23
|
-
```yaml
|
|
24
|
-
data:
|
|
25
|
-
- test-levels-framework.md # Unit/Integration/E2E decision criteria
|
|
26
|
-
- test-priorities-matrix.md # P0/P1/P2/P3 classification system
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## Process
|
|
30
|
-
|
|
31
|
-
### 1. Analyze Story Requirements
|
|
32
|
-
|
|
33
|
-
Break down each acceptance criterion into testable scenarios. For each AC:
|
|
34
|
-
|
|
35
|
-
- Identify the core functionality to test
|
|
36
|
-
- Determine data variations needed
|
|
37
|
-
- Consider error conditions
|
|
38
|
-
- Note edge cases
|
|
39
|
-
|
|
40
|
-
### 2. Apply Test Level Framework
|
|
41
|
-
|
|
42
|
-
**Reference:** Load `test-levels-framework.md` for detailed criteria
|
|
43
|
-
|
|
44
|
-
Quick rules:
|
|
45
|
-
|
|
46
|
-
- **Unit**: Pure logic, algorithms, calculations
|
|
47
|
-
- **Integration**: Component interactions, DB operations
|
|
48
|
-
- **E2E**: Critical user journeys, compliance
|
|
49
|
-
|
|
50
|
-
### 3. Assign Priorities
|
|
51
|
-
|
|
52
|
-
**Reference:** Load `test-priorities-matrix.md` for classification
|
|
53
|
-
|
|
54
|
-
Quick priority assignment:
|
|
55
|
-
|
|
56
|
-
- **P0**: Revenue-critical, security, compliance
|
|
57
|
-
- **P1**: Core user journeys, frequently used
|
|
58
|
-
- **P2**: Secondary features, admin functions
|
|
59
|
-
- **P3**: Nice-to-have, rarely used
|
|
60
|
-
|
|
61
|
-
### 4. Design Test Scenarios
|
|
62
|
-
|
|
63
|
-
For each identified test need, create:
|
|
64
|
-
|
|
65
|
-
```yaml
|
|
66
|
-
test_scenario:
|
|
67
|
-
id: '{epic}.{story}-{LEVEL}-{SEQ}'
|
|
68
|
-
requirement: 'AC reference'
|
|
69
|
-
priority: P0|P1|P2|P3
|
|
70
|
-
level: unit|integration|e2e
|
|
71
|
-
description: 'What is being tested'
|
|
72
|
-
justification: 'Why this level was chosen'
|
|
73
|
-
mitigates_risks: ['RISK-001'] # If risk profile exists
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
### 5. Validate Coverage
|
|
77
|
-
|
|
78
|
-
Ensure:
|
|
79
|
-
|
|
80
|
-
- Every AC has at least one test
|
|
81
|
-
- No duplicate coverage across levels
|
|
82
|
-
- Critical paths have multiple levels
|
|
83
|
-
- Risk mitigations are addressed
|
|
84
|
-
|
|
85
|
-
## Outputs
|
|
86
|
-
|
|
87
|
-
### Output 1: Test Design Document
|
|
88
|
-
|
|
89
|
-
**Save to:** `qa.qaLocation/assessments/{epic}.{story}-test-design-{YYYYMMDD}.md`
|
|
90
|
-
|
|
91
|
-
```markdown
|
|
92
|
-
# Test Design: Story {epic}.{story}
|
|
93
|
-
|
|
94
|
-
Date: {date}
|
|
95
|
-
Designer: Quinn (Test Architect)
|
|
96
|
-
|
|
97
|
-
## Test Strategy Overview
|
|
98
|
-
|
|
99
|
-
- Total test scenarios: X
|
|
100
|
-
- Unit tests: Y (A%)
|
|
101
|
-
- Integration tests: Z (B%)
|
|
102
|
-
- E2E tests: W (C%)
|
|
103
|
-
- Priority distribution: P0: X, P1: Y, P2: Z
|
|
104
|
-
|
|
105
|
-
## Test Scenarios by Acceptance Criteria
|
|
106
|
-
|
|
107
|
-
### AC1: {description}
|
|
108
|
-
|
|
109
|
-
#### Scenarios
|
|
110
|
-
|
|
111
|
-
| ID | Level | Priority | Test | Justification |
|
|
112
|
-
| ------------ | ----------- | -------- | ------------------------- | ------------------------ |
|
|
113
|
-
| 1.3-UNIT-001 | Unit | P0 | Validate input format | Pure validation logic |
|
|
114
|
-
| 1.3-INT-001 | Integration | P0 | Service processes request | Multi-component flow |
|
|
115
|
-
| 1.3-E2E-001 | E2E | P1 | User completes journey | Critical path validation |
|
|
116
|
-
|
|
117
|
-
[Continue for all ACs...]
|
|
118
|
-
|
|
119
|
-
## Risk Coverage
|
|
120
|
-
|
|
121
|
-
[Map test scenarios to identified risks if risk profile exists]
|
|
122
|
-
|
|
123
|
-
## Recommended Execution Order
|
|
124
|
-
|
|
125
|
-
1. P0 Unit tests (fail fast)
|
|
126
|
-
2. P0 Integration tests
|
|
127
|
-
3. P0 E2E tests
|
|
128
|
-
4. P1 tests in order
|
|
129
|
-
5. P2+ as time permits
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
### Output 2: Gate YAML Block
|
|
133
|
-
|
|
134
|
-
Generate for inclusion in quality gate:
|
|
135
|
-
|
|
136
|
-
```yaml
|
|
137
|
-
test_design:
|
|
138
|
-
scenarios_total: X
|
|
139
|
-
by_level:
|
|
140
|
-
unit: Y
|
|
141
|
-
integration: Z
|
|
142
|
-
e2e: W
|
|
143
|
-
by_priority:
|
|
144
|
-
p0: A
|
|
145
|
-
p1: B
|
|
146
|
-
p2: C
|
|
147
|
-
coverage_gaps: [] # List any ACs without tests
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
### Output 3: Trace References
|
|
151
|
-
|
|
152
|
-
Print for use by trace-requirements task:
|
|
153
|
-
|
|
154
|
-
```text
|
|
155
|
-
Test design matrix: qa.qaLocation/assessments/{epic}.{story}-test-design-{YYYYMMDD}.md
|
|
156
|
-
P0 tests identified: {count}
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
## Quality Checklist
|
|
160
|
-
|
|
161
|
-
Before finalizing, verify:
|
|
162
|
-
|
|
163
|
-
- [ ] Every AC has test coverage
|
|
164
|
-
- [ ] Test levels are appropriate (not over-testing)
|
|
165
|
-
- [ ] No duplicate coverage across levels
|
|
166
|
-
- [ ] Priorities align with business risk
|
|
167
|
-
- [ ] Test IDs follow naming convention
|
|
168
|
-
- [ ] Scenarios are atomic and independent
|
|
169
|
-
|
|
170
|
-
## Key Principles
|
|
171
|
-
|
|
172
|
-
- **Shift left**: Prefer unit over integration, integration over E2E
|
|
173
|
-
- **Risk-based**: Focus on what could go wrong
|
|
174
|
-
- **Efficient coverage**: Test once at the right level
|
|
175
|
-
- **Maintainability**: Consider long-term test maintenance
|
|
176
|
-
- **Fast feedback**: Quick tests run first
|
|
1
|
+
<!-- Powered by BMAD™ Core -->
|
|
2
|
+
|
|
3
|
+
# test-design
|
|
4
|
+
|
|
5
|
+
Create comprehensive test scenarios with appropriate test level recommendations for story implementation.
|
|
6
|
+
|
|
7
|
+
## Inputs
|
|
8
|
+
|
|
9
|
+
```yaml
|
|
10
|
+
required:
|
|
11
|
+
- story_id: '{epic}.{story}' # e.g., "1.3"
|
|
12
|
+
- story_path: '{devStoryLocation}/{epic}.{story}.*.md' # Path from core-config.yaml
|
|
13
|
+
- story_title: '{title}' # If missing, derive from story file H1
|
|
14
|
+
- story_slug: '{slug}' # If missing, derive from title (lowercase, hyphenated)
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Purpose
|
|
18
|
+
|
|
19
|
+
Design a complete test strategy that identifies what to test, at which level (unit/integration/e2e), and why. This ensures efficient test coverage without redundancy while maintaining appropriate test boundaries.
|
|
20
|
+
|
|
21
|
+
## Dependencies
|
|
22
|
+
|
|
23
|
+
```yaml
|
|
24
|
+
data:
|
|
25
|
+
- test-levels-framework.md # Unit/Integration/E2E decision criteria
|
|
26
|
+
- test-priorities-matrix.md # P0/P1/P2/P3 classification system
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Process
|
|
30
|
+
|
|
31
|
+
### 1. Analyze Story Requirements
|
|
32
|
+
|
|
33
|
+
Break down each acceptance criterion into testable scenarios. For each AC:
|
|
34
|
+
|
|
35
|
+
- Identify the core functionality to test
|
|
36
|
+
- Determine data variations needed
|
|
37
|
+
- Consider error conditions
|
|
38
|
+
- Note edge cases
|
|
39
|
+
|
|
40
|
+
### 2. Apply Test Level Framework
|
|
41
|
+
|
|
42
|
+
**Reference:** Load `test-levels-framework.md` for detailed criteria
|
|
43
|
+
|
|
44
|
+
Quick rules:
|
|
45
|
+
|
|
46
|
+
- **Unit**: Pure logic, algorithms, calculations
|
|
47
|
+
- **Integration**: Component interactions, DB operations
|
|
48
|
+
- **E2E**: Critical user journeys, compliance
|
|
49
|
+
|
|
50
|
+
### 3. Assign Priorities
|
|
51
|
+
|
|
52
|
+
**Reference:** Load `test-priorities-matrix.md` for classification
|
|
53
|
+
|
|
54
|
+
Quick priority assignment:
|
|
55
|
+
|
|
56
|
+
- **P0**: Revenue-critical, security, compliance
|
|
57
|
+
- **P1**: Core user journeys, frequently used
|
|
58
|
+
- **P2**: Secondary features, admin functions
|
|
59
|
+
- **P3**: Nice-to-have, rarely used
|
|
60
|
+
|
|
61
|
+
### 4. Design Test Scenarios
|
|
62
|
+
|
|
63
|
+
For each identified test need, create:
|
|
64
|
+
|
|
65
|
+
```yaml
|
|
66
|
+
test_scenario:
|
|
67
|
+
id: '{epic}.{story}-{LEVEL}-{SEQ}'
|
|
68
|
+
requirement: 'AC reference'
|
|
69
|
+
priority: P0|P1|P2|P3
|
|
70
|
+
level: unit|integration|e2e
|
|
71
|
+
description: 'What is being tested'
|
|
72
|
+
justification: 'Why this level was chosen'
|
|
73
|
+
mitigates_risks: ['RISK-001'] # If risk profile exists
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### 5. Validate Coverage
|
|
77
|
+
|
|
78
|
+
Ensure:
|
|
79
|
+
|
|
80
|
+
- Every AC has at least one test
|
|
81
|
+
- No duplicate coverage across levels
|
|
82
|
+
- Critical paths have multiple levels
|
|
83
|
+
- Risk mitigations are addressed
|
|
84
|
+
|
|
85
|
+
## Outputs
|
|
86
|
+
|
|
87
|
+
### Output 1: Test Design Document
|
|
88
|
+
|
|
89
|
+
**Save to:** `qa.qaLocation/assessments/{epic}.{story}-test-design-{YYYYMMDD}.md`
|
|
90
|
+
|
|
91
|
+
```markdown
|
|
92
|
+
# Test Design: Story {epic}.{story}
|
|
93
|
+
|
|
94
|
+
Date: {date}
|
|
95
|
+
Designer: Quinn (Test Architect)
|
|
96
|
+
|
|
97
|
+
## Test Strategy Overview
|
|
98
|
+
|
|
99
|
+
- Total test scenarios: X
|
|
100
|
+
- Unit tests: Y (A%)
|
|
101
|
+
- Integration tests: Z (B%)
|
|
102
|
+
- E2E tests: W (C%)
|
|
103
|
+
- Priority distribution: P0: X, P1: Y, P2: Z
|
|
104
|
+
|
|
105
|
+
## Test Scenarios by Acceptance Criteria
|
|
106
|
+
|
|
107
|
+
### AC1: {description}
|
|
108
|
+
|
|
109
|
+
#### Scenarios
|
|
110
|
+
|
|
111
|
+
| ID | Level | Priority | Test | Justification |
|
|
112
|
+
| ------------ | ----------- | -------- | ------------------------- | ------------------------ |
|
|
113
|
+
| 1.3-UNIT-001 | Unit | P0 | Validate input format | Pure validation logic |
|
|
114
|
+
| 1.3-INT-001 | Integration | P0 | Service processes request | Multi-component flow |
|
|
115
|
+
| 1.3-E2E-001 | E2E | P1 | User completes journey | Critical path validation |
|
|
116
|
+
|
|
117
|
+
[Continue for all ACs...]
|
|
118
|
+
|
|
119
|
+
## Risk Coverage
|
|
120
|
+
|
|
121
|
+
[Map test scenarios to identified risks if risk profile exists]
|
|
122
|
+
|
|
123
|
+
## Recommended Execution Order
|
|
124
|
+
|
|
125
|
+
1. P0 Unit tests (fail fast)
|
|
126
|
+
2. P0 Integration tests
|
|
127
|
+
3. P0 E2E tests
|
|
128
|
+
4. P1 tests in order
|
|
129
|
+
5. P2+ as time permits
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### Output 2: Gate YAML Block
|
|
133
|
+
|
|
134
|
+
Generate for inclusion in quality gate:
|
|
135
|
+
|
|
136
|
+
```yaml
|
|
137
|
+
test_design:
|
|
138
|
+
scenarios_total: X
|
|
139
|
+
by_level:
|
|
140
|
+
unit: Y
|
|
141
|
+
integration: Z
|
|
142
|
+
e2e: W
|
|
143
|
+
by_priority:
|
|
144
|
+
p0: A
|
|
145
|
+
p1: B
|
|
146
|
+
p2: C
|
|
147
|
+
coverage_gaps: [] # List any ACs without tests
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
### Output 3: Trace References
|
|
151
|
+
|
|
152
|
+
Print for use by trace-requirements task:
|
|
153
|
+
|
|
154
|
+
```text
|
|
155
|
+
Test design matrix: qa.qaLocation/assessments/{epic}.{story}-test-design-{YYYYMMDD}.md
|
|
156
|
+
P0 tests identified: {count}
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
## Quality Checklist
|
|
160
|
+
|
|
161
|
+
Before finalizing, verify:
|
|
162
|
+
|
|
163
|
+
- [ ] Every AC has test coverage
|
|
164
|
+
- [ ] Test levels are appropriate (not over-testing)
|
|
165
|
+
- [ ] No duplicate coverage across levels
|
|
166
|
+
- [ ] Priorities align with business risk
|
|
167
|
+
- [ ] Test IDs follow naming convention
|
|
168
|
+
- [ ] Scenarios are atomic and independent
|
|
169
|
+
|
|
170
|
+
## Key Principles
|
|
171
|
+
|
|
172
|
+
- **Shift left**: Prefer unit over integration, integration over E2E
|
|
173
|
+
- **Risk-based**: Focus on what could go wrong
|
|
174
|
+
- **Efficient coverage**: Test once at the right level
|
|
175
|
+
- **Maintainability**: Consider long-term test maintenance
|
|
176
|
+
- **Fast feedback**: Quick tests run first
|