Methods: Deciding What to Design In-Young Ko iko.AT. icu.ac.kr Information and Communications University (ICU) iko.AT. icu.ac.kr Fall 2005 ICE0575 Lecture.

Slides:



Advertisements
Similar presentations
CPSC 333: Foundations of Software EngineeringJ. Denzinger 2.2. Use Cases: Scenario based requirements modeling Recommended: Booch, Rumbaugh, Jacobson:
Advertisements

Methods: Deciding What to Design In-Young Ko iko.AT. icu.ac.kr Information and Communications University (ICU) iko.AT. icu.ac.kr Fall 2005 ICE0575 Lecture.
Methods: Deciding What to Design In-Young Ko iko.AT. icu.ac.kr Information and Communications University (ICU) iko.AT. icu.ac.kr Fall 2005 ICE0575 Lecture.
Use Case Modeling SJTU. Unified Modeling Language (UML) l Standardized notation for object-oriented development l Needs to be used with an analysis and.
IS0514Slide 1 IS0514 Lecture Week 4 Use Case Modelling (2)
Practical Business Modeling in the Unified Process Tom Morgan Software Architect, Fidelity National Information Services
CS3773 Software Engineering Lecture 03 UML Use Cases.
Object-Oriented Analysis and Design
Systems Analysis and Design in a Changing World, Fourth Edition
The Unified Software Development Process - Workflows Ivar Jacobson, Grady Booch, James Rumbaugh Addison Wesley, 1999.
Irwin/McGraw-Hill Copyright © 2004 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS6th Edition.
SE 555 Software Requirements & Specification1 Use-Case Modeling: Overview and Context.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 8 Slide 1 System models.
Documenting Requirements using Use Case Diagrams
© 2005 Prentice Hall4-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
Irwin/McGraw-Hill Copyright © 2004 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS6th Edition.
Bina Nusantara 7 C H A P T E R MODELING SYSTEM REQUIREMENTS WITH USE CASES.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 8 Slide 1 System models.
Requirements Analysis 4. 1 Use Case I b504.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis Use-Cases.
Modeling System Requirements with Use Cases
171 Use Case Descriptions Chapter 4 – Facade Iteration Initial Requirements (Inception Phase)
UML Sequence Diagrams Eileen Kraemer CSE 335 Michigan State University.
Slide 1 Requirements Workflow. Slide 2 The Phases/Workflows of the Unified Process Figure 3.1 l Phase is Business context of a step Workflow is Technical.
The first step in getting what you want is to decide what you want.
The chapter will address the following questions:
USE Case Model.
S/W Project Management
RUP Requirements RUP Artifacts and Deliverables
® 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.
Systems Analysis and Design in a Changing World, 6th Edition
ITEC224 Database Programming
Demystifying the Business Analysis Body of Knowledge Central Iowa IIBA Chapter December 7, 2005.
SOEN 6011 Software Engineering Processes Section SS Fall 2007 Dr Greg Butler
1 CMPT 275 Software Engineering Requirements Analysis Phase Requirements Analysis Activity (Identifying Objects, Scenarios) Janice Regan,
Requirement Engineering. Review of Last Lecture Problems with requirement Requirement Engineering –Inception (Set of Questions) –Elicitation (Collaborative.
Practical Object-Oriented Design with UML 2e Slide 1/1 ©The McGraw-Hill Companies, 2004 PRACTICAL OBJECT-ORIENTED DESIGN WITH UML 2e Chapter 4: Restaurant.
Requirements as Usecases Capturing the REQUIREMENT ANALYSIS DESIGN IMPLEMENTATION TEST.
UML-1 3. Capturing Requirements and Use Case Model.
Object Oriented Methodologies
UML-1 8. Capturing Requirements and Use Case Model.
® 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.
2131 Structured System Analysis and Design By Germaine Cheung Hong Kong Computer Institute Lecture 8 (Chapter 7) MODELING SYSTEM REQUIREMENTS WITH USE.
Systems Analysis and Design in a Changing World, 6th Edition
1 Capturing Requirements As Use Cases To be discussed –Artifacts created in the requirements workflow –Workers participating in the requirements workflow.
1 Capturing Requirements As Use Cases To be discussed –Artifacts created in the requirements workflow –Workers participating in the requirements workflow.
Use Cases Use Cases are employed to describe the functionality or behavior of a system. Each use case describes a different capability that the system.
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.
Object-Oriented Modeling: Static Models. Object-Oriented Modeling Model the system as interacting objects Model the system as interacting objects Match.
Introduction to UML CS A470. What is UML? Unified Modeling Language –OMG Standard, Object Management Group –Based on work from Booch, Rumbaugh, Jacobson.
Data Segmentation for Privacy November 16 th, 2011.
CSC480 Software Engineering Lecture 8-9 September 20, 2002.
CS212: Object Oriented Analysis and Design Lecture 32: Use case and Class diagrams.
Systems Analysis and Design in a Changing World, Fourth Edition
Use Cases Todd S. Bacastow Professor of Practice John A. Dutton e-Education Institute The Pennsylvania State University.
Lecture 13.  Failure mode: when team understands requirements but is unable to meet them.  To ensure that you are building the right system Continually.
Lecture 14 22/10/15. The Object-Oriented Analysis and Design  Process of progressively developing representation of a system component (or object) through.
UML - Development Process 1 Software Development Process Using UML.
Use Case Model Use case description.
UML Course Instructor: Rizwana Noor. Overview  Modeling  What is UML?  Why UML?  UML Diagrams  Use Case  Components  Relationships  Notations.
Software Engineering Lecture 10: System Engineering.
Chapter 7 Part II Structuring System Process Requirements MIS 215 System Analysis and Design.
7 Systems Analysis – ITEC 3155 The Object Oriented Approach – Use Cases.
CMPE 280 Web UI Design and Development August 29 Class Meeting
Use Case Modeling - II Lecture # 27.
Systems Analysis and Design in a Changing World, 6th Edition
Week 10: Object Modeling (1)Use Case Model
Systems Analysis and Design in a Changing World, 6th Edition
Software Design Lecture : 15.
Presentation transcript:

Methods: Deciding What to Design In-Young Ko iko.AT. icu.ac.kr Information and Communications University (ICU) iko.AT. icu.ac.kr Fall 2005 ICE0575 Lecture #3 Use Case Modeling II

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Announcements The class schedule after the Chooseok holiday has been changed The class schedule after the Chooseok holiday has been changed On 9/20, we will discuss about various software development methods On 9/20, we will discuss about various software development methods

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Picture of the Day: The Cave

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Plan for This Unit 09/02 : Fundamentals 09/02 : Fundamentals Scoping the problem through use cases Scoping the problem through use cases 09/06 : Structuring a well use case model 09/06 : Structuring a well use case model 09/09 : External viewpoints reports on understanding client ’ s needs 09/09 : External viewpoints reports on understanding client ’ s needs Make a 15 minute presentation Make a 15 minute presentation Send an abstract description of the main idea by 09/06 Send an abstract description of the main idea by 09/06 Suchman: Plans and Situated Accidents  TTA Suchman: Plans and Situated Accidents  TTA Carroll: Making Use  Posdata Carroll: Making Use  Posdata Moody: I Sing the Body Electronic  Hyundai Moody: I Sing the Body Electronic  Hyundai 09/13 : Project presentations of technical requirements of the studio projects through use cases 09/13 : Project presentations of technical requirements of the studio projects through use cases The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Today ’ s Class Business and domain modeling Business and domain modeling Writing effective use cases and functional decomposition Writing effective use cases and functional decomposition Use cases and the overall project development cycles Use cases and the overall project development cycles The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Projects Goal: Describe the technical requirements of your studio problem via use case modeling Goal: Describe the technical requirements of your studio problem via use case modeling Purpose: Purpose: Start brainstorming about your problem scope – functionalities you intent to deliver Start brainstorming about your problem scope – functionalities you intent to deliver Differentiate stakeholders and actors early on Differentiate stakeholders and actors early on Exercise use case modeling Exercise use case modeling Share your problem with rest of us who may not have a clear understanding Share your problem with rest of us who may not have a clear understanding Challenges: Challenges: You may or may not have a chance to meet with your client, but use case modeling (as opposed to task analysis) can be approached as your view of the problem as a requirement communication medium You may or may not have a chance to meet with your client, but use case modeling (as opposed to task analysis) can be approached as your view of the problem as a requirement communication medium 1/3 The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Projects Suggested outline Suggested outline Give a brief description of your problem Give a brief description of your problem Identify and briefly describe actors (not stakeholders) Identify and briefly describe actors (not stakeholders) Identify an initial set of use cases, structure the use case diagram Identify an initial set of use cases, structure the use case diagram Perform domain modeling Perform domain modeling Brainstorm alternative scenarios for use cases Brainstorm alternative scenarios for use cases Describe select high priority use cases Describe select high priority use cases Discuss possible nonfunctional requirements your use cases may have not captured, comment on possible alternative problem scoping paths and bottlenecks you see in your problem Discuss possible nonfunctional requirements your use cases may have not captured, comment on possible alternative problem scoping paths and bottlenecks you see in your problem 2/3 The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Projects Criteria for presentations and reports Criteria for presentations and reports How well have you identified the actors of your system? How well have you identified the actors of your system? How well have you defined your system scope, performed domain modeling? How well have you defined your system scope, performed domain modeling? How well have you focused on outlining the system through use cases? How well have you focused on outlining the system through use cases? How well are you aware of the possible pitfalls? How well are you aware of the possible pitfalls? 3/3 The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Issues Use case modeling is not good for everything Use case modeling is not good for everything Selecting the right tool at the right time Selecting the right tool at the right time Balancing resources, benefits and needs is crucial Balancing resources, benefits and needs is crucial Aspects to think in evaluating use case modeling Aspects to think in evaluating use case modeling Critical quality attributes Critical quality attributes Balance between system and human actors Balance between system and human actors Use case development process Use case development process Completeness versus resources available Completeness versus resources available The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Business Modeling Understanding the business Understanding the business Understanding the “business system” Understanding the “business system” To develop a business model To develop a business model Business use case model Business use case model Business object model Business object model Workers, entities, work units Workers, entities, work units The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Domain Modeling A special case of a business model A special case of a business model Creation of a common vocabulary that reflect tangible objects in the domain Creation of a common vocabulary that reflect tangible objects in the domain A tool to aid in eliciting A tool to aid in eliciting Business objects Business objects Real-world objects Real-world objects Events Events Represented usually as a UML class diagram Represented usually as a UML class diagram Sometimes replaced by glossary of terms Sometimes replaced by glossary of terms 1/2 The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Domain Modeling Domain modeling for the course management subsystem of AIMS Domain modeling for the course management subsystem of AIMS Domain object Description Use case Course Information The information object about a course entered by an instructor Add syllabus, Edit evaluation criteria, … Student Users who intend to use AIMS for course registration Register course, Check prerequisites, …. 2/2 The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Use Case Modeling Activities Create test cases and documen- tation Organize the use cases Prepare for use case modeling Perform stakeholder analysisPerform stakeholder analysis Select & customize use case frameworkSelect & customize use case framework Select standards, templates, and toolsSelect standards, templates, and tools Determine training and mentoring needsDetermine training and mentoring needs Perform initial use case modeling Develop context diagramDevelop context diagram Identify the major actorsIdentify the major actors Discover the conceptual system use casesDiscover the conceptual system use cases Develop initial use case diagramDevelop initial use case diagram Determine/refine the conceptual business objectsDetermine/refine the conceptual business objects Perform advanced use case modeling Develop base use case descriptionsDevelop base use case descriptions Elaborate the base use case descriptionElaborate the base use case description Model extend, include, and generalization relationshipsModel extend, include, and generalization relationships Map use cases to object modelsMap use cases to object models Develop instance scenariosDevelop instance scenarios

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University The Context The focus is in defining what is part of the system, what is not The focus is in defining what is part of the system, what is not External entities become candidate actors, i.e. External entities become candidate actors, i.e. The roles and responsibilities that will be carried by that external entity The roles and responsibilities that will be carried by that external entity The system to be implemented External entities The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Requirement Capture via Use Cases A single use case carries multiple requirements A single use case carries multiple requirements A single use case can involve many specific interactions and behaviors A single use case can involve many specific interactions and behaviors A single use case when initiated by different actors may trigger different events A single use case when initiated by different actors may trigger different events General descriptions draw the outline, but requirement capture mostly occurs in instance scenarios General descriptions draw the outline, but requirement capture mostly occurs in instance scenarios The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Extra Functional Requirements Use cases are vague in capturing low level system requirements Use cases are vague in capturing low level system requirements … ilities  modifiability, extensibility, usability … … ilities  modifiability, extensibility, usability … Performance  security, capacity, … Performance  security, capacity, … Associations, generalizations, hierarchies, dependencies Associations, generalizations, hierarchies, dependencies Object modeling is offered as a method to fill the gaps Object modeling is offered as a method to fill the gaps Identify the candidate objects that participate in use cases and perform “ object to use case modeling to object modeling ” iterations Identify the candidate objects that participate in use cases and perform “ object to use case modeling to object modeling ” iterations Typical rule of the thumb approach offered Typical rule of the thumb approach offered Verbs  use cases Verbs  use cases Nouns  objects Nouns  objects The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Initial Use Case Modeling Find use cases based on actor’s perspective Find use cases based on actor’s perspective Check if a use case does not provide value to any actor, then, it may be a candidate to remove Check if a use case does not provide value to any actor, then, it may be a candidate to remove Capture use cases at the same level of granularity Capture use cases at the same level of granularity Validate use cases and their descriptions with actors and other stakeholders Validate use cases and their descriptions with actors and other stakeholders  May have workshops to find and validate conceptual use case descriptions (a training session  multiple workshop groups  a review session)

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Today ’ s Plan Business and domain modeling Business and domain modeling Writing effective use cases and functional decomposition Writing effective use cases and functional decomposition Use cases and the overall project development cycles Use cases and the overall project development cycles The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Use Case Modeling - Describing a Use Case 1/3 The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University. Name: Actors: Description: Name: Actors: Description: Initial use case descriptions Name: Actors: Description: Sequence of Events: Preconditions: Postconditions: Assumptions: Name: Actors: Description: Sequence of Events: Preconditions: Postconditions: Assumptions: Base use case descriptions Broad descriptions of system behaviors initiated by actors Name: Actors: Description: Sequence of Events: Preconditions: Postconditions: Assumptions: Name: Actors: Description: Sequence of Events: Preconditions: Postconditions: Assumptions: Elaborated use case descriptions Detail descriptions of behaviors including condition logic and alternative flows

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Use Case Modeling - Describing a Use Case If the flow of events is important, you can describe it by: If the flow of events is important, you can describe it by: Using natural language Using natural language Using “ sequence of action ” approach Using “ sequence of action ” approach Maps nicely to interaction diagrams and object decompositions Maps nicely to interaction diagrams and object decompositions Using states Using states Good for representing multiple nonlinear paths (state diagrams) Good for representing multiple nonlinear paths (state diagrams) 2/3 The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Use Case Modeling - Describing a Use Case Black box versus white box approach Black box versus white box approach Do you represent internal system details or not Do you represent internal system details or not Advantages of black box Advantages of black box Does not assume a technical solution Does not assume a technical solution Focuses on users, taking the process one step ahead from actors Focuses on users, taking the process one step ahead from actors Advantages of white box Advantages of white box Draws focus to the internal details when they are essential to identify requirements Draws focus to the internal details when they are essential to identify requirements Forces to start thinking about technical aspects  what is a wish list, what is a doable sequence Forces to start thinking about technical aspects  what is a wish list, what is a doable sequence 3/3 The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Use Case Diagram – Structuring in the UML Context The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University. Relationships Communication Generalization Includes or uses Extends [Booch, Rumbaugh, Jacobsen (1999) The Unified Modeling Language Guide] communication generalization Validate User Check Password Retinal Scan Place Rush OrderPlace Order set priority > Customer Track Order >

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Use Case Diagram – Further Structuring Vertical versus horizontal division Vertical versus horizontal division Variations based on different initiators Variations based on different initiators e.g., BBS in AIMS – ‘ show BBS categories ’ use case - functions different for students and instructors e.g., BBS in AIMS – ‘ show BBS categories ’ use case - functions different for students and instructors Conditional logic points Conditional logic points The branches may be triggering other use cases The branches may be triggering other use cases The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University CRUD Matrix Create, Read, Update and Delete use cases Create, Read, Update and Delete use cases To map use cases to object models To map use cases to object models Example: A financial planner Example: A financial planner Use cases Objects Evaluate a goal Check spending Submit spending Account Read, Update ReadCreate GoalCreateReadUpdate UserCreateRead The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Today ’ s Plan Business and domain modeling Business and domain modeling Writing effective use cases and functional decomposition Writing effective use cases and functional decomposition Use cases and the overall project development cycles Use cases and the overall project development cycles The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University From Use Cases to Objects Domain object modeling Domain object modeling A domain or business level of abstraction A domain or business level of abstraction Determine the key elements of the system that all the involved parties need to have an agreed understanding on Determine the key elements of the system that all the involved parties need to have an agreed understanding on Analysis object modeling Analysis object modeling A logical or requirements level of abstraction A logical or requirements level of abstraction Utilize use cases to extract system level objects Utilize use cases to extract system level objects Design object modeling Design object modeling Map the analysis objects to design objects for implementation Map the analysis objects to design objects for implementation 1/2 The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University From Use Cases to Objects Jacobsen, Booch, Rumbaugh view [JBR 1999] - RUP Jacobsen, Booch, Rumbaugh view [JBR 1999] - RUP Analysis Model Specified by Deployment Model Distributed by Design Model Realized by Implementation Model Implemented by X OK X OK X OK Test Model Verified by Use Case Model 2/2 The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Use Case Realizations Use case model Design model participating classes Bank Customer Money Receptor Cashier Interface Dispenser Withdrawal Transfer Deposit Account Deposit Money Transfer between Accounts Withdraw Money Bank Customer Use case model Analysis model The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University From Use Cases to Design and Code One-to-one cases from flow of events One-to-one cases from flow of events “ Launch help when the user enters a valid password ” “ Launch help when the user enters a valid password ” “ Support eight-digit floating-point input parameters ” “ Support eight-digit floating-point input parameters ” Orthogonal cases: challenge of moving from real world items to structural constructs like stacks, queues, hash tables …, lack of direct relationship Orthogonal cases: challenge of moving from real world items to structural constructs like stacks, queues, hash tables …, lack of direct relationship Process structure of implementation Process structure of implementation Interaction between requirements Interaction between requirements Non-functional requirements Non-functional requirements The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Test Cases Use Case 2 Use Case 1 Use Case 2.1 Use Case Model Test Case 2 Test Case 1 Test Case Model (traceability links) The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Test Case Design Test Case ID Event description Input 1 Input 2 Expected Result Basic Flow 2001 Resident presses control switch Any enabled button Light was on before button pressed Light is turned off 2002 Light was off Light is turned on 2003 Resident releases button in less than 1 second Light on Stays off 2005 Resident releases button in less than 1 second Light off Stays on Test case for ‘Control Light’ use case The content of this slide is adopted from the lecture materials of the Methods course (17-652) at Carnegie Mellon University.

Fall ICE 0575 – Methods: Deciding What to Design © In-Young Ko, Information and Communications University Questions??