SlideShare a Scribd company logo
1 of 76
FROM USE CASE to  USER STORIES
Use Case Introduction
 
Why are Requirements important ,[object Object],[object Object],[object Object],USE CASE MODEL
Why should you be interested ? ,[object Object],[object Object],[object Object]
What are Requirements ,[object Object],[object Object],[object Object],[object Object],[object Object],defined operational capabilities business needs satisfy
Software Requirements ,[object Object],[object Object],[object Object],[object Object]
Business Level ,[object Object],[object Object],[object Object],[object Object]
User Level ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Technical Level ,[object Object],[object Object],[object Object]
Use Case Concepts and Definitions
Use Case ,[object Object],[object Object]
Use Case ,[object Object],[object Object]
Actors ,[object Object],[object Object],[object Object],[object Object]
Primary Actor ,[object Object]
Supporting Actor ,[object Object],[object Object]
Scenario ,[object Object],[object Object]
Scenario ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Main Success Scenario ,[object Object],[object Object]
Extensions ,[object Object],[object Object]
Extensions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Use Case Properties ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Design Scope ,[object Object],[object Object]
Design Scope ,[object Object],[object Object],[object Object]
Use Case Level ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],source : Alistair Cockburn, Writing Effective Use Cases
Use Case level ,[object Object],[object Object],[object Object]
Stakeholder & Primary Actor ,[object Object],[object Object],[object Object],[object Object]
Description ,[object Object]
Preconditions ,[object Object],[object Object]
Post conditions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Trigger ,[object Object]
Use cases Process Flow
Develop in Iterations ,[object Object],[object Object],[object Object]
MoSCoW List ,[object Object],[object Object],[object Object],[object Object]
Actor-Goal List L Find unfinished task and reject it Reject unfinished task Support H Receive request and approve it Approve Request Approver H Make change in edit group and send it Submit Change Request Requestor Prio Brief Descriptions Goals Actor
Recipe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Cheat Sheet ,[object Object],[object Object],[object Object]
Use Case Best Practices
7 Best Practices ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
1. Scope the Domain ,[object Object],[object Object]
How to name a Use Case ,[object Object],[object Object],What’s in a name ?
Best practices (1) ,[object Object],[object Object],[object Object],[object Object],[object Object]
Best Practices (2) ,[object Object],[object Object],[object Object]
2. Scope Your Use Cases ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
2. Scope Your Use Cases ,[object Object],[object Object],[object Object]
2. Scope Your Use Cases ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
2. Scope Your Use Cases ,[object Object],[object Object],[object Object],[object Object]
3. Validate Use Cases ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
4. Define the Requirements Model ,[object Object],[object Object],[object Object],[object Object],[object Object]
4. Define the Requirements Model ,[object Object],[object Object],[object Object],[object Object],[object Object]
5.Determine Your Elicitation Strategy ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
5. Determine Your Elicitation Strategy ,[object Object],[object Object],[object Object]
6. Settle on Standard Format ,[object Object],[object Object],[object Object],[object Object]
6. Settle on Standard Format ,[object Object],[object Object]
 
7. Develop Glossary ,[object Object],[object Object],[object Object]
USE CASE Modeling
Use case Modeling ,[object Object],[object Object]
Actor ,[object Object],[object Object]
Actor / Use case Associations ,[object Object],[object Object],[object Object]
Generalization ,[object Object],[object Object]
Inclusion ,[object Object]
Extension ,[object Object],[object Object],[object Object],Abort Transaction Trigger : any time in  Buy Ticket  the Car Driver can abort the trans. Main Success Scenario 1. The Ticket Machine returns the coins that have been entered
User Stories Scrum methodology
What is a User Story ? ,[object Object]
User Story Description ,[object Object],[object Object],[object Object]
How detail should a User Story be ? ,[object Object],[object Object]
User Stories Summary ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Use Case vs User Stories When to use What
Structured Requirements ,[object Object],[object Object],[object Object],[object Object],[object Object],source:  Software Requirements, 2 nd  Edition, Karl E Wiegers
Documentation Overhead source : http://tynerblain.com
What are the differences ? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Level of Details captured source : http://tynerblain.com
Level of Reader expertise source : http://tynerblain.com
References ,[object Object],[object Object],[object Object],[object Object]
Q&A

More Related Content

What's hot

Writing Effective User Stories
Writing Effective User StoriesWriting Effective User Stories
Writing Effective User Stories
Janeve George
 
How to Break the Requirements into User Stories
How to Break the Requirements into User StoriesHow to Break the Requirements into User Stories
How to Break the Requirements into User Stories
ShriKant Vashishtha
 

What's hot (20)

User Story Mapping
User Story MappingUser Story Mapping
User Story Mapping
 
Writing Effective User Stories
Writing Effective User StoriesWriting Effective User Stories
Writing Effective User Stories
 
User Story vs. UseCase : Introductory Primer
User Story vs. UseCase : Introductory PrimerUser Story vs. UseCase : Introductory Primer
User Story vs. UseCase : Introductory Primer
 
User Stories
User StoriesUser Stories
User Stories
 
User Stories
User StoriesUser Stories
User Stories
 
Introducing Agile User Stories
Introducing Agile User StoriesIntroducing Agile User Stories
Introducing Agile User Stories
 
Agile and user story workshop Peter Saddington
Agile and user story workshop   Peter SaddingtonAgile and user story workshop   Peter Saddington
Agile and user story workshop Peter Saddington
 
User Story Mapping Workshop
User Story Mapping WorkshopUser Story Mapping Workshop
User Story Mapping Workshop
 
Effective user stories for your agile or Scrum team
Effective user stories for your agile or Scrum teamEffective user stories for your agile or Scrum team
Effective user stories for your agile or Scrum team
 
Technical... User Stories?!
Technical... User Stories?!Technical... User Stories?!
Technical... User Stories?!
 
107 user story game (poole & lee)
107   user story game (poole & lee)107   user story game (poole & lee)
107 user story game (poole & lee)
 
How to Break the Requirements into User Stories
How to Break the Requirements into User StoriesHow to Break the Requirements into User Stories
How to Break the Requirements into User Stories
 
User Stories Fundamentals
User Stories FundamentalsUser Stories Fundamentals
User Stories Fundamentals
 
How to write good user stories
How to write good user storiesHow to write good user stories
How to write good user stories
 
User story and splitting workshop
User story and splitting workshopUser story and splitting workshop
User story and splitting workshop
 
User story splitting techniques
User story splitting techniquesUser story splitting techniques
User story splitting techniques
 
Writing User Stories (04/2012)
Writing User Stories (04/2012)Writing User Stories (04/2012)
Writing User Stories (04/2012)
 
Invest In Good User Stories
Invest In Good User StoriesInvest In Good User Stories
Invest In Good User Stories
 
Guide to User Story Creation
Guide to User Story CreationGuide to User Story Creation
Guide to User Story Creation
 
User stories — how to cook a cat?
User stories — how to cook a cat?User stories — how to cook a cat?
User stories — how to cook a cat?
 

Viewers also liked

Machine learning’s impact on utilities webinar
Machine learning’s impact on utilities webinarMachine learning’s impact on utilities webinar
Machine learning’s impact on utilities webinar
SparkCognition
 

Viewers also liked (6)

Raport marketing doswiadczen_2013
Raport marketing doswiadczen_2013Raport marketing doswiadczen_2013
Raport marketing doswiadczen_2013
 
Machine learning’s impact on utilities webinar
Machine learning’s impact on utilities webinarMachine learning’s impact on utilities webinar
Machine learning’s impact on utilities webinar
 
Intelligent Production: Deploying IoT and cloud-based machine learning to opt...
Intelligent Production: Deploying IoT and cloud-based machine learning to opt...Intelligent Production: Deploying IoT and cloud-based machine learning to opt...
Intelligent Production: Deploying IoT and cloud-based machine learning to opt...
 
Artificial Intelligence in Oil and Gas
Artificial Intelligence in Oil and GasArtificial Intelligence in Oil and Gas
Artificial Intelligence in Oil and Gas
 
Artificial Intelligence Application in Oil and Gas
Artificial Intelligence Application in Oil and GasArtificial Intelligence Application in Oil and Gas
Artificial Intelligence Application in Oil and Gas
 
Snapchat Visual Marketing Strategy
Snapchat Visual Marketing StrategySnapchat Visual Marketing Strategy
Snapchat Visual Marketing Strategy
 

Similar to From Use case to User Story

Writing Requirements Right
Writing Requirements RightWriting Requirements Right
Writing Requirements Right
Hani Massoud
 
The Art and Science of Requirements Gathering
The Art and Science of Requirements GatheringThe Art and Science of Requirements Gathering
The Art and Science of Requirements Gathering
Vanessa Turke
 

Similar to From Use case to User Story (20)

Requirements Are Optional, Right?
Requirements Are Optional, Right?Requirements Are Optional, Right?
Requirements Are Optional, Right?
 
Use Case - Introduction
Use Case - IntroductionUse Case - Introduction
Use Case - Introduction
 
Use Case Workshop
Use Case WorkshopUse Case Workshop
Use Case Workshop
 
BABoK V2 Requirements Analysis (RA)
BABoK V2 Requirements Analysis (RA)BABoK V2 Requirements Analysis (RA)
BABoK V2 Requirements Analysis (RA)
 
27 pso business_requirements
27 pso business_requirements27 pso business_requirements
27 pso business_requirements
 
Writing Requirements Right
Writing Requirements RightWriting Requirements Right
Writing Requirements Right
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
 
Ch07
Ch07Ch07
Ch07
 
Ch07
Ch07Ch07
Ch07
 
Defining The System
Defining The SystemDefining The System
Defining The System
 
Reqs analysis
Reqs analysisReqs analysis
Reqs analysis
 
Usecase
UsecaseUsecase
Usecase
 
The Art and Science of Requirements Gathering
The Art and Science of Requirements GatheringThe Art and Science of Requirements Gathering
The Art and Science of Requirements Gathering
 
Game plan wkshp1
Game plan wkshp1Game plan wkshp1
Game plan wkshp1
 
Non-functional requirements
Non-functional requirements Non-functional requirements
Non-functional requirements
 
Automation Hub Best Practices - Large Scale Rollouts.pdf
Automation Hub Best Practices - Large Scale Rollouts.pdfAutomation Hub Best Practices - Large Scale Rollouts.pdf
Automation Hub Best Practices - Large Scale Rollouts.pdf
 
Software engineering requirements help11
Software engineering requirements help11Software engineering requirements help11
Software engineering requirements help11
 
OOAD U1.pptx
OOAD U1.pptxOOAD U1.pptx
OOAD U1.pptx
 
Requirements Engineering
Requirements EngineeringRequirements Engineering
Requirements Engineering
 
Lecture7 use case modeling
Lecture7 use case modelingLecture7 use case modeling
Lecture7 use case modeling
 

Recently uploaded

Recently uploaded (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 

From Use case to User Story

Editor's Notes

  1. discuss background, and explain about segments and at the end of each segments I will pause for any discussions
  2. Here is how we visualize a software project
  3. Typical software projects spend roughly one-third of their overall budget correcting errors that originate in requirements project stakeholders such as clients, end users, develoeprs, testers and managers Years of experience led to development of a number of techniques and models to assist the process Use case model is the most well-known
  4. You might say that this is more for the IT folks, that is not completely true. Example is IDEO story. How innovation is produced from multidiscipline cooperation You will also be involved from .
  5. To understand Use Case, first let’s take a look at Requirements. Requirements are the defined operational capabilities of a system or process that must exist to satisfy a business need. User requirements: tasks that users need to achieve using the software.
  6. Requirements don’t come out of thin air. They are products of systematic discovery and definition process where analyst plays a key role. Software requirements came from process of thinking through three perspectives of requirements.
  7. At the highest level (or business level), you begin by understanding and clarifying the business’ goals and objectives. Then you define the vision on how to achieve it. You ensure that you will build the right software. In addition, you also define the correct project stakeholders.
  8. This is where use cases come in. Use cases is the interaction between an external actor and the system
  9. Technical requirements include functional requirements based on user requirements and nonfunctional requirements
  10. Use cases are fundamentally a text form. The scenario describes how the system should respond to a request of a primary actor to deliver a specific goal of that actor.
  11. (bullet points first) Incidentally actor can be a person, job title or a thing, although generally it is a role The SuD is also an actor.
  12. A scenario describes a sequence of steps that are executed in order to fulfill the goal the use case is supposed to deliver.
  13. We just discussed about some of the use cases components, now we’ll look into the detail of different properties of the each use case
  14. There are different scope depends on the type of use cases
  15. From Alistair Cockburn.
  16. How do we develop use cases
  17. example is shown in the table
  18. scope creep: scope of the projects expands as the work proceeds requirements may change because of changing market and business conditions -> unavoidable manage the avoidable scope creep
  19. The first step is to just name the use cases, and not the details
  20. best practice on how to give a name
  21. elicit: to draw or bring out or forth; educe; evoke: to elicit the truth; to elicit a response with a question.
  22. This is different than the Design Scope
  23. trigger: customer wants money, responses: ATM gave out the money
  24. a context diagram is a simple diagram that represents the system as a single ‘black box” surrounded by its major interfaces, thus showing the system in its environment.
  25. Ensure that each one is necessary to meet the business opportunities in your product vision. To validate, answers the following questions; How does this uc help us achieve our goals and visions Does this use case address some aspect of the problem in our problem statement ? Does this use case differentiate our product in some way ? Do we have use cases to address all the stakeholder and user groups we identified in our vision statement Which use cases will be implemented in our initial release ?
  26. A requirement model is a set of models which acts as a blueprint for a software product. Example are: event lists, use cases, context diagrams, data models, business rules, actor maps, storyboards Defining requirement is a discovery process for users and customers. It evolve from the process of users trying out their requirements through models. Using multiple views (behavior, structure, dynamics, or control ) gives a rich context for eliciting user requirements and aligns with separation of concerns.
  27. The list is with order of increasing complexity
  28. A man is flying in a hot air balloon and realizes he is lost. He reduces height and spots a man down below. He lowers the balloon further and shouts: "Excuse me, can you tell me where I am?" The man below says: "Yes you're in a hot air balloon, hovering 30 feet above this field." "You must be a software developer," says the balloonist. "I am," replies the man. "How did you know?" "Well," says the balloonist, "everything you have told me is technically correct, but it's of no use to anyone." The man below says, "You must work in business as a manager." "I do," replies the balloonist, "but how did you know?" "Well," says the man, "you don't know where you are or where you are going, but you expect me to be able to help. You're in the same position you were before we met but now it's my fault."
  29. conventionally you read use case diagrams from left to right, with actors initiating use cases on the left and actors that receive use case results on the right. Also put primary actor on the top.
  30. When use case A specializes use case B (or B generalizes A) you express that A is “a kind of” B, implying that whatever applies to B also applies to A. A adds to or may override behavior of B.
  31. A typical example is a Summary use case that includes User Goal use cases, or User Goal use case that includes some reusable Subfunction use case. The included use case is typically not complete on its own and is required part of the larger use cases.
  32. Karl Wieger’s Structured Requirements Software Requirements, 2nd Edition, Karl E. Wiegers .
  33. See next screen. Formal and informal use cases describes different permutations. Use case brief may use single paragraph. User stories provides the least context. http://tynerblain.com/blog/2009/02/02/user-stories-and-use-cases/comment-page-1/#comment-497898
  34. http://tynerblain.com/blog/2009/02/02/user-stories-and-use-cases/ Use case briefs may be a single paragraph use case
  35. User stories, as it has less overhead of documentation, it also captures less detail. It is ok with assumption the communication is high. At some point it becomes inefficient.
  36. The level of conversation will be influenced by the level of the reader domain expertise. If the reader already understand the requirements, user stories might be enough. When the developer team struggles to implement the stories, then a more structured documentation is needed. Can the writer trust the reader will understand with brief information ?