A well-structured mind map can help identify and categorize different types of negative tests. Break down test cases into primary categories like Invalid Data Types, Malformed Requests, and Boundary Values.
- Invalid Data Types
- String in place of integer (e.g., “Thirty” for age)
- Object instead of array
- Malformed Requests
- Missing fields
- Incorrectly nested JSON objects
- Boundary Value Tests
- Entering values slightly above or below expected range
Here’s an example mind map layout that can be a helpful guide for visualizing edge cases:
Read full article here.