We'll fix each of the bugs that we've uncovered, one by one. We'll start by writing a function that allows our program to support boundary values. The completed source code, where all of the errors have been corrected, is found in
Chapter 5 of the
source code folder, and is entitled
Before we move on to the actual coding process for the first bug, let us think about what we can do to support boundary values.
Firstly, if we go back to our sample test plan, you will notice that in our "Bug Report Form", we have documented that we can try to change the function that checks for form input such that it can check for minimum and maximum values. For ...