Review test coverage and regression risk
Use this prompt after a code, API, configuration, fixture, mock, or test change to identify what behavior is covered, what is missing, and where regression risk still needs verification.
Scope and best-fit use
Use this prompt to turn a code or configuration change into a focused test-impact review: covered behavior, missing scenarios, weak assertions, setup gaps, and regression-sensitive paths.
Use this as a runtime review prompt
Paste the current change materials into the prompt. Keep stable team review rules in the instruction layer, such as project instructions, GPT instructions, Claude project instructions, Gemini Gems, or API system instructions.
Inputs required
Provide the changed behavior and the test evidence needed to evaluate coverage. The prompt should not infer test results, coverage numbers, logs, or defects that were not supplied.
Copy-ready prompt
Copy the prompt and replace the MATERIALS block with the current change, tests, configuration, logs, and coverage evidence.
Run a test coverage and regression-risk review.
TASK:
Review the supplied materials and identify:
- behavior that is covered by existing tests
- behavior that is not covered
- weak or missing assertions
- fixture, mock, test-data, setup, cleanup, or configuration gaps
- regression-sensitive paths that need verification
REVIEW SCOPE:
Focus on testing impact, coverage gaps, regression risk, and verification planning.
Only discuss architecture, standards, or security when they directly affect test coverage or regression risk.
EVIDENCE RULES:
- Base findings only on the supplied materials.
- Do not invent tests, logs, coverage numbers, execution results, defects, or pass/fail status.
- Mark unsupported findings as INSUFFICIENT_EVIDENCE.
- Separate verified findings from missing evidence.
CHECK:
- Behavior under test
- Positive paths
- Negative paths
- Edge and boundary cases
- Error paths
- Authentication and authorization paths, when relevant
- Integration points, when relevant
- Fixtures, mocks, test data, setup, and cleanup
- Regression-sensitive behavior
OUTPUT:
A) Context snapshot
B) Supplied test evidence
C) Covered behavior
D) Coverage gaps
E) Regression risks
F) Required test additions
G) Optional test improvements
H) Missing evidence
I) Confidence
MATERIALS:
"""
Replace this block with the current change context, implementation excerpts, tests, fixtures, configuration, logs, coverage output, and known regression-sensitive paths.
"""