1 Software Testing and Quality Assurance Lecture 17 - Test Analysis & Design Models (Chapter 4, A Practical Guide to Testing Object-Oriented Software)

Slides:



Advertisements
Similar presentations
System Integration Verification and Validation
Advertisements

1 Software Testing and Quality Assurance Lecture 13 - Planning for Testing (Chapter 3, A Practical Guide to Testing Object- Oriented Software)
© 2005 Prentice Hall6-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
Manage Quality
1 Software Requirement Analysis Deployment Package for the Basic Profile Version 0.1, January 11th 2008.
1 Software Testing and Quality Assurance Lecture 12 - The Testing Perspective (Chapter 2, A Practical Guide to Testing Object-Oriented Software)
Software Testing and Quality Assurance
Software Testing and Quality Assurance
Software Testing and Quality Assurance
January 20, 2002ECEN5033 University of Colorado, Testing OO Software Part Two 1 Testing Object-Oriented Software – Testing Models Software Engineering.
COST G9 - Work group 2 Cadastral science meeting Aalborg, Dk Modeling methodology for real estate transactions Radoš Šumrada Faculty.
1 Software Testing and Quality Assurance Lecture 24 – Testing Interactions (Chapter 6)
© 2005 Prentice Hall4-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
1 Software Testing and Quality Assurance Lecture 15 - Planning for Testing (Chapter 3, A Practical Guide to Testing Object- Oriented Software)
Software Engineering CSE470: Requirements Analysis 1 Requirements Analysis Defining the WHAT.
Chapter 21 Object-Oriented Analysis
Validating and Improving Test-Case Effectiveness Author: Yuri Chernak Presenter: Lam, Man Tat.
1 Software Testing and Quality Assurance Lecture 30 – Testing Systems.
Software Testing and Quality Assurance
Software Testing and Quality Assurance: Introduction and Terminology
1 Software Testing and Quality Assurance Lecture 25 – Testing Interactions (Chapter 6)
Software Architecture Quality. Outline Importance of assessing software architecture Better predict the quality of the system to be built How to improve.
DITSCAP Phase 2 - Verification Pramod Jampala Christopher Swenson.
Software Testing and Quality Assurance: Inspection Reading Assignment: –John McGregor and David A. Sykes, A Practical Guide to Testing Object-Oriented.
1 Software Testing and Quality Assurance Lecture 5 - Software Testing Techniques.
SOFTWARE PROJECT MANAGEMENT Project Quality Management Dr. Ahmet TÜMAY, PMP.
Handouts Software Testing and Quality Assurance Theory and Practice Chapter 11 System Test Design
What is Business Analysis Planning & Monitoring?
S/W Project Management
Commercial Database Applications Testing. Test Plan Testing Strategy Testing Planning Testing Design (covered in other modules) Unit Testing (covered.
INTROSE Introduction to Software Engineering Raymund Sison, PhD College of Computer Studies De La Salle University User Interface Design.
These slides are designed to accompany Software Engineering: A Practitioner’s Approach, 7/e (McGraw-Hill 2009). Slides copyright 2009 by Roger Pressman.1.
1 Object-Oriented Testing CIS 375 Bruce R. Maxim UM-Dearborn.
University of Palestine software engineering department Testing of Software Systems Fundamentals of testing instructor: Tasneem Darwish.
Chapter 2 The process Process, Methods, and Tools
CPIS 357 Software Quality & Testing I.Rehab Bahaaddin Ashary Faculty of Computing and Information Technology Information Systems Department Fall 2010.
Applying the Inspection Process. What Software Artifacts Are Candidates for Inspection? Software Requirements Software Designs Code Test Plans.
Testing Analysis and Design Models Review Class 3 Overview of Testing Analysis and Design Models Models and Testing Guided Inspection Analysis Model Design.
CEN rd Lecture CEN 4021 Software Engineering II Instructor: Masoud Sadjadi Phases of Software.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 7: Focusing on Users and Their Tasks.
Software Engineering Chapter 7 Fall Capturing the Requirements as Use Cases Capturing the Requirements as Use Cases By using use cases analysts.
Teaching Today: An Introduction to Education 8th edition
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 4: Developing Requirements.
Approaching a Problem Where do we start? How do we proceed?
CPSC 372 John D. McGregor Module 2 Session 1 More on requirements and the Investment Decision.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 22 Slide 1 Software Verification, Validation and Testing.
Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.
©Ian Sommerville 2000Software Engineering, 6th edition. Chapter 19Slide 1 Chapter 19 Verification and Validation.
Verification and Validation Assuring that a software system meets a user's needs.
Designing Effective HRD Programs Chapter 5 Human Resource Development.
Formal Methods.
By Germaine Cheung Hong Kong Computer Institute
Business Analysis. Business Analysis Concepts Enterprise Analysis ► Identify business opportunities ► Understand the business strategy ► Identify Business.
Chapter 24 객체지향 응용프로그램 테스팅 Testing Object-Oriented Applications 임현승 강원대학교 Revised from the slides by Roger S. Pressman and Bruce R. Maxim for the book.
1 Lecture 15: Chapter 19 Testing Object-Oriented Applications Slide Set to accompany Software Engineering: A Practitioner’s Approach, 7/e by Roger S. Pressman.
Evaluating Requirements
Requirement engineering & Requirement tasks/Management. 1Prepared By:Jay A.Dave.
UML - Development Process 1 Software Development Process Using UML.
OOAD UNIT V B RAVINDER REDDY PROFESSOR DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING.
CSCI 383 Object-Oriented Programming & Design Lecture 7 Martin van Bommel.
Requirement Elicitation Review – Class 8 Functional Requirements Nonfunctional Requirements Software Requirements document Requirements Validation and.
Dillon: CSE470: ANALYSIS1 Requirements l Specify functionality »model objects and resources »model behavior l Specify data interfaces »type, quantity,
Develop Schedule is the Process of analyzing activity sequences, durations, resource requirements, and schedule constraints to create the project schedule.
Chapter 4: Business Process and Functional Modeling, continued
CSC 480 Software Engineering
Object-Oriented Analysis
Chapter 24 Testing Object-Oriented Applications
Chapter 19 Testing Object-Oriented Applications
Chapter 19 Testing Object-Oriented Applications
Unit IV – Chapter 2 V-Test Model.
Presentation transcript:

1 Software Testing and Quality Assurance Lecture 17 - Test Analysis & Design Models (Chapter 4, A Practical Guide to Testing Object-Oriented Software)

2 Lecture Outline Evaluation Criteria & Organization of the guided inspection activities. Preparing for the guided inspection.

3 Guided inspection: evaluation criteria Correctness: is a measure of the accuracy of the model: In analysis: it is the accuracy of the problem description. In design: it is how accurately the model represents the solution of the problem The model is correct with respect to a set of test cases if every test case produces the expected result.

4 Guided inspection: evaluation criteria Completeness: is a measure of the inclusiveness of the model (are any necessary, or at least useful, elements missing from the model)? In iterative incremental process, completeness is considered relative to how mature the current increment is expected to be. Do all objects needed for the sequence diagram come from classes in the class diagram? The model is complete if the result of executing the test cases can be adequately represented using only the content of the model.

5 Guided inspection: evaluation criteria (cont...) Consistency: is a measure of whether there are contradictions within the model or between the current model and the model upon which it is based. Consistency can determine whether there are contradictions or conflicts present either internal to a single diagram or between two diagrams. The model is inconsistent if there are different representations within the model for similar test cases.

6 Guided inspection: evaluation criteria (cont...) Other qualities like performance goals: define a number of system attributes that the development team might wish to verify. The guided inspection test cases can be used as scenarios for testing performance.

7 Organization of the guided inspection activity Basic roles: Domain expert: the source of the expected results Tester: conduct the analysis necessary to select effective test cases. Developer: the creators of the models under test. Individual inspections: testers complete a checklist specific to the type of model being inspected. This process can be automated.

8 Preparing for the guided inspection: specifying the inspection Scope of an inspection is defined by specifying a set of use cases, a set of packages, or abstract classes/interfaces. Depth of an inspection is defined by specifying layers in aggregation hierarchies under which messages are not sent.

9 Preparing for the guided inspection: realistic models Layered approach: more individual diagrams but each diagram is sufficiently modular to fit within the scope of a specific inspection

10 Preparing for the guided inspection: realistic models— layered approach

11 Preparing for the guided inspection: realistic models— layered approach (cont…)

12 Preparing for the guided inspection: selecting test cases for the inspection Test cases can be selected to ensure that specific types of coverage are achieved or to find specific type of defects.

13 Preparing for the guided inspection: selecting test cases for the inspection Test case selection methods: Orthogonal defect classification: most likely to identify defects by covering the different categories of system actions that trigger defects. Use profiles: give confidence in the reliability of the product by identifying which parts of the program are used the most, Risk Analysis

14 Preparing for the guided inspection: selecting test cases for the inspection (cont...) Orthogonal defect classification (ODC) The activities that caused a defect to be detected are classified as triggers. The guided inspection technique uses several of these triggers as a guide to select test cases.

15 Preparing for the guided inspection: selecting test cases for the inspection (cont...) By structuring the guided inspection process so that as many of these triggers as possible are encountered, you ensure that the tests that guide the inspection are more likely to trigger as many failures as possible.

16 Preparing for the guided inspection: selecting test cases for the inspection (cont...) Use profiles: A use profile for a system is an ordering of the individual test cases based on a combination of the frequency and criticality values for the individual use cases.

17 Preparing for the guided inspection: selecting test cases for the inspection (cont...) Risk as a test case selector: Risk can be used as the basis for test case selection It is useful during the development It is not appropriate after development when we are trying to achieve some measure of reliability of the software, at that time the use of profile technique is better because it supports the way software will be used.

18 Preparing for the guided inspection: creating test cases Use case scenario: the path taken The alternative paths: several scenarios that differ from the use scenario but represent valid execution Exceptional paths: scenarios that result in error conditions

19 Preparing for the guided inspection: an example of a use case Use case # 1 Actor: Player Use Scenario: The user selects the play option from the menu. The system responds by starting the game. Alternate Paths: If a match is already in progress, the selection is ignored. Exceptional Cases: If the match cannot open the display, an error message is displayed and the game aborts. Frequency: Low Criticality: High Risk: Medium

20 Testing specific types of models The level of detail in the model becomes greater as development proceeds. The amount of information also increases as development proceeds. The exact interpretation of the evaluation criteria can be made more specific for a specific model. The membership of the inspection team changes for different models.

21 Key points Evaluation criteria: Correctness Completeness Consistency Other qualities Test case selection methods: Orthogonal defect classification Use profiles Risk