AI-assisted & reference

/qa:genai-assist

GenAI-assisted testing

Use generative AI to accelerate test work under CT-GenAI safeguards: human oversight and privacy.

USAGE/qa:genai-assist <task, e.g. 'generate test ideas for checkout'>
AI-assisted & referenceCT-GenAI (Specialist) · ISTQB Principle 1 · Principle 4Manual · Automation

What it does

Uses GenAI to speed up testing tasks (test ideas, synthetic test data, case drafting, summaries, failure explanations, doc drafts), producing an AI-DRAFT artifact that a tester must verify before trusting. Applies the two non-negotiable CT-GenAI safeguards: mandatory human review of every output and privacy protection (never send real PII, production data, or secrets to an external model).

When to use it

When you want to accelerate a test task with AI while keeping human oversight and protecting sensitive data.

Prerequisites

qa.config.yml (paths.docs_dir/tests_dir, risk_areas, stack.api_spec_path, gates, test_data.strategy/sensitive_data_rule). Run /qa:qa-init first if missing.

Output

GenAI-assisted testing draft -> <paths.docs_dir>/GENAI-ASSIST-<category>.md. A supporting input to an ISO/IEC/IEEE 29119-3 work product, never a finalized one (it is an unverified AI draft pending human review).

Mechanics

How it works

  1. Config guard: stop if qa.config.yml is none
  2. Resolve task and classify into one category (test-ideas/test-data/test-cases/summarize/explain-failure/doc-draft); default empty input to test-ideas on critical risk areas
  3. Apply the privacy safeguard before generating: honor sensitive_data_rule, synthetic only, escalate if real data seems required
  4. Ground generation in the project test basis (OpenAPI, requirements, existing tests), concentrating on critical then high risk
  5. Generate the artifact with every item marked AI-DRAFT and tied to a test basis reference/technique
  6. Quality-control for CT-GenAI failure modes: hallucination, missing context/over-reliance, bias/gaps, runnability
  7. Human-in-the-loop handoff: compile a Human-must-verify checklist with counts; route defects to /qa:triage, cases to /qa:test-design or /qa:implement

Why it works

The theory behind it

CT-GenAI (Testing with Generative AI, Specialist) — every GenAI output is an unverified draft (Principle 1 applied to the AI itself); mandatory human oversight and privacy protection are the syllabus non-negotiables.

CT-GenAI (Specialist) · ISTQB Principle 1 · Principle 4

Example

See it in use

genai-assist
> /qa:genai-assist "generate test ideas for guest checkout"

✓ Correct when It applies CT-GenAI safeguards: a human-review prompt, no real PII, and output labeled for verification.