QA Fundamentals · Junior · Question 43 of 75
Why are boundary values a good place to look for bugs?
- 1Off-by-one mistakes in comparisons are very common
- 2Boundaries are the values users enter most often
- 3Databases store boundary values in a special way
Show the answer
Correct answer: Off-by-one mistakes in comparisons are very common
Explanation
Writing < instead of <= or counting from 1 instead of 0 is easy. Tests at and just around the edges catch these mistakes cheaply.