PhraseryPhrasery homeGet Phrasery
Tests & QA21 categories

Five tests worth writing

A change you want covered without writing forty tests.

Here is a change I am about to ship. Give me the five tests worth writing for it, ranked by how likely each is to catch a real regression. Say which level each belongs at: unit, integration, or end to end. Skip anything that only tests the framework.

Change:

Making it yours

  • Paste your own material where the prompt asks for it. Everything above that line is instruction, not content.
  • Delete any rule that does not apply to you. A shorter prompt that fits beats a thorough one that does not.
  • If the answer comes back vague, add a line saying what you do not want. Constraints work better than encouragement.

Finding coverage gaps. Working out which behaviours, edge cases and error paths nothing currently checks.

Related prompts

Keep this one

Phrasery saves prompts with a right-click and puts them back the same way. Add this to your own library in one click.

Add to your browser โ€” free