Test Cases - Michael, Rebekah, Zach.pdf

Use Case
Rent copy to a customer
Rent copy to a customer
Record copy return
Record payment
Record payment
Record payment
Report copy status
Manually save
Startup/shutdown system
Startup/shutdown system
Function Being Tested
The console displays the
description, the charge,
and either the date due or
the date on which the
next payment is due
The system calculates
total charge owed based
on type of rental item
The system changes the
rental status of the copy
from “Rented” to “On
Shelf”
The console displays the
customer’s fees (rental
fees, monthly payments,
or late fees)
The system records that
the fee was paid
The system calculates the
due date for the next
payment
The console displays the
checkout status of the
copy and the description
of its rentable item type
The system saves its
information to disk
The system runs
The system reads saved
file information if
available
Startup/shutdown system
The system automatically
saves its information
Startup/shutdown system
The system shuts down
Initial System State
Input
Expected Output
The system is asking for
the customers phone
number and the copy’s ID
The customer’s phone
number and the copy’s ID
The system displays the correct
description, charge, and due date/date of
next payment
The system is asking for
the customer’s phone
number and the copy’s ID
The customer’s phone
number and the copy’s ID
The system displays the correct charge
based on the type of rental item
The system is asking for
the copy’s ID
The copy’s ID
The system changes the status of the copy
from “Rented” to “On Shelf”
The system is asking for
the customer’s phone
number
The customer’s phone
number
The system displays the correct fees
(rental fees, monthly payments, or late
fees)
The system is asking for
the customer’s phone
number
The system is asking for
the customer’s phone
number
The customer’s phone
number
The customer’s phone
number
The system removes the outstanding
payments for the corresponding charges
paid
The system changes the due date for the
next payment based on the current due
date
The system is asking for
copy’s ID
The copy’s ID
The system displays the correct checkout
status and description of the given copy
The system is displaying
the “Save” menu option
The system is off
“Save” menu option
selected
Program launched
The disk contains the current system
information
The system is on
The system is off
Program launched
The system contains the information it had
prior to the previous system shutdown
“Quit” menu option
selected
The system contains all information,
including any added without a manual
save once the system is started again
“Quit” menu option
selected
The system is off
The system is on and is
displaying the “Quit”
menu option
The system is on and is
displaying the “Quit”
menu option