Review test coverage and regression risk — procedure
Use this guide to review whether code, configuration, API, fixture, mock, or test changes are adequately covered by tests and protected against regression.
Engineering review workflow
Workflow summary
Review test coverage and regression risk after a code, configuration, API, fixture, mock, or test change
Purpose
When to use this
Use this section to decide whether this workflow is the right fit before you configure prompts, policies, or reference material.
Do not use this when
Use this section to prevent the workflow from being applied to the wrong source type, risk level, or implementation context.
Workflow controls
What this workflow controls
Use this section to understand which parts of the AI workflow are controlled by this guide before you configure prompts, files, or verification steps.
Workflow placement
Where to configure this workflow
Place each part of the workflow in the correct layer before you run it. Keep stable rules out of one-off prompts, keep source material in the reference layer, and keep the current task in the runtime prompt.
Platform mapping
Open the full platform mapping when you need tool-specific setup
Use this guide for the workflow-specific placement. Use the reference pages for the full ChatGPT, Claude, Gemini, and API setup mapping.
Workflow assets
Required workflow assets
Open the prompts, policies, and reference pages needed to run this workflow correctly.
Implementation procedure
Step-by-step implementation procedure
Follow the workflow in order. Each step explains what to do, where it belongs, which asset to use, and what to check before continuing.
-
Step 1 · Reference layerProvide the implementation changeAttach or paste the changed files, code excerpts, configuration changes, API changes, fixtures, mocks, or test setup changes.
-
Step 2 · Reference layerProvide the available test evidenceAttach or paste relevant test files, assertions, fixtures, mocks, test data, setup and cleanup logic, logs, coverage output, or known regression-sensitive paths.
-
Step 3 · Runtime prompt layerRun the test-impact promptUse the managed test coverage and regression review prompt to evaluate covered behavior, missing scenarios, weak assertions, and regression risks.
-
Step 4 · Verification layerSeparate supported findings from missing evidenceCheck whether each finding is backed by the supplied implementation or test evidence.
-
Step 5 · Verification layerConvert findings into required and optional actionsSeparate required test additions from optional test improvements.
Verification checklist
Use this checklist before accepting the output, publishing it, or using it as evidence for a downstream workflow.
Common mistakes
Use this section to avoid configuration errors, prompt-layer drift, source-boundary mistakes, and weak verification behavior.