Qe context driven testing

From proffesor-for-testing/agentic-qe · View interactive version

Qe context driven testing is an AI agent skill from the GitHub repository proffesor-for-testing/agentic-qe. Apply context-driven testing principles where practices are chosen based on project context, not universal 'best practices'. Use when making testing decisions, questioning dogma, or adapting approaches to specific project needs.

How to use this skill

Skill file

Context-Driven Testing

<default_to_action>

When making testing decisions or adapting approaches:

  1. ANALYZE context: project goals, constraints, risks, team skills
  2. QUESTION practices: "Why this? What risk does it address? What's the cost?"
  3. INVESTIGATE not just check: Does software solve the problem, or create new ones?
  4. ADAPT approach based on context, not "best practices"
  5. DOCUMENT discoveries, not pre-written plans

Quick Context Analysis:

Critical Success Factors:

</default_to_action>

Quick Reference Card

When to Use

Seven Context-Driven Principles

  1. Value of any practice depends on its context
  2. Good practices in context, no universal best practices
  3. People working together are most important
  4. Projects unfold in unpredictable ways
  5. Product is a solution - if problem not solved, product fails
  6. Good testing is challenging intellectual work
  7. Judgment and skill determine right things at right times

Context Factors

| Factor | Questions |

|--------|-----------|

| Project | Business goal? User needs? Failure impact? |

| Constraints | Timeline? Budget? Team skills? Legacy? |

| Risk | Safety-critical? Regulated? High volume? |

| Technical | Stack quirks? Integrations? Observability? |

RST Heuristics

| Heuristic | Application |

|-----------|-------------|

| SFDIPOT | Structure, Function, Data, Interfaces, Platform, Operations, Time |

| Oracles | Consistency with history, similar products, expectations, docs |

| Tours | Business District, Historical, Bad Neighborhood, Tourist, Museum |


Context-Driven Decisions

Example: Test Automation Level

Startup Context:

Enterprise Context:

Example: Documentation

Regulated (FDA/medical):

Fast-paced startup:


Investigation vs. Checking

| Checking | Testing (Investigation) |

|----------|------------------------|

| Did API return 200? | Does API meet user needs? |

| Does button work? | What happens under load? |

| Match the spec? | Does it solve the problem? |


Red Flags: Not Context-Driven


Agent-Assisted Context-Driven Testing

// Agent analyzes context and recommends approach
const context = await Task("Analyze Context", {
  project: 'e-commerce-platform',
  stage: 'startup',
  constraints: ['timeline: tight', 'budget: limited'],
  risks: ['payment-security', 'high-volume']
}, "qe-fleet-commander");

// Context-aware agent selection
// - qe-security-scanner (critical risk)
// - qe-performance-tester (high volume)
// - Skip: qe-visual-tester (low priority in startup context)

// Adaptive testing strategy
await Task("Generate Tests", {
  context: 'startup',
  focus: 'critical-paths-only',
  depth: 'smoke-tests',
  automation: 'minimal'
}, "qe-test-generator");

Agent Coordination Hints

Memory Namespace

aqe/context-driven/
├── context-analysis/*    - Project context snapshots
├── decisions/*           - Testing decisions with rationale
├── discoveries/*         - What was learned during testing
└── adaptations/*         - How approach changed over time

Fleet Coordination

const contextFleet = await FleetManager.coordinate({
  strategy: 'context-driven',
  context: {
    type: 'greenfield-saas',
    stage: 'growth',
    compliance: 'gdpr-only'
  },
  agents: ['qe-test-generator', 'qe-security-scanner', 'qe-performance-tester'],
  exclude: ['qe-visual-tester', 'qe-requirements-validator']  // Not priority
});

Practical Tips

  1. Start with risk assessment - List features, ask: How likely to fail? How bad? How hard to test?
  2. Time-box exploration - 2 hours checkout, 30 min error handling, 15 min per browser
  3. Document discoveries - Not "Enter invalid email, verify error" but "Payment API returns 500 instead of 400, no user-visible error. Bug filed."
  4. Talk to humans - Developers, users, support, product
  5. Pair with others - Different perspectives = different bugs

Related Skills


Remember

Context drives decisions. No universal best practices. Skilled testers make informed decisions based on specific goals, constraints, and risks.

You're not a test script executor. You're a skilled investigator helping teams build better products.

With Agents: Agents analyze context, adapt strategies, and learn what works in your situation. Use agents to scale context-driven thinking while maintaining human judgment for critical decisions.

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.