Prompt regression testing
Rerunning a fixed set of test cases whenever a prompt or model changes, to catch answers that got worse.

Also called: Prompt testing, Evals in CI.
For: Builders
Why it matters
A ‘tiny’ prompt edit or model upgrade can quietly break cases that used to work.
In practice
Every code change reruns 100 saved questions and is blocked if accuracy drops.
Watch for
Tests only catch what they cover; turn every real failure into a new case.
Related terms
Golden dataset · Evaluation · LLMOps
Guides that use it
How AI agents fail in production.
Sources
Definition updated 2026-10-29.