Copyright © Craig Larman. 2000 All Rights Reserved Use Cases.

Slides:



Advertisements
Similar presentations
Object-Oriented Analysis and Design Evolutionary Requirements.
Advertisements

© 2010 Bennett, McRobb and Farmer1 Use Case Description Supplementary material to support Bennett, McRobb and Farmer: Object Oriented Systems Analysis.
Introduction to Software Testing Chapter 2.6 Graph Coverage for Use Cases Paul Ammann & Jeff Offutt
Use Case Modeling SJTU. Unified Modeling Language (UML) l Standardized notation for object-oriented development l Needs to be used with an analysis and.
USE CASE – ATM EXAMPLE Actors: ATM Customer ATM Operator Use Cases: The customer can withdraw funds from a checking or savings account query the balance.
Writing Use Cases: Requirements in Context
Robert B. Jackson Brigham Young University John W. Satzinger
Use cases.
Information System Engineering
Introduction to Software Testing Chapter 2.6 Graph Coverage for Use Cases Paul Ammann & Jeff Offutt
GOALS BUSINESS MATH© Thomson/South-WesternLesson 12.1Slide Cash Sales and Sales on Account Complete a cash proof form Calculate sales invoice and.
Waterfall Development Process
Jan 16, Ron McFadyen1 Ch 9. Use-case model: drawing System Sequence Diagrams Iteration 1: a simple cash-only success scenario of Process Sale.
Jan Ron McFadyen1 Use Cases in the UML Functionality under consideration is represented by use cases (named ellipses) enclosed in a box Actors.
COMP 350: Object Oriented Analysis and Design Lecture 3 Case Studies, Inception & Use Cases References: Craig Larman Chapters 3-6.
January Ron McFadyen1 Ch 9. Use-case model: drawing System Sequence Diagrams Elaboration Iteration 1: a simple cash-only success scenario of.
Solving the Problem Analysis & Design.
Copyright ©2004 Cezary Z Janikow 1 Use Cases n Within Requirements discipline/workflow n Verbal descriptions of important functional (behavioral, transactional,
NJIT Inception is not the Requirements Phase Chapter 4 Applying UML and Patterns Craig Larman.
Chapter 9 Domain Models 1CS6359 Fall 2012 John Cole.
The first step in getting what you want is to decide what you want.
TK2023 Object-Oriented Software Engineering CHAPTER 6 SYSTEM SEQUENCE DIAGRAMS.
Enhanced Shipping & Handling A Feature of D-Plus An Enhancement For iSeries 400 DMAS from  Copyright I/O International, 2005 Skip Intro.
SYS366 Systems Use Case Descriptions. SYS3662 Contents Review Systems Use Case Descriptions Systems Use Case Authoring.
Copyright © Craig Larman All Rights Reserved Requirements.
Requirements Management with Use Cases Module 6: Define the System Requirements Management with Use Cases Module 6: Define the System.
Chapter 1 , 2 , 3 and 4 Applying UML and Patterns -Craig Larman
SOEN 6011 Software Engineering Processes Section SS Fall 2007 Dr Greg Butler
BTS330 Documenting Use Cases.
ZEIT2301 Design of Information Systems Functional Design: Use Cases School of Engineering and Information Technology Dr Kathryn Merrick.
The Requirement. What is Inception? What is the vision and business case for this project? –not to define all the requirements Feasible? Buy and/or build?
IntellAgile Copyright © 2002 Craig Larman. All rights reserved. Writing Use Cases: Requirements in Context.
Inception Is there a project in there? What’s the vision, scope & business case?
1 Unified Modeling Language Michael K. Wildes University of California, Riverside – Extension Program Presentation 2.
Chapter 4 Working with Inventory, Vendors, and Customers Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution.
Chapter 7 Applying UML and Patterns Craig Larman
 Development is organized in a series of short, fixed-length mini-projects called iterations  Iterations are also incremental  Successive enlargement.
DataBase Management Systems Introduction to Database Technology EAK 362/2 MIS LECTURE 4 PART 1.
Faculty of Computer & Information
Originated by K.Ingram, J.Westlake.Edited by N.A.Shulver Use Case Scripts What is a Use Case Script? The text to describe a particular Use Case interaction.
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2005 Functional Requirements through Use Cases Patrick Bailey Keith Vander Linden Calvin College.
Copyright © Craig Larman All Rights Reserved The Domain Model.
Chapter 9 Applying UML and Patterns -Craig Larman
♦ Use Case Model  Detailled use case - Important  Use case diagram- Refactoring Use case diagram  > 1 Last Lectures.
Inception Chapter 4 Applying UML and Patterns -Craig Larman.
Adv. Use cases Actor generalization – general and special actors Use case generalization – general and special use cases Include and extend relationships.
Software Engineering 1 Object-oriented Analysis and Design Chap 24 Iteration 2 More Patterns.
1 Graph Coverage (6). Reading Assignment P. Ammann and J. Offutt “Introduction to Software Testing” ◦ Section
Requirements Management with Use Cases Module 9: Requirements Across The Product Lifecycle Requirements Management with Use Cases Module 9: Requirements.
System Sequence Diagram Chandan Rupakheti & Steve Chenoweth Week 5-3a.
10: Reporting and Presenting Results ESSENTIALS OF MARKETING RESEARCH Hair/Wolfinbarger/Ortinau/Bush.
IntellAgile Copyright © 2002 Craig Larman. All rights reserved. Writing Use Cases: Requirements in Context.
Prior to each transaction, the cashier at FoodWays enters a code into the cash register to let the cash register know that a new transaction is being processed.
1 Unified Modeling Language Michael K. Wildes University of California, Riverside – Extension Program Presentation 2.
OO DomainModeling With UML Class Diagrams and CRC Cards Chapter 6 Princess Nourah bint Abdulrahman University College of Computer and Information Sciences.
Use Case Diagrams. Introduction In the previous Lecture, you saw a brief review of the nine UML diagrams. Now that you have the clear, you'll start to.
Use-Case Diagram Railroad Ticket System credit card companies railroad Maintain schedules passenger purchase ticket.
SYSTEM-LEVEL SEQUENCE DIAGRAMS Sys466. System-Level Sequence Diagrams  Use cases describe how external actors interact with the software system…  An.
Requirements capture: Using UML Use Cases David Millard and Yvonne Howard {dem,
Chapter 5: Use Cases Chapter 6 & 25 in Applying UML and Patterns Book.
Copyright © Craig Larman All Rights Reserved Large-Scale System Partitioning.
Lecture 5d: Systems Use Case Descriptions.  Review  Systems Use Case Descriptions  Systems Use Case Authoring SYS3662.
Elaboration popo.
Paul Ammann & Jeff Offutt
Creating Use Cases.
OO Domain Modeling With UML Class Diagrams and CRC Cards
Start at 17th March 2012 end at 31th March 2012
Use Case Modeling - techniques for detailing use cases
Chapter 5: Use Cases Chapter 6 & 25 in Applying UML and Patterns Book.
Use cases Dr. X.
Presentation transcript:

Copyright © Craig Larman All Rights Reserved Use Cases

Copyright © Craig Larman All Rights Reserved 2 Introduction n Types: – business use cases – system use cases (our focus) n Use cases tell a story of actors using a system. n They illustrate functional requirements, by the stories they tell. n Complementary with a function requirement list.

Copyright © Craig Larman All Rights Reserved 3 Identifying Use Cases n Major distinct, complete, end-to-end processes of using a system. n Not usually one step, but a complete story. – Common “mistake”! n Examples – Rent Videos – Return Videos – Pay Fines

Copyright © Craig Larman All Rights Reserved 4 Use Case Diagram n A way to conceive and illustrate the use cases. n Usually created during the initial use case analysis.

Copyright © Craig Larman All Rights Reserved 5 A Sample Detailed Use Case

Copyright © Craig Larman All Rights Reserved 6 A Sample Summary Use Case n Same principles a detailed use case, but simplifies steps and details, as a low-fidelity incomplete first draft. – Useful during early requirements and scope analysis System Responsibilities 3. Remember rented items. 4. Calculate and present price. 6. Authorize and record payment. Actor Intentions 1.Customer presents items to rent. 2.Clerk records items. 5. Customer pays.

Copyright © Craig Larman All Rights Reserved 7 Use Case Forms n Short, “high-level”, summary form. – Write most of them in this form during Inception. – Write a few keys ones in the detailed form. n Long, “expanded”, detailed form. – Write them this way during Elaboration.

Copyright © Craig Larman All Rights Reserved 8 Use Miscellany n Simple “CRUD” use cases can be combined into one “Maintain ”. – Maintain Inventory n Start name with a verb. n Start with sentence 1 with “ does ” n All systems have a Start Up and Shut Down use case (perhaps trivial).

Copyright © Craig Larman All Rights Reserved 9 Essential and Concrete Use Cases n Essential use cases defer the details of the UI, and focus on the intentions of the actors, and responsibilities of the system. – Concrete (AKA Real) do not. n Essential: “The AccountHolder identifies themselves to the ATM” n Real: “The AccountHolder inserts their card in the reader. Window A is displayed. They enter their PIN on the numeric keypad, …” n As we move from analysis to design, we are more inclined to move from essential to concrete use case descriptions.

Copyright © Craig Larman All Rights Reserved 10 Relating Use Cases n When creating the use case diagram, it can be useful (in terms of comprehension and simplification) to: – factor out shared sub-processes use the > relationship – show precedence order use the > relationship

Copyright © Craig Larman All Rights Reserved 11