03 Handout 1
03 Handout 1
IDENTIFYING USER STORIES AND USE CASES 4. The current balance and new balance must be
displayed.
Use Case Description Use Case
- An activity the system performs in response to a request by a
User Story user.
- It states what an end-user does as part of his or her work. - Two (2) techniques are recommended for identifying use
- It describes a goal the user has when using the system cases:
- A basic concept in Agile development because it focuses on 1. User goal techniques
simplicity, additional value, and user collaboration. 2. Event decomposition technique
- Document the functional requirement quickly and less - Use case techniques place the responsibility for identifying
formally than traditional requirements modeling by focusing and detailing the requirements on the system developers.
on who, what, and why for each function.
- The standard template for a user story looks like this: Use Cases and User Goal Technique
“As a <role played>, I want to <goal or desire> so that <reason - The user goal technique is a technique to identify use cases
or benefit> .“ by determining what specific goals or objectives must be
For example, some user stories for a bank teller might be: completed by the system for the user.
“As a teller, I want to process the deposit to quickly to - The user goal technique for identifying use cases includes
serve more customers.” these steps:
“As a teller, I want to balance the cash drawer to assure 1. Identify all the potential users for the new system.
there were no errors.” 2. Classify the potential users in terms of their functional role
As a customer of the bank using an ATM, some user (e.g., shipping, marketing, sales).
stories might be: 3. Further classify potential users by organizational level
“As a bank customer, I want to withdraw cash and feel (e.g., operational management, executive)
confident with the stack of cash I get is the correct User User goal and resulting use
amount.” case
“As a bank customer, I want to deposit a check and feel Potential customer Search for item
confident the deposit is recorded correctly.” Fill shopping cart
View product rating and
Acceptance Criteria comments
- The final part of a user story Marketing manager Add/update product information
- Indicate the features that must be present for the user to Add/update promotion
be satisfied with the resulting implementation. Produce sales history report
- Its focus on functionality, not on features or user-interface Shipping personnel Ship order
design. Track shipment
- Example: “bank teller making a deposit”: Create item return
1. Customer lookup must be by name or by account Table 1. Identifying the use case with the user goal technique
number.
2. It would be nice to display the photo and signature 4. Interview each type of user to determine the specific goals
of the customer. they will have when using the new system. Start with
3. Any check hold requirements must be indicated. goals they currently have and then get them to imagine
2. Temporal events
3. State events (also called internal events) Identifying Events
- The Sequence of Events: Tracing a Transaction’s Life Cycle Figure 4 list some examples of events that can be
A useful method for identifying events is to trace the deferred until the developer is designing in the system
sequence of events that might occur for a specific external controls.
agent or actor.
From Figure 3, the analyst can think through all the
possible transactions that might result from one new
customer.
Figure 7. All use cases involving the customer actor for the Sale
subsystem
REFERENCE:
Satzinger, J., Jackson, and R., Burd, S. (2015). Systems Analysis and Design in
a Changing World – Course Technology. USA. Cengage Learning.