test case and user story - bugday bangkok 2012
DESCRIPTION
TRANSCRIPT
hashtag: #BugDayBKK2012
จงเขี�ยน Test Case
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
จงเขี�ยน Test Case
จงเขี�ยน Test Case
Record reservation check inMain Scenario
The hotel clerk enters the guest search criteria
The application displays a list of guests matching the search criteria
The hotel clerk selects a guest
The system displays a list of the guest current reservations
The hotel clerk selects a reservation
The system displays the reservation details
The hotel clerk allocates a room to the guest
Alternative Scenario
No matching guests at step 2
• The hotel clerk cancels the check in
Guest has no current reservation at step 4
• The hotel clerk cancels the check in
Guest’s room preference is not available at step 7
• The hotel clerk upgrades the guest’s room
จงเขี�ยน Test Case
Record check outMain Scenario
The hotel staff enter the guest’s room number
The system displays the guest’s stay detail
The system calculates the room charge
Alternative Scenario
Late check out and no prior arrangement at step 3
• The guest is charged for an extra night
Check out the same day as check in at step 3
• The guest is charged for one night
Business Rules
Number of nights = Today’s date – Check in date
Charge = Number of night x Room rate
จงเขี�ยน Test Case
BlackBox
LifeControl
Go to floor Floor level indicator
Lift control Current floor sensorOverload sensor
จงเขี�ยน Test Case
User Story?
ตย . User Story
ตย . User Story
Personas
Personas
จงเขี�ยน User Story
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
จงเขี�ยน User Story
จงเขี�ยน User Story
Record reservation check inMain Scenario
The hotel clerk enters the guest search criteria
The application displays a list of guests matching the search criteria
The hotel clerk selects a guest
The system displays a list of the guest current reservations
The hotel clerk selects a reservation
The system displays the reservation details
The hotel clerk allocates a room to the guest
Alternative Scenario
No matching guests at step 2
• The hotel clerk cancels the check in
Guest has no current reservation at step 4
• The hotel clerk cancels the check in
Guest’s room preference is not available at step 7
• The hotel clerk upgrades the guest’s room
จงเขี�ยน User Story
Record check outMain Scenario
The hotel staff enter the guest’s room number
The system displays the guest’s stay detail
The system calculates the room charge
Alternative Scenario
Late check out and no prior arrangement at step 3
• The guest is charged for an extra night
Check out the same day as check in at step 3
• The guest is charged for one night
Business Rules
Number of nights = Today’s date – Check in date
Charge = Number of night x Room rate
จงเขี�ยน User Story
BlackBox
LifeControl
Go to floor Floor level indicator
Lift control Current floor sensorOverload sensor
จงเขี�ยน User Story