Apply Edward de Bono's Six Thinking Hats methodology to software testing for comprehensive quality analysis...
Quick Hat Rotation (30 min):
š¤ WHITE (5 min) - Facts only: metrics, data, coverage
ā¤ļø RED (3 min) - Gut feelings (no justification needed)
š¤ BLACK (7 min) - Risks, gaps, what could go wrong
š YELLOW (5 min) - Strengths, opportunities, what works
š GREEN (7 min) - Creative ideas, alternatives
šµ BLUE (3 min) - Action plan, next steps
Example for "API Test Strategy":
| Hat | Focus | Key Question |
|---|---|---|
| š¤ White | Facts & Data | What do we KNOW? |
| ā¤ļø Red | Emotions | What do we FEEL? |
| š¤ Black | Risks | What could go WRONG? |
| š Yellow | Benefits | What's GOOD? |
| š Green | Creativity | What ELSE could we try? |
| šµ Blue | Process | What should we DO? |
| Hat | Use For |
|---|---|
| š¤ White | Baseline metrics, test data inventory |
| ā¤ļø Red | Team confidence check, quality gut feel |
| š¤ Black | Risk assessment, gap analysis, pre-mortems |
| š Yellow | Strengths audit, quick win identification |
| š Green | Test innovation, new approaches, brainstorming |
| šµ Blue | Strategy planning, retrospectives, decision-making |
Output: Quantitative testing baseline
Questions:
Example Output:
Coverage: 67% line, 45% branch
Test Suite: 1,247 unit, 156 integration, 23 E2E
Execution Time: Unit 3min, Integration 12min, E2E 45min
Defects: 23 open (5 critical, 8 major, 10 minor)
Output: Comprehensive risk assessment
Questions:
HIGH RISKS:
- No load testing (production outage risk)
- Auth edge cases untested (security vulnerability)
- Database failover never tested (data loss risk)
Output: Strengths and opportunities
Questions:
STRENGTHS:
- Strong CI/CD pipeline
- Team expertise in automation
- Stakeholders value quality
QUICK WINS:
- Add smoke tests (reduce incidents)
- Automate manual regression (save 2 days/release)
Output: Innovative testing ideas
Questions:
IDEAS:
1. AI-powered test generation
2. Chaos engineering for resilience
3. Property-based testing for edge cases
4. Production traffic replay
5. Synthetic monitoring
Output: Team gut feelings (NO justification needed)
Questions:
FEELINGS:
- Confident: Unit tests, API tests
- Anxious: Authentication flow, payment processing
- Frustrated: Flaky tests, slow E2E suite
Output: Action plan with owners and timelines
Questions:
PRIORITIZED ACTIONS:
1. [Critical] Address security testing gap - Owner: Alice
2. [High] Implement contract testing - Owner: Bob
3. [Medium] Reduce flaky tests - Owner: Carol
# Six Hats Analysis: [Topic]
## š¤ White Hat (5 min)
Facts: [list metrics, data]
## ā¤ļø Red Hat (3 min)
Feelings: [gut reactions, no justification]
## š¤ Black Hat (7 min)
Risks: [what could go wrong]
## š Yellow Hat (5 min)
Strengths: [what works, opportunities]
## š Green Hat (7 min)
Ideas: [creative alternatives]
## šµ Blue Hat (3 min)
Actions: [prioritized next steps]
// Risk-focused analysis (Black Hat)
const risks = await Task("Identify Risks", {
scope: 'payment-module',
perspective: 'black-hat',
includeMitigation: true
}, "qe-regression-risk-analyzer");
// Creative test approaches (Green Hat)
const ideas = await Task("Generate Test Ideas", {
feature: 'new-auth-system',
perspective: 'green-hat',
includeEmergingTechniques: true
}, "qe-test-generator");
// Comprehensive analysis (All Hats)
const analysis = await Task("Six Hats Analysis", {
topic: 'Q1 Test Strategy',
hats: ['white', 'black', 'yellow', 'green', 'red', 'blue']
}, "qe-quality-analyzer");
aqe/six-hats/
āāā analyses/* - Complete hat analyses
āāā risks/* - Black hat findings
āāā opportunities/* - Yellow hat findings
āāā innovations/* - Green hat ideas
const analysisFleet = await FleetManager.coordinate({
strategy: 'six-hats-analysis',
agents: [
'qe-quality-analyzer', // White + Blue hats
'qe-regression-risk-analyzer', // Black hat
'qe-test-generator' // Green hat
],
topology: 'parallel'
});
| ā Avoid | Why | ā Instead |
|---|---|---|
| Mixing hats | Confuses thinking | One hat at a time |
| Justifying Red Hat | Kills intuition | State feelings only |
| Skipping hats | Misses insights | Use all six |
| Rushing | Shallow analysis | 5 min minimum per hat |
Separate thinking modes for clarity. Each hat reveals different insights. Red Hat intuition often catches what Black Hat analysis misses.
Everyone wears all hats. This is parallel thinking, not role-based. The goal is comprehensive analysis, not debate.