risk-based-testing
Focus testing effort on highest-risk areas using risk assessment and prioritization. Use when planning test strategy, allocating resources, or making coverage decisions.
Introduction
The Risk-Based Testing skill provides a data-driven framework for optimizing software quality engineering efforts. Designed for QA engineers, test architects, and DevOps teams, it enables teams to move away from uniform testing approaches toward a strategy that intelligently distributes effort based on the actual business and technical impact of code changes. By quantifying risk using a probability-and-impact scale, agents can dynamically adjust testing depth, ensuring that critical modules receive comprehensive coverage while lower-risk areas maintain cost-effective smoke or exploratory testing.
-
Risk Assessment Engine: Utilizes historical bug databases, production incident data, and change-frequency metrics to calculate dynamic risk scores for specific code components.
-
Intelligent Resource Allocation: Automates the distribution of testing effort, assigning 60% of focus to critical risks, 25% to high, 10% to medium, and 5% to low.
-
ML-Enhanced Analysis: Leverages gradient-boosting models and historical pattern analysis to predict failure points with high accuracy, often reaching 95% predictive alignment.
-
Pipeline Integration: Seamlessly integrates with CI/CD workflows, allowing automated gates to block deployments or trigger specific test suites (unit, integration, e2e, performance) based on the risk level of committed changes.
-
Fleet Coordination: Orchestrates specialized agents like the qe-regression-risk-analyzer and qe-test-generator to perform autonomous validation at scale.
-
Dynamic Reassessment: Automatically updates risk profiles in response to real-world production incidents, ensuring the test strategy evolves alongside the codebase.
-
When integrating, ensure the memory namespace 'aqe/risk-based/' is accessible to allow agents to track historical patterns and coverage maps.
-
Use the provided TypeScript interfaces within Task calls to define test depth; 'critical' features should always map to comprehensive test suites including performance and security.
-
For best results, regularly feed production incident data back into the risk-assessment models to ensure that priority levels remain relevant to current application stability.
-
Constraints: The effectiveness of risk scoring depends on the quality of historical input data; ensure that bug databases and incident reports are kept up-to-date for optimal predictive accuracy.
Repository Stats
- Stars
- 329
- Forks
- 65
- Open Issues
- 4
- Language
- TypeScript
- Default Branch
- main
- Sync Status
- Idle
- Last Synced
- Apr 29, 2026, 06:36 AM