Add tests for a changed feature
Find the right test seams and add meaningful coverage for a feature change.
What this prompt helps you do
A focused test plan and implementation that protects changed behaviour.
When to use it
A feature, bug fix, or refactor changes behaviour.
What to prepare
The goal, relevant source material, constraints, examples, and the decision or action this should support.
How to get a strong result
Add the facts, constraints, source material, and desired format that the model cannot know.
How to use this prompt
Replace each placeholder with accurate context. Paste the complete prompt into Codex, review the response critically, resolve important questions, and use it as a considered input to the next decision—not as an unchecked final answer.