Design Edge Case Tests for a Form Before Users Find Them

Read the story behind this prompt
Regression testing checklist template (with AI prompts)
Read the articleTap any variable to replace it with your own value:
AI prompt
Design edge case tests for a specific form or input flow before real users stumble into the gaps. Form: [describe what it collects, e.g. 'checkout shipping address form']. Fields: [list the actual fields and their types]. Validation rules already in place: [what's currently enforced, if known]. Produce a list of specific edge cases grouped by category: input length (empty, single character, far beyond expected length), input format (special characters, emoji, right-to-left text, copy-pasted formatting from Word or Excel), numeric edge cases if relevant (zero, negative, decimals where an integer is expected), timing and state (submitting twice quickly, submitting after a long idle period, browser back button after partial submission), and cross-field logic (a combination of two fields that's individually valid but nonsensical together, like a delivery date before an order date). For each case, state what the correct behavior should be, not just that it should be tested, since 'test it' without a stated expectation isn't actionable for whoever runs the test.
Related prompts
- Write a Test Plan for a Feature Before Any Code Ships
Expand form edge cases into a full feature test plan.
- Turn a Bug Report Into Reproducible Test Steps
Turn user-reported failures into exact steps you can rerun.
- Write a Regression Test Checklist for a Risky Refactor
Check that later code changes do not break form behaviour.
- Design data validation rules that stop bad entries before they happen
Prevent bad entries by defining stronger field rules upfront.
- Generate a full unit test suite from a single function
Cover server-side validation code with precise automated tests.
- Design error handling and fallbacks for an automated workflow
Plan safe failures when the submission flow breaks mid-process.