Promptabide Logo
DP

Diya Patel

@diya_patel3 months ago

A Prompt For Writing Acceptance Criteria That Testers Accept

Force the negative and edge cases; the happy path writes itself.

product
requirements
qa
agile
Keywords:
acceptance criteria
user story
edge cases
Generated acceptance criteria are all happy path. Three Given/When/Thens, all of them the successful case, none of them worth writing down.

Fix it by demanding a ratio:

"Write acceptance criteria for [feature]. Format: Given/When/Then.

At most 2 happy-path criteria. Then at least 8 covering:
  • • Every validation failure, individually

  • • Permission denied, for each role that can reach the screen

  • • Concurrency: the same action twice, or two users at once

  • • The empty state and the 'too many' state

  • • What happens if the downstream call times out

  • • What is explicitly out of scope


  • Mark any criterion where the correct behaviour is a product decision I still need to make."

    That last line surfaces the arguments early. On the last feature it flagged four genuinely undecided behaviours that would otherwise have been decided by whoever implemented it.
    11.8k3

    Generated Outputs (1)

    1 weeks ago
    Claude
    claude-sonnet-4
    Generated Output
    AC-7 Given a draft owned by another user, When I open its edit URL directly, Then I get a 403 page, not an empty editor.
    AC-9 Given I submit the form twice within 2s, When the second request arrives, Then only one record exists.
    AC-12 [PRODUCT DECISION NEEDED] Given the post is already published, When the author deletes it, Then — do existing comments survive?
    Comments (3)
    No comments yet. Be the first to share your thoughts!
    Top Contributors
    Loading...
    Follow PromptAbide

    New bides, prompt breakdowns and community picks, on whichever feed you already read.

    Trending Tags
    Loading...
    A Prompt For Writing Acceptance Criteria That Testers Accept | PromptAbide