test case and user story - bugday bangkok 2012

19
hashtag: #BugDayBKK2012

Upload: prathan-d

Post on 27-Jan-2015

104 views

Category:

Technology


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Test Case and User Story - BugDay Bangkok 2012

hashtag: #BugDayBKK2012

Page 2: Test Case and User Story - BugDay Bangkok 2012

จงจ�ดกลุ่�ม แลุ่ะ Share

Share Google Doc

Spread Sheet + Group Name

[email protected]

Page 3: Test Case and User Story - BugDay Bangkok 2012

จงเขี�ยน 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

Page 4: Test Case and User Story - BugDay Bangkok 2012

จงเขี�ยน Test Case

Page 5: Test Case and User Story - BugDay Bangkok 2012

จงเขี�ยน 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

Page 6: Test Case and User Story - BugDay Bangkok 2012

จงเขี�ยน 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

Page 7: Test Case and User Story - BugDay Bangkok 2012

จงเขี�ยน Test Case

BlackBox

LifeControl

Go to floor Floor level indicator

Lift control Current floor sensorOverload sensor

Page 8: Test Case and User Story - BugDay Bangkok 2012

จงเขี�ยน Test Case

Page 9: Test Case and User Story - BugDay Bangkok 2012

User Story?

Page 10: Test Case and User Story - BugDay Bangkok 2012

ตย . User Story

Page 11: Test Case and User Story - BugDay Bangkok 2012

ตย . User Story

Page 12: Test Case and User Story - BugDay Bangkok 2012

Personas

Page 13: Test Case and User Story - BugDay Bangkok 2012

Personas

Page 14: Test Case and User Story - BugDay Bangkok 2012

จงเขี�ยน 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

Page 15: Test Case and User Story - BugDay Bangkok 2012

จงเขี�ยน User Story

Page 16: Test Case and User Story - BugDay Bangkok 2012

จงเขี�ยน 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

Page 17: Test Case and User Story - BugDay Bangkok 2012

จงเขี�ยน 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

Page 18: Test Case and User Story - BugDay Bangkok 2012

จงเขี�ยน User Story

BlackBox

LifeControl

Go to floor Floor level indicator

Lift control Current floor sensorOverload sensor

Page 19: Test Case and User Story - BugDay Bangkok 2012

จงเขี�ยน User Story