Choice of tests is dictated / informed by rules of thumbs, heuristics and similar rules. For example:
- “Include test cases with empty array, singleton arrays, and multi-element arrays inputs”
- Choose inputs that trigger each of the error messages
- Design inputs that cause input buffers to overflow
- Repeat the same input or series multiple times