PhraseryPhrasery homeGet Phrasery
Tests & QA21 categories

Regression test from this bug

A bug you have just fixed and never want back.

Mediumregression
Write a regression test from the bug report below. It must fail against the current behaviour and pass once fixed. Name it after the bug, not the function. If the report is too vague to pin down the failing case, tell me what to ask the reporter.

Bug report:

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.

Failing and flaky tests. Diagnosing a red run, stabilising a flake, and locking a fixed bug in with a regression test.

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