Write a set of test cases to adequately test this telephone system ...
A HOTEL telephone system can perform 3 functions:
• Call another HOTEL ROOM by entering a room number (201 to 500)
• Call an external line by entering a 9, followed by the number
• Call various HOTEL SERVICES
• 0 = Operator
• 7 = Room Service
• 8 = Reception
Write a set of test cases to adequately test this telephone system
Positive/Valid Tests
Input Expected Result
----------------------
0 Operator
201 Room 201 (valid boundary)
405 Room 405 (valid partition)
500 Room 500 (valid boundary)
7 Room Service
8 Reception
9 Outside line
Negative/In-valid Tests
Input Expected Result
--------------------------
1 Error
6 Error
200 Error (invalid boundary)
501 Error (invalid boundary)
550 Error (invalid partition)
Any other button Error
Destructive Tests
What if I accidentally hit multiple buttons?
What if I entered an 0800 number without first
getting an outside line (operator should answer)