SWE 637 Homework 8
Fall 2006
ISP Coverage: Due 11/21
Where is the wisdom we lost in knowledge? Where is the
knowledge we lost in information?
- T. S. Eliot
Answer the following questions.
Bring hardcopies of your answers to class,
hand written or printouts.
All homeworks are due before class on the due date.
Please remember that the GMU Honor Code
is in effect:
You may discuss the assignment with each other,
the professor, or the GTA,
but each homework should be done individually.
Design ISP tests for the vending machine
class used in the previous homework.
- Characteristics. (4 pts)
Design characteristics of input information
based on the three public methods
(coin(), getChoc(), and addChoc()).
- Partition. (4 pts)
Design a set of blocks for each characteristic.
- Tests. (4 pts)
Design tests for the base choice criterion.
- Execution. (4 pts)
Execute the tests on vendingMachine and report the results.
- Computation. (4 pts)
Given your characteristics and partitionings,
how many tests would you need for
all combinations,
each choice,
pair-wise,
and multiple base choice (assume there are 2 base tests).
- Agitar Bonus. (2 pts)
Run your tests under Agitar.
How much edge coverage did you achieve?