A comprehensive reference of common edge cases to test. Use this as a checklist when generating tests.
Test Cases:
✓ null input
✓ undefined input
✓ missing required field
✓ partially filled object
✓ nested null values
Example Prompt:
"Generate tests for null/undefined handling:
- What happens when input is null?
- What happens when required fields are missing?
- How are nested null values handled?"
Common Scenarios:
validateEmail(null) → should throw or return errorgetUserById(undefined) → should handle gracefully{ name: 'John', email: null } → should validate email requirement