13. 常見的 user story format (1)
• 格式一
As a [role] I want [what], so that [why]
• 範例
身為背包客
我想要找最便宜的旅館
因為我的經費有限
14. 常見的 user story format (2)
• 格式一
In order to [value], as a [role], I want [what]
• 範例
因為我的經費有限
身為背包客
我想要找最便宜的旅館
15. 有關旅遊網站的範例
As a user, I want to
reserve a hotel room
As a user, I want to
cancel a reservation
As a vacation planner,
I want to see photos of
the hotel
As a frequent flyer, I
want to rebook a past
trip, so that I save time
booking trips I take
often
16. As someone who speak a
Latin-based language, I might
want to run your software
someday
非功能性需求的範例
As a customer, I want to be
able to run your product on all
versions of windows from
Windows 10 on
As the CTO, I want the
system to use our existing
orders database rather than
create a new one
As a customer, I want the site to
be available 99.999% of the
time I try to access it.
17. User Story 細節
• As a user, I can cancel a reservation.
• 可以全額退費, 或是只能退部分?
• 多早之前就必須要取消?
• 所有旅館都一樣嗎?
• 對所有地區的人都一樣嗎? 對於老客戶是否可以比較晚取消?
• 取消地確認是否要提供給使用者?
• 如何做?
18. 細節就是滿足的條件
• 滿足條件可以被加入使用者故事中
As a user, I want to
cancel a reservation
p Verify that a premium member can
cancel the same day without a fee
p Verify that a non-premium member is
Charged 10% for a same-day cancellation
p Verify that an e-mail confirmation is
sent.
p Verify that the hotel is notified of
any cancelation
19. Lab: 高鐵訂票系統
30 個 user story
包含 5 個 non functional
只寫 what/action