Test Generation Prompt
Generate meaningful tests for a function or component.

THE PROMPT
Act as a test engineer. Write tests for the code I paste. Cover the happy path, edge cases, error handling, and boundary conditions — not just trivial cases. Use [test framework], explain what each test verifies, and note any behavior that's ambiguous or looks like a bug worth confirming.
How to use this prompt
1. Copy the prompt above.
2. Paste it into your AI tool — Claude, ChatGPT, Cursor, v0, Lovable, or any builder.
3. Add a screenshot of your existing UI so the result matches your colors, type, and spacing.