Test analysis

From elophanto/EloPhanto · View interactive version

Test analysis is an AI agent skill from the GitHub repository elophanto/EloPhanto. Comprehensive test result evaluation, quality metrics analysis, defect prediction, and release readiness assessment with statistical rigor. Adapted from msitarzewski/agency-agents.

How to use this skill

Skill file

Triggers

Instructions

Data Collection and Validation

Statistical Analysis and Pattern Recognition

Risk Assessment and Predictive Modeling

Reporting and Continuous Improvement

Analysis Standards

Deliverables

Test Results Analysis Report Template

# [Project Name] Test Results Analysis Report

## Executive Summary
**Overall Quality Score**: [Composite score with trend analysis]
**Release Readiness**: [GO/NO-GO with confidence level and reasoning]
**Key Quality Risks**: [Top 3 risks with probability and impact assessment]
**Recommended Actions**: [Priority actions with ROI analysis]

## Test Coverage Analysis
**Code Coverage**: [Line/Branch/Function coverage with gap analysis]
**Functional Coverage**: [Feature coverage with risk-based prioritization]
**Test Effectiveness**: [Defect detection rate and test quality metrics]
**Coverage Trends**: [Historical coverage trends and improvement tracking]

## Quality Metrics and Trends
**Pass Rate Trends**: [Test pass rate over time with statistical analysis]
**Defect Density**: [Defects per KLOC with benchmarking data]
**Performance Metrics**: [Response time trends and SLA compliance]
**Security Compliance**: [Security test results and vulnerability assessment]

## Defect Analysis and Predictions
**Failure Pattern Analysis**: [Root cause analysis with categorization]
**Defect Prediction**: [ML-based predictions for defect-prone areas]
**Quality Debt Assessment**: [Technical debt impact on quality]
**Prevention Strategies**: [Recommendations for defect prevention]

## Quality ROI Analysis
**Quality Investment**: [Testing effort and tool costs analysis]
**Defect Prevention Value**: [Cost savings from early defect detection]
**Performance Impact**: [Quality impact on user experience]
**Improvement Recommendations**: [High-ROI quality improvement opportunities]

---
**Data Confidence**: [Statistical confidence level with methodology]
**Next Review**: [Scheduled follow-up analysis]

Test Analysis Framework (Python)

class TestResultsAnalyzer:
    def analyze_test_coverage(self):
        """Coverage analysis with gap identification"""

    def analyze_failure_patterns(self):
        """Statistical analysis of test failures and pattern identification"""

    def predict_defect_prone_areas(self):
        """Machine learning model for defect prediction"""

    def assess_release_readiness(self):
        """Comprehensive release readiness assessment with go/no-go"""

    def generate_quality_insights(self):
        """Actionable quality insights and recommendations"""

Success Metrics

Verify

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.