We discussed two techniques for designing test cases:
Your task for this exercise is to design a set of test cases, again for the Budget Program from last year.
Obtain the Budget Program requirements.
Using this description, identify Equivalence Classes and Boundary Conditions for the various input types:
Document your results in a table, as follows: Note: please follow this table format, to facilitate evaluation and ensure the grader has a favorable attitude toward your work.
|
Input | Valid Equivalence Class | Valid Boundary Cond. | Invalid EquivalenceClass | Invalid Boundary Cond |
| Num Days | 1<= n <=365 | 1; 365 | n<0;n>365 | 0; 366 |
| Num Days (leap year) | 1<= n <=366 | 1; 366 | n<0;n>366 | 0; 367 |
| Name | [A-Za-z][A-Za-z0-9]* | N/A | not [A-Za-z][A-Za-z0-9]* | N/A |
| C program | input satisfies C grammar | N/A | input violates C grammar | N/A |
Submit your analysis as a formatted document in minimum 10pt type, stapled in the upper left hand corner with a single sturdy staple. If it improves readability, you may print your table in landscape format.
Follow the specified format. Include a cover page with the document title, your name and student ID.
Read the general requirements on the class home page. In particular, be sure to spell-check and proofread before submission.
The final document is due at the beginning of class on November 5.