COEN 286: Software Quality Assurance and Testing -- fall, 2001

COEN 286 Test Design Exercise

Prof. John Noll

Santa Clara University

Mon Nov 5 16:56:03 2001


Due November 5, at the beginning of class.

1. Overview

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.

2. Instructions

Obtain the Budget Program requirements.

Using this description, identify Equivalence Classes and Boundary Conditions for the various input types:

  1. Using the procedure outlined in class, identify equivalence classes for each event type.
  2. For equivalence classes that have boundary conditions, identify boundary conditions for the boundaries between valid and invalid classes.

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>3650; 366
Num Days (leap year) 1<= n <=366 1; 366 n<0;n>3660; 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
Notes:

3. Deliverables

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.