AI-Augmented Test Design
The Paradigm Shift: From Writing Tests to Curating Tests
The role of a QA engineer in 2026 is no longer to write every test by hand. It is to design test strategies, feed context into AI systems, evaluate what comes back, and curate the result into a reliable suite.
The key mental model: you are not replaced by AI. You are promoted to the editor-in-chief of a newsroom where AI reporters write the first drafts.
Chapter Contents
1. Prompt Engineering for Test Generation — 01-prompt-engineering/
- Test Prompt Anatomy — The five elements of an effective test-generation prompt: Context, Artifact, Constraints, Coverage Goals, Output Format
- Prompt Templates — Four reusable templates: Requirements-to-Tests, API Schema-to-Tests, Test-Driven Prompting, Mutation-Aware Generation
- Context Feeding Strategies — The context hierarchy, what to feed and how, the anti-pattern of context dumping, multi-turn context building
2. AI-Powered Test Techniques — 02-ai-test-techniques/
- Boundary-Value Analysis — Using AI to enumerate boundaries and equivalence partitions, converting BVA tables to parametrized tests
- Combinatorial Generation — Pairwise and n-way combinatorial testing, AI vs PICT/ACTS tools, the hybrid workflow
3. Reviewing AI Output — 03-reviewing-ai-output/
- The 10x Review Pattern — The quality evaluation checklist, mental mutation testing, the three-pass review workflow
- Common AI Test Failures — Six failure modes: tautology, happy-path-only, overly specific, hallucinated API, non-deterministic, assertion-free
- Quality Gates — Five automated gates for CI, mutation score checking, gate configuration by environment, the interview talking point
4. Tools and Workflows — 04-tools-and-workflows/
- Claude Code Workflow — The three-step spec-to-suite workflow, multi-file generation, complete session template
- Copilot and Cursor — Tool comparison, when to use each, the hybrid workflow using all three tools
- Write vs Generate Decision — The decision matrix, the five-step curation workflow, hybrid approaches, economics
Reading Order
- Start with Test Prompt Anatomy to understand the foundation
- Read Prompt Templates for reusable patterns
- Then Common AI Test Failures to know what to watch for
- Then The 10x Review Pattern for the review workflow
- Finally, Write vs Generate Decision for the strategic framework