Use Case Modeling.

Slides:



Advertisements
Similar presentations
Writing Good Use Cases - Instructor Notes
Advertisements

Requirements Diagrams With UML Models
Object-Oriented Analysis and Design Evolutionary Requirements.
Actors and use cases Use-case diagram Brief notation Prioritization Fully dressed notation Requirements Functional requirements  Use-cases.
Writing Use Cases: Requirements in Context
Use cases.
Objectives Detailed Object-Oriented Requirements Definitions
COMP 350: Object Oriented Analysis and Design Lecture 3 Case Studies, Inception & Use Cases References: Craig Larman Chapters 3-6.
Use-case Modeling.
Systems Analysis and Design in a Changing World, Fourth Edition
Requirements Analysis CMPT 371 Fall 2004 J.W. Benham.
WEEK 4 Material Lecture 4a (Wed.). Use Cases/Actors o What is a use case ? l A sequence of actions performed by a system that yields an observable result.
Use Cases & Requirements Analysis By: Mostafa Elbarbary.
Documenting Requirements using Use Case Diagrams
Understanding Requirements
Use cases and requirement specification - 1 Use case diagrams 3 use cases System boundaries Remember: Use case diagramming is a tool, not the requirements.
Functional Requirements – Use Cases Sriram Mohan/Steve Chenoweth (Chapters 14, 21 – Requirements Text) 1.
Copyright ©2004 Cezary Z Janikow 1 Use Cases n Within Requirements discipline/workflow n Verbal descriptions of important functional (behavioral, transactional,
Functional Requirements – Use Cases Steve Chenoweth & Chandan Rupakheti (Chapters 14, 21 – Requirements Text)  Quiz question 9 relates to this, when you’ve.
This section has been adapted from Dr. Scott Fleming of U. Memphis Details about Use Cases.
The first step in getting what you want is to decide what you want.
USE Case Model.
® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 4: Detailing a Use Case.
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 06. Requirements.
Use Cases College of Alameda Copyright © 2007 Patrick McDermott.
Requirements Functional requirements  Use-cases
SOEN 6011 Software Engineering Processes Section SS Fall 2007 Dr Greg Butler
ZEIT2301 Design of Information Systems Functional Design: Use Cases School of Engineering and Information Technology Dr Kathryn Merrick.
4 2009/10 Object Oriented Technology 1 Topic 4: The Object-Oriented Approach to Requirements Adopted from: Ch.7 The Object-Oriented Approach to Requirements.
Systems Analysis and Design in a Changing World, Fifth Edition
Chapter 6 Use Cases. Use Cases: –Text stories Some “actor” using system to achieve a goal –Used to discover and record requirements –Serve as input to.
Chapter 6 Use Case –The interaction between an actor and the system.
IntellAgile Copyright © 2002 Craig Larman. All rights reserved. Writing Use Cases: Requirements in Context.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 20. Review Software Requirements Requirements Engineering Process.
Object-Oriented Analysis and Design Jan 14, 2009.
 Development is organized in a series of short, fixed-length mini-projects called iterations  Iterations are also incremental  Successive enlargement.
2. Inception 6. Use-Case Model: Writing Requirements in Context.
1 Objectives  Define key concepts of use-case modeling.  List the benefits of use-case modeling.  Find actors and use cases.  Describe their relationships.
7 Systems Analysis and Design in a Changing World, Fifth Edition.
® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 1: Introduction to Use-Case Modeling.
A Use Case Primer 1. The Benefits of Use Cases  Compared to traditional methods, use cases are easy to write and to read.  Use cases force the developers.
Faculty of Applied Engineering and Urban Planning Software Engineering Department Software Engineering Lab Use Cases Faculty of Information system Technology.
1 Structuring Systems Requirements Use Case Description and Diagrams.
♦ Use Case Model  Detailled use case - Important  Use case diagram- Refactoring Use case diagram  > 1 Last Lectures.
Functional Requirements – Use Cases (Chapters 14, 21) Sriram Mohan 1.
1 Capturing Requirements As Use Cases To be discussed –Artifacts created in the requirements workflow –Workers participating in the requirements workflow.
Writing Good Use Cases Outlining Use Cases. Process of writing use cases Find actors Find use cases Outline a use case Detail a use case  Outline the.
1 Version /05/2004 © 2004 Robert Oshana Requirements Engineering Use cases.
SYS466 Casual Use Case Specifications. Systems Use Case Diagrams and Specifications Based on the dialog metaphor Based on the dialog metaphor The process.
Systems Analysis and Design in a Changing World, Fourth Edition
IntellAgile Copyright © 2002 Craig Larman. All rights reserved. Writing Use Cases: Requirements in Context.
Larman chapter 61 Use cases Larman chapter 6. 2 Fig. 6.1.
7 Systems Analysis – ITEC 3155 The Object Oriented Approach – Use Cases.
Requirements. Outline Definition Requirements Process Requirements Documentation Next Steps 1.
Jan Ron McFadyen1 Use Cases Used to capture functional requirements – there are other requirements categories such as usability, reliability,
1 Team Skill 3 Defining the System Part 1: Use Case Modeling Noureddine Abbadeni Al-Ain University of Science and Technology College of Engineering and.
Use Cases Discuss the what and how of use cases: Basics Examples Benefits Parts Stages Guidelines.
Systems Analysis and Design in a Changing World, Fourth Edition
CMPE 280 Web UI Design and Development August 29 Class Meeting
TQS - Teste e Qualidade de Software (Software Testing and Quality) Test Case Design – Model Based Testing João Pascoal.
Use Cases Discuss the what and how of use cases: Basics Benefits
Use Case Model.
Concepts, Specifications, and Diagrams
Chapter 6 Use Case The interaction between an actor and the system.
How do we convince people that in programming simplicity and clarity —in short: what mathematicians call "elegance"— are not a dispensable luxury, but.
Unified Modeling Language
Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer
Object Oriented Analysis and Design
Use Case Modeling Part of the unified modeling language (U M L)
Use cases Dr. X.
Presentation transcript:

Use Case Modeling

The required techniques of effective reasoning are pretty formal, but as long as programming is done by people that don't master them, the software crisis will remain with us and will be considered an incurable disease. And you know what incurable diseases do: they invite the quacks and charlatans in, who in this case take the form of Software Engineering gurus. - E. Dijkstra

Program testing can be used to show the presence of bugs, but never to show their absence! - E. Dijkstra

Use Case A collection of possible interactions between the system under discussion and its external actors related to a particular goal. A story of using the system to meet a goal. What the system will do at a high level with a user focus. Describes what your system does to accomplish a particular customer goal.

Use Case Use case includes: Use case: Clear value Starting and stopping point External initiator Use case: Focus on WHAT not HOW

Use Case Actor Scenario Something with behavior Often people/users System is an actor Scenario A specific sequence of actions and interactions between actors and the system One possible path through the use case May describe successful achievement of goal or may describe a failure

Use Case Primarily captures functional requirements Does not capture all requirements Is not inherently object-oriented Helps determine scope of project and give application structure Keys: simple and usable

Use Case - Formatting Text documents – not diagrams 3 formats: Brief Casual Fully dressed

Use Case - Formatting Fully dressed format: Name – name in terms of a user goal Primary actor Stakeholders and interests Preconditions Success guarantees (postconditions) Main success scenario (main path or “happy path”) Alternate paths (extensions) Special requirements

Use Case - Formatting Three kinds of steps in a scenario: An interaction between actors (typically between primary actor and system) A validation A state change by system

Use Case - Guidelines Write in an essential UI-free style Write terse use cases Write black-box use cases (specify WHAT not HOW)

Use Case - Guidelines Take an actor and actor-goal perspective (focus on user goals) I. Jacobsen: “A set of use case instances, where each instance is a sequence of actions a system performs that yields an observable result of value to a particular actor.”

Use Case - Guidelines How to find use cases: Choose system boundary Identify primary actor(s) Identify goals for each actor Define use cases to satisfy user goals (name them using goal) One use case per goal with exception of CRUD (create, retrieve, update, delete), e.g. Manage <X>

Use Case - Guidelines Tests to find useful use cases: Boss test EBP (elementary business process) test Size test

Fig. 6.3

Fig. 6.4

Fig. 6.1