 Week03 Jerry Kotuba SYST30009-Engineering Quality Software 1.

Slides:



Advertisements
Similar presentations
Use case tutorial examples.
Advertisements

Use Case & Use Case Diagram
9/10/2004Use Case Workshop 1 CSC480 Software Engineering Workshop 1 Requirements Modeling.
Sequence Diagrams. Introduction A Sequence diagram depicts the sequence of actions that occur in a system. The invocation of methods in each object, and.
Use Case Diagrams - UML (Thanks to Helen Albanese for the starting point for this brief presentation)
Interaction Diagrams Activity Diagram State Machine Diagram
Conversation Form l One path through a use case that emphasizes interactions between an actor and the system l Can show optional and repeated actions l.
Lecture 8 – USE CASE ANALYSIS
The Unified Software Development Process - Workflows Ivar Jacobson, Grady Booch, James Rumbaugh Addison Wesley, 1999.
January Ron McFadyen1 Ch 9. Use-case model: drawing System Sequence Diagrams Elaboration Iteration 1: a simple cash-only success scenario of.
Uml and Use Cases CS 414, Software Engineering I Mark Ardis Rose-Hulman Institute January 9, 2003.
SwE 313 Case Study Registration System.
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.
Close Registration Brief Description
Use Cases & Requirements Analysis By: Mostafa Elbarbary.
OOAD Using the UML - Use-Case Analysis, v 4.2 Copyright  Rational Software, all rights reserved 1 Interaction Diagrams.
7. 2Object-Oriented Analysis and Design with the Unified Process Objectives  Detailed Object-Oriented Requirements Definitions  System Processes—A Use.
Recall The Team Skills Analyzing the Problem
Use Case Modeling. Use case diagram For each use case we develop  Object class diagram (with attributes only)  System sequence diagram (analysis) 
TK2023 Object-Oriented Software Engineering CHAPTER 6 SYSTEM SEQUENCE DIAGRAMS.
USE Case Model.
® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 4: Detailing a Use Case.
Project Analysis Course ( ) Week 2 Activities.
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 06. Requirements.
Chapter 5 Analysis Model. Analysis model (AM) The first step in describing how the system will implement the requirements specification The first step.
OBJECT ORIENTED METHODOLOGIES Week04. Agenda… © Jerry Kotuba SYST39409-Object Oriented Methodologies 2  This week  Quiz 1  Take up ICE-01  Check “Grade.
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,
1 Source: IBM Academic Program IBM Software Group ® Mastering Requirements Management with Use Cases Module 3: Introduction to Use-Case Modeling.
Use Cases 1. Last week  Introduction to software engineering  How is it different from traditional engineering?  Introduction to specification  Operational.
Faculty of Computer & Information Software Engineering Third year
Software Engineering Chapter 7 Fall Capturing the Requirements as Use Cases Capturing the Requirements as Use Cases By using use cases analysts.
Requirements Analysis via Use Cases SE-2030 Dr. Rob Hasker 1 Based on slides written by Dr. Mark L. Hornick Used with permission.
REQUIREMENTS CAPTURE 1 ASU Course Registration System Use-case Model Actor.
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
Faculty of Computer & Information
Black Box Testing Techniques Chapter 7. Black Box Testing Techniques Prepared by: Kris C. Calpotura, CoE, MSME, MIT  Introduction Introduction  Equivalence.
Behavioral Modeling: Sequence and Communication Diagrams Copyright © 2009 John Wiley & Sons, Inc. Copyright © 2005 Pearson Education Copyright © 2009 Kannan.
Requirements as Usecases Capturing the REQUIREMENT ANALYSIS DESIGN IMPLEMENTATION TEST.
Software Construction Lecture 18 Software Testing.
Object Oriented Methodologies
1 Objectives  Define key concepts of use-case modeling.  List the benefits of use-case modeling.  Find actors and use cases.  Describe their relationships.
Faculty of Applied Engineering and Urban Planning Software Engineering Department Software Engineering Lab Use Cases Faculty of Information system Technology.
Shanghai Jiao Tong University 上海交通大学软件工程中心 Object Oriented Analysis and Design Requirements Overview.
Discovering object interaction. Use case realisation The USE CASE diagram presents an outside view of the system. The functionality of the use case is.
Drawing System Sequence Diagrams
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.
Use Case Diagram The purpose is to communicate the system’s functionality and behaviour to the customer or end user. Mainly used for capturing user requirements.
REQUIREMENTS CAPTURE 1 ASU Course Registration System Use-case Model.
Applying Use Cases to Implementation (Chapters 25,26 - Requirements Text) Steve Chenoweth & Chandan Rupakheti Question 1.
Sept Ron McFadyen1 Use Cases Introduced by Ivar Jacobson in 1986 literal translation from Swedish ”usage case” Used to capture and describe.
1 What is the Software Life Cycle? The stages of developing a software application Requirements Analysis High-level Design Plan Low-level Design Implementation.
Essentials of Visual Modeling w/ UML Instructor Notes
UML (Unified Modeling Language)
® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 3: Outlining Use Cases.
UML - Development Process 1 Software Development Process Using UML.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 5th Edition Copyright © 2015 John Wiley & Sons, Inc. All rights.
Page 1  Copyright © 1997 by Rational Software Corporation Putting the UML to Work The ESU University wants to computerize their registration system –
Requirement Elicitation Review – Class 8 Functional Requirements Nonfunctional Requirements Software Requirements document Requirements Validation and.
Chapter 3: Software Design –Use case Diagram Nouf Alghanmi.
ACO 101: Use cases What do the users do?. When building a system You begin with the Use Case Analysis – When looking at the system as a whole, Use Case.
UC Diagram & Scenario RKPL C & D. Using Use Case Diagram Use case diagrams are used to visualize, specify, construct, and document the (intended) behavior.
Engineering Quality Software Week02 J.N.Kotuba1 SYST Engineering Quality Software.
Using Use Case Diagrams
Chapter 5 유스케이스 개요 Introduction to Use Cases
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Using Use Case Diagrams
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Engineering Quality Software
Team Skill 6 - Building The Right System Part 1: Applying Use Cases
Presentation transcript:

 Week03 Jerry Kotuba SYST30009-Engineering Quality Software 1

 Quiz No 1 (week04)  Schedule o Assignment Details  Recap last class o Use Cases Scenarios “Includes” & “Extends” relationships  Software Testing o Black Box Techniques Generating Test Cases o White Box Techniques Jerry Kotuba SYST30009-Engineering Quality Software 2

 Includes o Case In Point – “Stop Payment”  Extends o Case In Point – “Register Student” Jerry Kotuba SYST Engineering Quality Software 3

 Tend to see more includes.  Extends are fewer. Jerry Kotuba SYST Engineering Quality Software 4

Jerry Kotuba SYST Engineering Quality Software 5

 Coupling o Each use case should be as independent as possible should stand alone (i.e., have little or no coupling)  Cohesion o Each use case should have a single responsibility/goal Each use case should specify a significant chunk of functionality and show how the system provides value to an actor. All the functionality in one use case should be about accomplishing one goal of an actor (i.e., have high cohesion). In a system for a typical automated teller machine (ATM), one use case would be "Withdraw Cash" and another "Transfer Funds." Each use case concentrates on a single goal. Jerry Kotuba SYST30009-Engineering Quality Software 7

 A test case is… o A set of test inputs o Execution conditions o Expected results …developed for a particular objective: to exercise a particular program path or verify compliance with a specific requirement. Jerry Kotuba SYST30009-Engineering Quality Software 8

 Test cases are necessary to verify successful and acceptable implementation of the product requirements Jerry Kotuba SYST30009-Engineering Quality Software 9

 Three step process o For each use case, generate a full set of use-case scenarios o For each scenario, identify at least one test case and the conditions that will make it “execute”. o For each test case, identify the data values with which to test. Jerry Kotuba SYST30009-Engineering Quality Software 10

 Activity Diagrams can be particularly helpful here Jerry Kotuba SYST30009-Engineering Quality Software 11

 Course Registration System Jerry Kotuba SYST30009-Engineering Quality Software 12

Jerry Kotuba SYST30009-Engineering Quality Software 13  Register For Course  1. Logon  This use case starts when a Student accesses the Sheridan Web site.  The system asks for, and the Student enters, the student ID  and password.  2. Select 'Create a Schedule'  The system displays the functions available to the student. The  student selects “Register for Course.“  3. Obtain Course Information  The system retrieves a list of available course offerings from the  Course Catalog System and displays the list to the Student.  4. Select Courses  The Student selects a course offering from the list of available course  offerings.  5. Submit Schedule  The system verifies that the Student has the necessary prerequisites.  6. Display Completed Schedule  The system displays the schedule containing the selected course  for the Student. Basic Flow

Jerry Kotuba SYST30009-Engineering Quality Software 14  Register For Course  1. Unidentified Student  In Step 1 of the Basic Flow, Logon, if the system determines  that the student ID and/or password is not valid, an error  message is displayed.  2. Unfulfilled Prerequisites, Course Full, or Schedule  Conflicts  In Step 5 of the Basic Flow, Submit Schedule, if the system  determines that prerequisites for a selected course are not  satisfied, the system will not enroll the student in the course. A  message is displayed that the student can select a different  course. The use case continues at Step 4, Select Courses, in the  basic flow.  3. Course Catalog System Unavailable  In Step 3 of the Basic Flow, Obtain Course Information, if the  system is down, a message is displayed and the use case ends.  4. Course Registration Closed  If, when the use case starts, it is determined that registration  has been closed, a message is displayed, and the use case  ends. Alternate Flows

 Illustration – System Architect Jerry Kotuba SYST30009-Engineering Quality Software 15

 There is one more thing to describe before we concentrate on how use cases can be used to generate test cases: a use-case scenario.  A use-case scenario is an instance of a use case, or a complete "path" through the use case.  End users of the completed system can go down many paths as they execute the functionality specified in the use case.  Following the basic flow would be one scenario.  Following the basic flow plus alternate flow A1 would be another. The basic flow plus alternate flow A2 would be a third, and so on. Jerry Kotuba SYST30009-Engineering Quality Software 16

Jerry Kotuba SYST30009-Engineering Quality Software 17 Use Case Scenario Table

Jerry Kotuba SYST30009-Engineering Quality Software 18

Jerry Kotuba SYST30009-Engineering Quality Software 19

Jerry Kotuba SYST30009-Engineering Quality Software 20

 ICE-02 is in week 03 of the course materials on SLATE Jerry Kotuba SYST30009-Engineering Quality Software 21

 Investigate Other Black Box Testing Techniques Jerry Kotuba SYST30009-Engineering Quality Software 22