Use cases and requirement specification - 1 Use case diagrams 3 use cases System boundaries Remember: Use case diagramming is a tool, not the requirements.

Slides:



Advertisements
Similar presentations
Design by Contract.
Advertisements

IS0514Slide 1 IS0514 Lecture Week 4 Use Case Modelling (2)
Information System Engineering
Objectives Detailed Object-Oriented Requirements Definitions
Use-case Modeling.
Use Case modelling How to go from a diagram to a further definition.
Use Case Analysis Chapter 6.
© 2005 Prentice Hall4-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 8 Slide 1 System models.
© Copyright Eliyahu Brutman Programming Techniques Course.
Use Cases.
7. 2Object-Oriented Analysis and Design with the Unified Process Objectives  Detailed Object-Oriented Requirements Definitions  System Processes—A Use.
03/12/2001 © Bennett, McRobb and Farmer Use Case Diagrams Based on Chapter 6 of Bennett, McRobb and Farmer: Object Oriented Systems Analysis and.
Marcelo Santos – OOAD-CDT309, Spring 2008, IDE-MdH Object-Oriented Analysis and Design - CDT309 Period 4, Spring 2008 Use cases: deciding what you want.
חוזים – Contracts 1. Larman – Chapter 10 – SSDs 10.2 What are System Sequence Diagrams? (introduction) Use cases describe how external actors interact.
Use Case Development Scott Shorter, Electrosoft Services January/February 2013.
USE Case Model.
Requirements Elicitation. Requirement: a feature or constraint that the system must satisfy Requirements Elicitation: specification of the system that.
RUP Requirements RUP Artifacts and Deliverables
CS499 Use Cases References From Alistair Cockburn Writing Effective Use Cases (Book) - Use Case.
Object-Oriented Analysis - Instructor Notes
Project Analysis Course ( ) Final Project Report Overview Prepared by: Sijali Petro Korojelo (Course Assistant)
1 Objectives  Describe design constraints.  Identify methods of specifying functional requirements.  Describe techniques for writing and structuring.
Understanding User Requirements. Documenting Use Cases 2 At this stage of the exploration, the participants should be thinking of essential use cases.
From Use Cases to Test Cases 1. A Tester’s Perspective  Without use cases testers will approach the system to be tested as a “black box”. “What, exactly,
Requirement Engineering. Review of Last Lecture Problems with requirement Requirement Engineering –Inception (Set of Questions) –Elicitation (Collaborative.
10/12/ Recall The Team Skills 1. Analyzing the Problem (with 5 steps) 2. Understanding User and Stakeholder Needs 1. Interviews & questionnaires.
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.
UML The Unified Modeling Language A Practical Introduction Al-Ayham Saleh Aleppo University
Software Engineering Chapter 7 Fall Capturing the Requirements as Use Cases Capturing the Requirements as Use Cases By using use cases analysts.
 A software application is like a city  Modeling = Architecture  OOP = Civil Engineering  UML Classes = Blueprints of Buildings  UML is a common.
CS 4310: Software Engineering Lecture 4 System Modeling The Analysis Stage.
Requirements Capture. Four Steps of requirements capture List candidate requirements Understand system context Capture functional requirements Capture.
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.
1 Use Case Diagrams Use Case Actor Use case description Use case realization (Scenario) Use case relationships –Extends –Uses.
Use Case Modeling Chapter 7 Part of Requirements Modeling Designing Concurrent, Distributed, and Real-Time Applications with UML Hassan Gomaa (2001)
1 Structuring Systems Requirements Use Case Description and Diagrams.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Slide 1 Use Case Diagrams.
Discovering object interaction. Use case realisation The USE CASE diagram presents an outside view of the system. The functionality of the use case is.
1 Modeling System Requirements with Use Cases. 2 Why Do We Need Use Cases? Primary challenge in a system design process –ability to elicit correct and.
1 Version /05/2004 © 2004 Robert Oshana Requirements Engineering Use cases.
System sequence diagrams
Systems Analysis and Design in a Changing World, Fourth Edition
Unit-3 Identifying use cases Object Analysis Classification
® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 3: Outlining Use Cases.
UML - Development Process 1 Software Development Process Using UML.
Use Case Model Use case description.
Homework #8 - Deliverable 5 due: 2 December 1. Exec Summary 2. Revisit Use Cases 3. The Analysis Model Class Diagrams Interaction Diagrams 4. Non-Functional.
Refining the Use Cases 1. How Use Cases Evolve  Early efforts typically define most of the major use cases.  The refining stages complete the process.
 To explain why the context of a system should be modelled as part of the RE process  To describe behavioural modelling, data modelling and object modelling.
Gerhard Dueck -- CS3013Analysis 1. Gerhard Dueck -- CS3013Analysis 2 Why analysis?  Yield a more precise specification of the requirements.  Introduce.
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.
Team Skill 3 - Defining the System (Chapters of the requirements text ) Sriram Mohan 1.
George Wang, Ph.D. COMP 380/L Lesson 2. Use Case Use cases are a way to capture system functionalities (i.e., functional requirements) Based on use case.
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 Case Analysis Chapter 6.
Systems Analysis and Design in a Changing World, Fourth Edition
Chapter 4: Business Process and Functional Modeling, continued
Software Engineering Lecture 4 System Modeling The Analysis Stage.
Systems Analysis and Design in a Changing World, 6th Edition
Use Cases Discuss the what and how of use cases: Basics Benefits
Recall The Team Skills Analyzing the Problem (with 5 steps)
System sequence diagrams
Unified Modeling Language
Object-Oriented Analysis Principles using UML
Requirements: Use Case Models and Narratives
IMPORTANT NOTICE TO STUDENTS:
Systems Analysis and Design in a Changing World, 6th Edition
Object-Oriented Software Engineering
Use Case Modeling Part of the unified modeling language (U M L)
Presentation transcript:

Use cases and requirement specification - 1 Use case diagrams 3 use cases System boundaries Remember: Use case diagramming is a tool, not the requirements. Requirements are text descriptions (scenario’s) Cbf, from

Use cases and requirement specification - 2 Actors An actor is a person or system outside of your application that will interact with it. Actor inheritance Cbf, from

Use cases and requirement specification - 3 Actors and Use cases You might choose to use one or several use case diagrams to model your system. For more complex systems it is a good idea to draw several rather than attempting to contain too much information in a single diagram. Putting everything into one diagram can make the diagram difficult to read. Cbf, from

Use cases and requirement specification - 4 Documenting the use case - 1 Name: A brief, descriptive, and unique name for the use case. Description: A short description of what the use case does. Actors: A list of all the actors that interact with the use case. Priority: A short description of how important the use case is in the overall scope of the application. Knowing the priority of each use case lets you design the architecture accordingly. Status: Notes how complete (or incomplete) the development of the use case is. Preconditions: A list of conditions that must be true before the use case starts. Postconditions: A list of conditions that must be true after the use case is complete. Use case interactions: Identifies other use cases the use case interacts with or relies upon. Cbf, from

Documenting the use case - 2 Flow of events: A list of events that happen during the execution of the use case. This could also contain alternative paths. Activity diagram: An activity diagram or diagrams of the flow of events or some part of the flow of events. Secondary scenarios: If the flow of events contains only a primary scenario, then here secondary scenarios might also be documented. User interface: A simplified picture of the user interface for the use case. A prototype of the user interface helps the development team see if the design is on the right track. Sequence diagrams: Sequence diagrams of the different scenarios. View of participating classes: A diagram of all the classes whose instances work together to implement the use case. Other requirements: Other requirements might include quality attributes if you do not have a specific document for them. Use cases and requirement specification - 5 Cbf, from

Use cases and requirement specification - 6 More diagrams ! Activity diagram - Participating Sequence diagram classes Cbf, from