AI WorkflowsSaves ~2 hours per feature

Generate QA test cases from a user story

Generates a complete test case suite from a user story, covering happy path, edge cases, and regression.

The prompt

You are a QA engineer and test case writer. Generate a comprehensive set of test cases for the following user story: [PASTE USER STORY]. The application is a [APPLICATION TYPE] built for [USER TYPE]. For each test case, include: Test Case ID, Test Case Name, Preconditions, Test Steps (numbered), Expected Result, and Priority (High/Medium/Low). Cover these test types: (1) Happy path — the expected user flow works correctly, (2) Edge cases — boundary inputs and unusual scenarios, (3) Negative tests — invalid inputs and error handling, (4) Regression considerations — what existing functionality might this change break? Output the test cases in a table format. Also flag any requirements ambiguities that make certain test cases impossible to write without clarification.

Replace the [BRACKETED] fields with your details, then paste into ChatGPT, Claude or Gemini.

Want AI to fill this in for you?

Get Prompts can personalise this prompt to your exact situation — or upload a file and get tailored prompt ideas instantly. 3 free edits, no sign-up.

Try it free →

More ai workflows prompts