agentic-qe 2.0.0 → 2.1.0
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/.claude/agents/qx-partner.md +17 -4
- package/.claude/skills/accessibility-testing/SKILL.md +144 -692
- package/.claude/skills/agentic-quality-engineering/SKILL.md +176 -529
- package/.claude/skills/api-testing-patterns/SKILL.md +180 -560
- package/.claude/skills/brutal-honesty-review/SKILL.md +113 -603
- package/.claude/skills/bug-reporting-excellence/SKILL.md +116 -517
- package/.claude/skills/chaos-engineering-resilience/SKILL.md +127 -72
- package/.claude/skills/cicd-pipeline-qe-orchestrator/SKILL.md +209 -404
- package/.claude/skills/code-review-quality/SKILL.md +158 -608
- package/.claude/skills/compatibility-testing/SKILL.md +148 -38
- package/.claude/skills/compliance-testing/SKILL.md +132 -63
- package/.claude/skills/consultancy-practices/SKILL.md +114 -446
- package/.claude/skills/context-driven-testing/SKILL.md +117 -381
- package/.claude/skills/contract-testing/SKILL.md +176 -141
- package/.claude/skills/database-testing/SKILL.md +137 -130
- package/.claude/skills/exploratory-testing-advanced/SKILL.md +160 -629
- package/.claude/skills/holistic-testing-pact/SKILL.md +140 -188
- package/.claude/skills/localization-testing/SKILL.md +145 -33
- package/.claude/skills/mobile-testing/SKILL.md +132 -448
- package/.claude/skills/mutation-testing/SKILL.md +147 -41
- package/.claude/skills/performance-testing/SKILL.md +200 -546
- package/.claude/skills/quality-metrics/SKILL.md +164 -519
- package/.claude/skills/refactoring-patterns/SKILL.md +132 -699
- package/.claude/skills/regression-testing/SKILL.md +120 -926
- package/.claude/skills/risk-based-testing/SKILL.md +157 -660
- package/.claude/skills/security-testing/SKILL.md +199 -538
- package/.claude/skills/sherlock-review/SKILL.md +163 -699
- package/.claude/skills/shift-left-testing/SKILL.md +161 -465
- package/.claude/skills/shift-right-testing/SKILL.md +161 -519
- package/.claude/skills/six-thinking-hats/SKILL.md +175 -1110
- package/.claude/skills/skills-manifest.json +71 -20
- package/.claude/skills/tdd-london-chicago/SKILL.md +131 -448
- package/.claude/skills/technical-writing/SKILL.md +103 -154
- package/.claude/skills/test-automation-strategy/SKILL.md +166 -772
- package/.claude/skills/test-data-management/SKILL.md +126 -910
- package/.claude/skills/test-design-techniques/SKILL.md +179 -89
- package/.claude/skills/test-environment-management/SKILL.md +136 -91
- package/.claude/skills/test-reporting-analytics/SKILL.md +169 -92
- package/.claude/skills/testability-scoring/SKILL.md +172 -538
- package/.claude/skills/testability-scoring/scripts/generate-html-report.js +0 -0
- package/.claude/skills/visual-testing-advanced/SKILL.md +155 -78
- package/.claude/skills/xp-practices/SKILL.md +151 -587
- package/CHANGELOG.md +48 -0
- package/README.md +23 -16
- package/dist/agents/QXPartnerAgent.d.ts +8 -1
- package/dist/agents/QXPartnerAgent.d.ts.map +1 -1
- package/dist/agents/QXPartnerAgent.js +1174 -112
- package/dist/agents/QXPartnerAgent.js.map +1 -1
- package/dist/agents/lifecycle/AgentLifecycleManager.d.ts.map +1 -1
- package/dist/agents/lifecycle/AgentLifecycleManager.js +34 -31
- package/dist/agents/lifecycle/AgentLifecycleManager.js.map +1 -1
- package/dist/cli/commands/init-claude-md-template.d.ts.map +1 -1
- package/dist/cli/commands/init-claude-md-template.js +14 -0
- package/dist/cli/commands/init-claude-md-template.js.map +1 -1
- package/dist/core/SwarmCoordinator.d.ts +180 -0
- package/dist/core/SwarmCoordinator.d.ts.map +1 -0
- package/dist/core/SwarmCoordinator.js +473 -0
- package/dist/core/SwarmCoordinator.js.map +1 -0
- package/dist/core/metrics/MetricsAggregator.d.ts +228 -0
- package/dist/core/metrics/MetricsAggregator.d.ts.map +1 -0
- package/dist/core/metrics/MetricsAggregator.js +482 -0
- package/dist/core/metrics/MetricsAggregator.js.map +1 -0
- package/dist/core/metrics/index.d.ts +5 -0
- package/dist/core/metrics/index.d.ts.map +1 -0
- package/dist/core/metrics/index.js +11 -0
- package/dist/core/metrics/index.js.map +1 -0
- package/dist/core/optimization/SwarmOptimizer.d.ts +5 -0
- package/dist/core/optimization/SwarmOptimizer.d.ts.map +1 -1
- package/dist/core/optimization/SwarmOptimizer.js +17 -0
- package/dist/core/optimization/SwarmOptimizer.js.map +1 -1
- package/dist/core/orchestration/AdaptiveScheduler.d.ts +190 -0
- package/dist/core/orchestration/AdaptiveScheduler.d.ts.map +1 -0
- package/dist/core/orchestration/AdaptiveScheduler.js +460 -0
- package/dist/core/orchestration/AdaptiveScheduler.js.map +1 -0
- package/dist/core/orchestration/WorkflowOrchestrator.d.ts +13 -0
- package/dist/core/orchestration/WorkflowOrchestrator.d.ts.map +1 -1
- package/dist/core/orchestration/WorkflowOrchestrator.js +32 -0
- package/dist/core/orchestration/WorkflowOrchestrator.js.map +1 -1
- package/dist/core/recovery/CircuitBreaker.d.ts +176 -0
- package/dist/core/recovery/CircuitBreaker.d.ts.map +1 -0
- package/dist/core/recovery/CircuitBreaker.js +382 -0
- package/dist/core/recovery/CircuitBreaker.js.map +1 -0
- package/dist/core/recovery/RecoveryOrchestrator.d.ts +186 -0
- package/dist/core/recovery/RecoveryOrchestrator.d.ts.map +1 -0
- package/dist/core/recovery/RecoveryOrchestrator.js +476 -0
- package/dist/core/recovery/RecoveryOrchestrator.js.map +1 -0
- package/dist/core/recovery/RetryStrategy.d.ts +127 -0
- package/dist/core/recovery/RetryStrategy.d.ts.map +1 -0
- package/dist/core/recovery/RetryStrategy.js +314 -0
- package/dist/core/recovery/RetryStrategy.js.map +1 -0
- package/dist/core/recovery/index.d.ts +8 -0
- package/dist/core/recovery/index.d.ts.map +1 -0
- package/dist/core/recovery/index.js +27 -0
- package/dist/core/recovery/index.js.map +1 -0
- package/dist/core/skills/DependencyResolver.d.ts +99 -0
- package/dist/core/skills/DependencyResolver.d.ts.map +1 -0
- package/dist/core/skills/DependencyResolver.js +260 -0
- package/dist/core/skills/DependencyResolver.js.map +1 -0
- package/dist/core/skills/ManifestGenerator.d.ts +114 -0
- package/dist/core/skills/ManifestGenerator.d.ts.map +1 -0
- package/dist/core/skills/ManifestGenerator.js +449 -0
- package/dist/core/skills/ManifestGenerator.js.map +1 -0
- package/dist/core/skills/index.d.ts +9 -0
- package/dist/core/skills/index.d.ts.map +1 -0
- package/dist/core/skills/index.js +24 -0
- package/dist/core/skills/index.js.map +1 -0
- package/dist/mcp/server.d.ts +9 -9
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +1 -2
- package/dist/mcp/server.js.map +1 -1
- package/dist/types/qx.d.ts +39 -7
- package/dist/types/qx.d.ts.map +1 -1
- package/dist/types/qx.js.map +1 -1
- package/dist/visualization/api/RestEndpoints.js +1 -1
- package/dist/visualization/api/RestEndpoints.js.map +1 -1
- package/package.json +13 -55
|
@@ -1,137 +1,214 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: test-reporting-analytics
|
|
3
|
-
description: Advanced test reporting, quality dashboards, predictive analytics, trend analysis, and executive reporting for QE metrics. Use when communicating quality status, tracking trends, or making data-driven decisions.
|
|
3
|
+
description: "Advanced test reporting, quality dashboards, predictive analytics, trend analysis, and executive reporting for QE metrics. Use when communicating quality status, tracking trends, or making data-driven decisions."
|
|
4
|
+
category: analytics
|
|
5
|
+
priority: high
|
|
6
|
+
tokenEstimate: 850
|
|
7
|
+
agents: [qe-quality-analyzer, qe-quality-gate, qe-deployment-readiness]
|
|
8
|
+
implementation_status: optimized
|
|
9
|
+
optimization_version: 1.0
|
|
10
|
+
last_optimized: 2025-12-03
|
|
11
|
+
dependencies: []
|
|
12
|
+
quick_reference_card: true
|
|
13
|
+
tags: [reporting, analytics, dashboards, metrics, trends, predictive]
|
|
4
14
|
---
|
|
5
15
|
|
|
6
16
|
# Test Reporting & Analytics
|
|
7
17
|
|
|
8
|
-
|
|
18
|
+
<default_to_action>
|
|
19
|
+
When building test reports:
|
|
20
|
+
1. DEFINE audience (dev team vs executives)
|
|
21
|
+
2. CHOOSE key metrics (max 5-7)
|
|
22
|
+
3. SHOW trends (not just snapshots)
|
|
23
|
+
4. HIGHLIGHT actions (what to do about it)
|
|
24
|
+
5. AUTOMATE generation
|
|
9
25
|
|
|
10
|
-
**
|
|
26
|
+
**Dashboard Quick Setup:**
|
|
27
|
+
```
|
|
28
|
+
+------------------+------------------+------------------+
|
|
29
|
+
| Tests Passed | Code Coverage | Flaky Tests |
|
|
30
|
+
| 1,247/1,250 ✅ | 82.3% ⬆️ +2.1% | 1.2% ⬇️ -0.3% |
|
|
31
|
+
+------------------+------------------+------------------+
|
|
32
|
+
| Critical Bugs | Deploy Freq | MTTR |
|
|
33
|
+
| 0 open ✅ | 12x/day ⬆️ | 2.3h ⬇️ |
|
|
34
|
+
+------------------+------------------+------------------+
|
|
35
|
+
```
|
|
11
36
|
|
|
12
|
-
|
|
37
|
+
**Key Metrics by Audience:**
|
|
38
|
+
- **Dev Team**: Pass rate, flaky %, execution time, coverage gaps
|
|
39
|
+
- **QE Team**: Defect detection rate, test velocity, automation ROI
|
|
40
|
+
- **Leadership**: Escaped defects, deployment frequency, quality cost
|
|
41
|
+
</default_to_action>
|
|
13
42
|
|
|
14
|
-
##
|
|
43
|
+
## Quick Reference Card
|
|
15
44
|
|
|
16
|
-
###
|
|
17
|
-
- Pass/Fail rate
|
|
18
|
-
- Flaky test percentage
|
|
19
|
-
- Execution time (total, per test)
|
|
20
|
-
- Test coverage (code, requirements)
|
|
45
|
+
### Essential Metrics
|
|
21
46
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
47
|
+
| Category | Metric | Target |
|
|
48
|
+
|----------|--------|--------|
|
|
49
|
+
| **Execution** | Pass Rate | >98% |
|
|
50
|
+
| **Execution** | Flaky Test % | <2% |
|
|
51
|
+
| **Execution** | Suite Duration | <10 min |
|
|
52
|
+
| **Coverage** | Line Coverage | >80% |
|
|
53
|
+
| **Coverage** | Branch Coverage | >70% |
|
|
54
|
+
| **Quality** | Escaped Defects | <5/release |
|
|
55
|
+
| **Quality** | MTTR | <4 hours |
|
|
56
|
+
| **Efficiency** | Automation Rate | >90% |
|
|
28
57
|
|
|
29
|
-
###
|
|
30
|
-
- Automation rate
|
|
31
|
-
- Test maintenance cost
|
|
32
|
-
- ROI of automation
|
|
33
|
-
- Velocity (features tested/sprint)
|
|
58
|
+
### Trend Indicators
|
|
34
59
|
|
|
35
|
-
|
|
60
|
+
| Symbol | Meaning | Action |
|
|
61
|
+
|--------|---------|--------|
|
|
62
|
+
| ⬆️ | Improving | Continue current approach |
|
|
63
|
+
| ⬇️ | Declining | Investigate root cause |
|
|
64
|
+
| ➡️ | Stable | Maintain or improve |
|
|
65
|
+
| ⚠️ | Threshold breach | Immediate attention |
|
|
36
66
|
|
|
37
|
-
|
|
38
|
-
```
|
|
39
|
-
+------------------+------------------+------------------+
|
|
40
|
-
| Tests Passed | Code Coverage | Flaky Tests |
|
|
41
|
-
| 1,247 / 1,250 | 82.3% | 1.2% |
|
|
42
|
-
| 99.76% ✅ | ⬆️ +2.1% | ⬇️ -0.3% |
|
|
43
|
-
+------------------+------------------+------------------+
|
|
67
|
+
---
|
|
44
68
|
|
|
45
|
-
|
|
46
|
-
| Critical Bugs | Test Velocity | Deploy Freq |
|
|
47
|
-
| 0 open | 47 tests/sprint | 12x/day |
|
|
48
|
-
| ✅ | ⬆️ +5 | ⬆️ +2x |
|
|
49
|
-
+------------------+------------------+------------------+
|
|
69
|
+
## Report Types
|
|
50
70
|
|
|
51
|
-
|
|
52
|
-
|
|
71
|
+
### Real-Time Dashboard
|
|
72
|
+
```
|
|
73
|
+
Live quality status for CI/CD
|
|
74
|
+
- Build status (green/red)
|
|
75
|
+
- Test results (pass/fail counts)
|
|
76
|
+
- Coverage delta
|
|
77
|
+
- Flaky test alerts
|
|
53
78
|
```
|
|
54
79
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
80
|
+
### Sprint Summary
|
|
81
|
+
```markdown
|
|
82
|
+
## Sprint 47 Quality Summary
|
|
83
|
+
|
|
84
|
+
### Metrics
|
|
85
|
+
| Metric | Value | Trend |
|
|
86
|
+
|--------|-------|-------|
|
|
87
|
+
| Tests Added | +47 | ⬆️ |
|
|
88
|
+
| Coverage | 82.3% | ⬆️ +2.1% |
|
|
89
|
+
| Bugs Found | 12 | ➡️ |
|
|
90
|
+
| Escaped | 0 | ✅ |
|
|
91
|
+
|
|
92
|
+
### Highlights
|
|
93
|
+
- ✅ Zero escaped defects
|
|
94
|
+
- ⚠️ E2E suite now 45min (target: 30min)
|
|
95
|
+
|
|
96
|
+
### Actions
|
|
97
|
+
1. Optimize slow E2E tests
|
|
98
|
+
2. Add coverage for payment module
|
|
99
|
+
```
|
|
60
100
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
101
|
+
### Executive Report
|
|
102
|
+
```markdown
|
|
103
|
+
## Monthly Quality Report - Oct 2025
|
|
65
104
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
105
|
+
### Executive Summary
|
|
106
|
+
✅ Production uptime: 99.97% (target: 99.95%)
|
|
107
|
+
✅ Deploy frequency: 12x/day (up from 8x)
|
|
108
|
+
⚠️ Coverage: 82.3% (target: 85%)
|
|
109
|
+
|
|
110
|
+
### Business Impact
|
|
111
|
+
- Automation saves 120 hrs/month
|
|
112
|
+
- Bug cost: $150/bug found vs $5,000 escaped
|
|
113
|
+
- Estimated annual savings: $450K
|
|
114
|
+
|
|
115
|
+
### Recommendations
|
|
116
|
+
1. Invest in performance testing tooling
|
|
117
|
+
2. Hire senior QE for mobile coverage
|
|
70
118
|
```
|
|
71
119
|
|
|
120
|
+
---
|
|
121
|
+
|
|
72
122
|
## Predictive Analytics
|
|
73
123
|
|
|
74
124
|
```typescript
|
|
75
125
|
// Predict test failures
|
|
76
|
-
const prediction = await
|
|
77
|
-
historicalData: testResults,
|
|
126
|
+
const prediction = await Task("Predict Failures", {
|
|
78
127
|
codeChanges: prDiff,
|
|
79
|
-
|
|
80
|
-
|
|
128
|
+
historicalData: last90Days,
|
|
129
|
+
model: 'gradient-boosting'
|
|
130
|
+
}, "qe-quality-analyzer");
|
|
81
131
|
|
|
82
132
|
// Returns:
|
|
83
133
|
// {
|
|
84
|
-
//
|
|
85
|
-
// likelyFailingTests: ['payment.test.ts'
|
|
86
|
-
// suggestedAction: 'Review payment module
|
|
134
|
+
// failureProbability: 0.73,
|
|
135
|
+
// likelyFailingTests: ['payment.test.ts'],
|
|
136
|
+
// suggestedAction: 'Review payment module carefully',
|
|
87
137
|
// confidence: 0.89
|
|
88
138
|
// }
|
|
139
|
+
|
|
140
|
+
// Trend analysis with anomaly detection
|
|
141
|
+
const trends = await Task("Analyze Trends", {
|
|
142
|
+
metrics: ['passRate', 'coverage', 'flakyRate'],
|
|
143
|
+
period: '30d',
|
|
144
|
+
detectAnomalies: true
|
|
145
|
+
}, "qe-quality-analyzer");
|
|
89
146
|
```
|
|
90
147
|
|
|
91
|
-
|
|
148
|
+
---
|
|
92
149
|
|
|
93
|
-
|
|
94
|
-
```markdown
|
|
95
|
-
## Quality Report - October 2025
|
|
150
|
+
## Agent Integration
|
|
96
151
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
### ROI
|
|
113
|
-
- Automation saves 120 hours/month
|
|
114
|
-
- Bug detection cost: $150/bug vs $5,000 in production
|
|
115
|
-
- Estimated annual savings: $450k
|
|
152
|
+
```typescript
|
|
153
|
+
// Generate comprehensive quality report
|
|
154
|
+
const report = await Task("Generate Quality Report", {
|
|
155
|
+
period: 'sprint',
|
|
156
|
+
audience: 'executive',
|
|
157
|
+
includeROI: true,
|
|
158
|
+
includeTrends: true
|
|
159
|
+
}, "qe-quality-analyzer");
|
|
160
|
+
|
|
161
|
+
// Real-time quality gate check
|
|
162
|
+
const gateResult = await Task("Quality Gate Check", {
|
|
163
|
+
metrics: currentMetrics,
|
|
164
|
+
thresholds: qualityPolicy,
|
|
165
|
+
environment: 'production'
|
|
166
|
+
}, "qe-quality-gate");
|
|
116
167
|
```
|
|
117
168
|
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
## Agent Coordination Hints
|
|
172
|
+
|
|
173
|
+
### Memory Namespace
|
|
174
|
+
```
|
|
175
|
+
aqe/reporting/
|
|
176
|
+
├── dashboards/* - Dashboard configurations
|
|
177
|
+
├── reports/* - Generated reports
|
|
178
|
+
├── trends/* - Trend analysis data
|
|
179
|
+
└── predictions/* - Predictive model outputs
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
### Fleet Coordination
|
|
183
|
+
```typescript
|
|
184
|
+
const reportingFleet = await FleetManager.coordinate({
|
|
185
|
+
strategy: 'quality-reporting',
|
|
186
|
+
agents: [
|
|
187
|
+
'qe-quality-analyzer', // Metrics aggregation
|
|
188
|
+
'qe-quality-gate', // Threshold validation
|
|
189
|
+
'qe-deployment-readiness' // Release readiness
|
|
190
|
+
],
|
|
191
|
+
topology: 'parallel'
|
|
192
|
+
});
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
---
|
|
196
|
+
|
|
118
197
|
## Related Skills
|
|
198
|
+
- [quality-metrics](../quality-metrics/) - Metric definitions
|
|
199
|
+
- [shift-right-testing](../shift-right-testing/) - Production metrics
|
|
200
|
+
- [consultancy-practices](../consultancy-practices/) - Client reporting
|
|
119
201
|
|
|
120
|
-
|
|
121
|
-
- [agentic-quality-engineering](../agentic-quality-engineering/)
|
|
122
|
-
- [continuous-testing-shift-left](../continuous-testing-shift-left/)
|
|
202
|
+
---
|
|
123
203
|
|
|
124
204
|
## Remember
|
|
125
205
|
|
|
126
|
-
**
|
|
127
|
-
|
|
128
|
-
Report:
|
|
129
|
-
- Test results (pass/fail trends)
|
|
130
|
-
- Code coverage (gaps and trends)
|
|
131
|
-
- Flaky test rate (reliability)
|
|
132
|
-
- Defect metrics (escaped bugs)
|
|
133
|
-
- ROI of testing (business value)
|
|
206
|
+
**Measure to improve. Report to communicate.**
|
|
134
207
|
|
|
135
|
-
|
|
208
|
+
Good reports:
|
|
209
|
+
- Answer "so what?" (actionable insights)
|
|
210
|
+
- Show trends (not just snapshots)
|
|
211
|
+
- Match audience needs
|
|
212
|
+
- Automate where possible
|
|
136
213
|
|
|
137
|
-
**
|
|
214
|
+
**Data without action is noise. Action without data is guessing.**
|