CMPSC 211 room scheduler project final phase
Question Description
Final Project Test Script
This is a scenario that you can use to test your final project. It is not an exhaustive test, but tests almost all of the conditions your program should handle.
When you submit your final project, all the tables in the database should be empty. This scenario assumes that is the case.
The faculty names will be a, b, c, d, etc. to simplify input and this script.
The dates will be real dates but will be represented in this script by the symbolic names date1 and date2.
Script:
-Add faculty a
- displays faculty added for each add.
-Add faculty b
-Add faculty c
-Add faculty d
-Add faculty e
-Add faculty f
-Add faculty g
-Add room 101, 60 seats
-Add room 102, 40 seats
-Add room 201, 20 seats
-Add date, any date, will be referred to as date1
-Add date, any other date, will be referred to as date2.
-reserve a date1 20 seats
- a gets room 201
-reserve b date1 50 seats
- b gets room 101
-reserve c date1 30 seats
- c gets room 102
-reserve d date1 20 seats
- d gets waitlisted
-reserve e date2 100 seats
- e gets waitlisted
-cancel a date1
- a date1 gets cancelled
- d gets room 201 reserved
-Status date1
- shows b in 101
- shows c in 102
- shows d in 201
-Status Waitlist
- Shows e for date2 100 seats
-reserve f date1 20 seats
- f gets waitlisted
-Status Waitlist
- shows e for date2 100 seats
- shows f for date1 20 seats
-add room 202 100 seats
- room 202 gets added
- f reserves 202 for date1
- e reserves 202 for date2
-Status Waitlist
- waitlist is empty
-Status date1
- b in room 101
- c in room 102
- d in room 201
- f in room 202
-reserve g date2 200 seats
- g gets waitlisted
-Cancel g date2
- g gets cancelled from waitlist
-reserve f date2 20 seats
- f reserves room 201
-Drop room 201
- d date1 is moved to waitlist
- f date2 is moved to waitlist
- f reserves room 102 on date2 from waitlist
-Status waitlist
- shows d for date1 20 seats
-Status date1
- shows b in room 101
- shows c in room 102
- shows f in room 202
-Status date2
- shows e in room 202
- shows f in room 102
General conditions of testing:
- the results of any action are displayed to the user immediately after the action is performed without the user needing to check Status.
- All affected combo boxes are updated immediately after each action is performed.
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."