| name | test-reporting-analytics |
| 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. |
| category | analytics |
| priority | high |
| tokenEstimate | 850 |
| agents | ["qe-quality-analyzer","qe-quality-gate","qe-deployment-readiness"] |
| implementation_status | optimized |
| optimization_version | 1 |
| last_optimized | "2025-12-03T00:00:00.000Z" |
| dependencies | [] |
| quick_reference_card | true |
| tags | ["reporting","analytics","dashboards","metrics","trends","predictive"] |
| trust_tier | 3 |
| validation | {"schema_path":"schemas/output.json","validator_path":"scripts/validate-config.json","eval_path":"evals/test-reporting-analytics.yaml"} |
Test Reporting & Analytics
<default_to_action>
When building test reports:
- DEFINE audience (dev team vs executives)
- CHOOSE key metrics (max 5-7)
- SHOW trends (not just snapshots)
- HIGHLIGHT actions (what to do about it)
- AUTOMATE generation
Dashboard Quick Setup:
+------------------+------------------+------------------+
| Tests Passed | Code Coverage | Flaky Tests |
| 1,247/1,250 ✅ | 82.3% ⬆️ +2.1% | 1.2% ⬇️ -0.3% |
+------------------+------------------+------------------+
| Critical Bugs | Deploy Freq | MTTR |
| 0 open ✅ | 12x/day ⬆️ | 2.3h ⬇️ |
+------------------+------------------+------------------+
Key Metrics by Audience:
- Dev Team: Pass rate, flaky %, execution time, coverage gaps
- QE Team: Defect detection rate, test velocity, automation ROI
- Leadership: Escaped defects, deployment frequency, quality cost
</default_to_action>
Quick Reference Card
Essential Metrics
| Category | Metric | Target |
|---|
| Execution | Pass Rate | >98% |
| Execution | Flaky Test % | <2% |
| Execution | Suite Duration | <10 min |
| Coverage | Line Coverage | >80% |
| Coverage | Branch Coverage | >70% |
| Quality | Escaped Defects | <5/release |
| Quality | MTTR | <4 hours |
| Efficiency | Automation Rate | >90% |
Trend Indicators
| Symbol | Meaning | Action |
|---|
| ⬆️ | Improving | Continue current approach |
| ⬇️ | Declining | Investigate root cause |
| ➡️ |