Creator: ACSession No: 12 Slide No: 1Reviewer: CSE300Advanced Software EngineeringJanuary 2006 Testing Strategy CSE300 Advanced Software Engineering University.

Slides:



Advertisements
Similar presentations
Verification and Validation
Advertisements

Software Engineering-II Sir zubair sajid. What’s the difference? Verification – Are you building the product right? – Software must conform to its specification.
Software Engineering COMP 201
Creator: ACSession No: 13 Slide No: 1Reviewer: SS CSE300Advanced Software EngineeringFebruary 2006 Testing - Techniques CSE300 Advanced Software Engineering.
Chapter 17 Software Testing Techniques
©Ian Sommerville 2000Software Engineering, 6th edition. Chapter 19Slide 1 Verification and Validation l Assuring that a software system meets a user's.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Creator: ACSession No: 5 Slide No: 1Reviewer: SS CSE300Advanced Software EngineeringSeptember 2005 Software Measurement - Basics CSE300 Advanced Software.
1 Software Testing and Quality Assurance Lecture 1 Software Verification & Validation.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 22 Slide 1 Verification and Validation.
Software Engineering Lecture 12 Software Testing Techniques 1.
Verification and Validation CIS 376 Bruce R. Maxim UM-Dearborn.
Verification and Validation
Chapter 13 & 14 Software Testing Strategies and Techniques
©Ian Sommerville 2000Software Engineering, 6th edition. Chapter 19Slide 1 Verification and Validation l Assuring that a software system meets a user's.
Software Testing Verification and validation planning Software inspections Software Inspection vs. Testing Automated static analysis Cleanroom software.
©Ian Sommerville 1995 Software Engineering, 5th edition. Chapter 22Slide 1 Verification and Validation u Assuring that a software system meets a user's.
©Ian Sommerville 2000Software Engineering, 6th edition. Chapter 19Slide 1 Verification and Validation l Assuring that a software system meets a user's.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 22 Slide 1 Verification and Validation.
Chapter 12: Software Testing Omar Meqdadi SE 273 Lecture 12 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
Verification and Validation Chapter 22 of Ian Sommerville’s Software Engineering.
Creator: ACSession No: 16 Slide No: 1Reviewer: SS CSE300Advanced Software EngineeringFebruary 2006 (Software Quality) Configuration Management CSE300 Advanced.
Software Testing Testing types Testing strategy Testing principles.
CS.436 Software Engineering By Ajarn..Sutapart Sappajak,METC,MSIT Chapter 13 Verification and validation Slide 1 1 Chapter 13 Verification and Validation.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 22 Slide 1 Software Verification, Validation and Testing.
SoftwareVerification and Validation
This chapter is extracted from Sommerville’s slides. Textbook chapter
Anton Krbaťa Ján Budáč  Verification: "Are we building the product right ?„  Validation: "Are we building the right product ?"
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 22 Slide 1 Bzupages.com Verification and Validation.
CHAPTER 9: VERIFICATION AND VALIDATION 1. Objectives  To introduce software verification and validation and to discuss the distinction between them 
Verification and Validation Assuring that a software system meets a user's needs.
Chapter 12: Software Inspection Omar Meqdadi SE 3860 Lecture 12 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
Creator: ACSession No: 7 Slide No: 1Reviewer: SS CSE300Advanced Software EngineeringSeptember 2005 Software Measurement – Estimation and Productivity CSE300.
Software Engineering, 8th edition Chapter 22 1 Courtesy: ©Ian Somerville 2006 April 27 th, 2009 Lecture # 19 Verification and Validation.
Chapter 8 Lecture 1 Software Testing. Program testing Testing is intended to show that a program does what it is intended to do and to discover program.
Software Engineering1  Verification: The software should conform to its specification  Validation: The software should do what the user really requires.
©Ian Sommerville Software Engineering, 7th edition. Chapter 22 Slide 1 Verification and Validation with edits by Dan Fleck Coming up: Objectives.
Software Engineering Saeed Akhtar The University of Lahore.
Software Testing. System/Software Testing Error detection and removal determine level of reliability well-planned procedure - Test Cases done by independent.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 22 Slide 1 Verification and Validation with edits by Dan Fleck.
 Software Testing Software Testing  Characteristics of Testable Software Characteristics of Testable Software  A Testing Life Cycle A Testing Life.
Dynamic Testing.
HNDIT23082 Lecture 09:Software Testing. Validations and Verification Validation and verification ( V & V ) is the name given to the checking and analysis.
Chapter 12: Software Testing Omar Meqdadi SE 273 Lecture 12 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
This chapter is extracted from Sommerville’s slides. Textbook chapter 22 1 Chapter 8 Validation and Verification 1.
SOFTWARE TESTING Sampath Kumar Vuyyuru. INTRODUCTION Software Testing is a way of executing the software in a controlled manner to check whether the software.
SOFTWARE TESTING SOFTWARE TESTING Presented By, C.Jackulin Sugirtha-10mx15 R.Jeyaramar-10mx17K.Kanagalakshmi-10mx20J.A.Linda-10mx25P.B.Vahedha-10mx53.
Lecturer: Eng. Mohamed Adam Isak PH.D Researcher in CS M.Sc. and B.Sc. of Information Technology Engineering, Lecturer in University of Somalia and Mogadishu.
Software Testing Testing is the process of exercising a program with the specific intent of finding errors prior to delivery to the end user.
Verification vs. Validation Verification: "Are we building the product right?" The software should conform to its specification.The software should conform.
Testing Integral part of the software development process.
©Ian Sommerville 2000Software Engineering, 6th edition. Chapter 19Slide 1 Verification and Validation l Assuring that a software system meets a user's.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 22 Slide 1 Verification and Validation.
Laurea Triennale in Informatica – Corso di Ingegneria del Software I – A.A. 2006/2007 Andrea Polini XVII. Verification and Validation.
CX Introduction to Web Programming Testing.
Verification and Validation. Topics covered l Verification and validation planning l Program Testing l Software inspections.
Chapter 17 Software Testing Techniques
Software Verification and Validation
CSC 480 Software Engineering
Verification & Validation
Chapter 13 & 14 Software Testing Strategies and Techniques
Lecture 09:Software Testing
Verification and Validation Unit Testing
Chapter 7 Software Testing.
Presented by KARRI GOVINDA RAO ,
Chapter 13 & 14 Software Testing Strategies and Techniques 1 Software Engineering: A Practitioner’s Approach, 6th edition by Roger S. Pressman.
Presentation transcript:

Creator: ACSession No: 12 Slide No: 1Reviewer: CSE300Advanced Software EngineeringJanuary 2006 Testing Strategy CSE300 Advanced Software Engineering University of Sunderland © 2006 Anne Comer

CSE300Advanced Software EngineeringJanuary 2006 Creator/Editor: ACSession No:12 Slide No: 2Reviewer: Aim of this Session To consider Verification and Validation at the strategic level – what do the terms mean, what is the difference between static and dynamic V&V, what do we mean by testing, how does testing relate to the development process?

CSE300Advanced Software EngineeringJanuary 2006 Creator/Editor: ACSession No:12 Slide No: 3Reviewer: Verification & Validation Any engineered product can be checked in one of two ways: check vs. the specified functions - Validation “doing the right thing” check vs. the internal workings - Verification “doing the thing right”

CSE300Advanced Software EngineeringJanuary 2006 Creator/Editor: ACSession No:12 Slide No: 4Reviewer: Static and dynamic V&V Static V&V - software inspections - concerned with analysis of the static system representation, in order to discover problems. –May be supplemented by tool-based document and code analysis. Dynamic V&V - software testing - concerned with exercising and observing product behaviour. –The system is executed with test data and its operational behaviour is observed.

CSE300Advanced Software EngineeringJanuary 2006 Creator/Editor: ACSession No:12 Slide No: 5Reviewer: What is Testing? Testing is the process of executing a program with the intent of finding errors A good test case has a high probability of finding an as-yet undiscovered error A successful test is one that uncovers an as-yet undiscovered error. - G. Myers

CSE300Advanced Software EngineeringJanuary 2006 Creator/Editor: ACSession No:12 Slide No: 6Reviewer: Types of testing Defect testing –Tests designed to discover system faults. –A successful test is one which reveals the presence of faults in a system. Statistical testing –Tests designed to reflect the frequency of user inputs (i.e., the operational profile). Is used for reliability estimation.

CSE300Advanced Software EngineeringJanuary 2006 Creator/Editor: ACSession No:12 Slide No: 7Reviewer: Testing Shows… “Testing cannot show the absence of faults, it can only show that software faults are present.” However, testing also shows function and performance. Testing is also used to indicate the quality of the software.

CSE300Advanced Software EngineeringJanuary 2006 Creator/Editor: ACSession No:12 Slide No: 8Reviewer: Independent Testing The DEVELOPERS understand the system - because they built it! Unsurprisingly, they test to show it works; they test gently,and are driven by ‘delivery’. INDEPENDENT testers have to learn about the system, but will attempt to break it. They are driven by quality.

CSE300Advanced Software EngineeringJanuary 2006 Creator/Editor: ACSession No:12 Slide No: 9Reviewer: Exhaustive Testing Even in small programs the number of possible logical paths can be enormous. Take a program about 100 lines long, with a couple of nested loops executing 20 times each. There are approximately possible paths that may be executed. At one test per millisecond, that would be 3170 years alone! Exhaustive testing is a ‘non-starter’.

CSE300Advanced Software EngineeringJanuary 2006 Creator/Editor: ACSession No:12 Slide No: 10Reviewer: Selective Testing Even if exhaustive testing is a non-starter, white box testing should not be dismissed. Important logical paths and loops should be tested. Selective testing validates the interfaces and gives confidence in the internal workings of the software.

CSE300Advanced Software EngineeringJanuary 2006 Creator/Editor: ACSession No:12 Slide No: 11Reviewer: Where Errors Occur Requirements Analysis System design & specfn Program design Program implementation Unit and integration test System test Maintenance Incorrect or unclear requirements, incorrect or unclear translation Incorrect or unclear design spec. Misinterpretation of system design Misinterpretation of prog. Design incorrect documentation incorrect syntax or semantics Incomplete test procedures adding new errors when fixing old User documentation, human factors, changing requirements,.....

CSE300Advanced Software EngineeringJanuary 2006 Creator/Editor: ACSession No:12 Slide No: 12Reviewer: The Testing ‘V’ Lifecycle (see next slide for details of the test plans) rquirment s Reqrts and Specification System design Detailed design Module code and test Subsystem integration test System integration test Acceptance test Subsystem integration test plan System integration test plan Acceptance test plan

CSE300Advanced Software EngineeringJanuary 2006 Creator/Editor: ACSession No:12 Slide No: 13Reviewer: Test Plans Test process Requirements traceability Items under test Test schedules Test recording procedures Hardware and software requirements Constraints

CSE300Advanced Software EngineeringJanuary 2006 Creator/Editor: ACSession No:12 Slide No: 14Reviewer: Test Case Design “ Bugs lurk in corners and congregate at boundaries.....”- Boris Beizer OBJECTIVEto uncovers errors CRITERIAin a complete manner CONSTRAINTwith a minimum of effort & time

CSE300Advanced Software EngineeringJanuary 2006 Creator/Editor: ACSession No:12 Slide No: 15Reviewer: Prior Reading Prior to the next session students are required to read the software testing chapters of Pressman.