1 Testing. 2 About Testing  The reason the program is in testing is that it probably doesn’t work!  We test to find bugs before our users and hope that.

Slides:



Advertisements
Similar presentations
Software Testing Strategies
Advertisements

Lecture 8: Testing, Verification and Validation
Testing and Quality Assurance
Ossi Taipale, Lappeenranta University of Technology
Software Architecture Prof.Dr.ir. F. Gielen
Software Quality Assurance Inspection by Ross Simmerman Software developers follow a method of software quality assurance and try to eliminate bugs prior.
CMSC 345, Version 11/07 SD Vick from S. Mitchell Software Testing.
Chapter 9 Testing the System, part 2. Testing  Unit testing White (glass) box Code walkthroughs and inspections  Integration testing Bottom-up Top-down.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 23 Slide 1 Software testing.
Illinois Institute of Technology
Testing, One More Time. Testing Phases Basically there are two main phases Basically there are two main phases –By developers –By independent testing.
Software Testing Levels Philippe CHARMAN Last update:
Chapter 11: Testing The dynamic verification of the behavior of a program on a finite set of test cases, suitable selected from the usually infinite execution.
Introduction to Software Testing
Software Testing & Strategies
BY RAJESWARI S SOFTWARE TESTING. INTRODUCTION Software testing is the process of testing the software product. Effective software testing will contribute.
Chapter 13 & 14 Software Testing Strategies and Techniques
Functional Testing Test cases derived from requirements specification document – Black box testing – Independent testers – Test both valid and invalid.
Software Testing Verification and validation planning Software inspections Software Inspection vs. Testing Automated static analysis Cleanroom software.
BY: GARIMA GUPTA MCA FINAL YEAR WHAT IS SOFTWARE TESTING ? SOFTWARE TESTING IS THE PROCESS OF EXECUTING PROGRAMS OR SYSTEM WITH THE INTENT.
Extreme Programming Software Development Written by Sanjay Kumar.
Software Testing. Introduction Testing is often left to the end of the project which is generally not a good idea. Testing should be conducted throughout.
Software Waterfall Life Cycle Requirements Construction Design Testing Delivery and Installation Operations and Maintenance Concept Exploration Prototype.
SOFTWARE TESTING STRATEGIES CIS518001VA : ADVANCED SOFTWARE ENGINEERING TERM PAPER.
CMSC 345 Fall 2000 Unit Testing. The testing process.
Prof. Mohamed Batouche Software Testing.
Software testing basic. Main contents  Why is testing necessary?  What is testing?  Test Design techniques  Test level  Test type  How to write.
Software Testing Testing principles. Testing Testing involves operation of a system or application under controlled conditions & evaluating the results.
Lecture 11 Testing and Debugging SFDV Principles of Information Systems.
Testing Basics of Testing Presented by: Vijay.C.G – Glister Tech.
Software Testing Testing types Testing strategy Testing principles.
Software Testing The process of operating a system or component under specified conditions, observing and recording the results, and making an evaluation.
Software Life Cycle Requirements and problem analysis. –What exactly is this system supposed to do? Design –How will the system solve the problem? Coding.
Software Testing Yonsei University 2 nd Semester, 2014 Woo-Cheol Kim.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 22 Slide 1 Software Verification, Validation and Testing.
QUALITY ASSURANCE PRACTICES. Quality Plan Prepared and approved at the beginning of project Soft filing system approach followed. Filing location – –
Sylnovie Merchant, Ph.D. MIS 161 Spring 2005 MIS 161 Systems Development Life Cycle II Lecture 5: Testing User Documentation.
G Ramesh Principles of Testing G Ramesh
Software Life Cycle The software life cycle is the sequence of activities that occur during software development and maintenance.
Testing, Testing & Testing - By M.D.ACHARYA QA doesn't make software but makes it better.
LECTURE 19 23/11/15 Software Quality and Testing.
Software Engineering1  Verification: The software should conform to its specification  Validation: The software should do what the user really requires.
CSC 480 Software Engineering Test Planning. Test Cases and Test Plans A test case is an explicit set of instructions designed to detect a particular class.
1 Software Engineering. 2 Software Engineering is the study of activities related to the development of a software product.
1 Software Testing Strategies: Approaches, Issues, Testing Tools.
Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure.
Software Quality Assurance and Testing Fazal Rehman Shamil.
HNDIT23082 Lecture 09:Software Testing. Validations and Verification Validation and verification ( V & V ) is the name given to the checking and analysis.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 23 Slide 1 Software testing.
1 CP586 © Peter Lo 2003 Multimedia Communication Multimedia Development Team.
Software Engineering Testing. These slides are designed to accompany Software Engineering: A Practitioner’s Approach, 7/e (McGraw-Hill 2009). Slides copyright.
CS 325: Software Engineering February 16, 2016 Designing a Design Class Diagram Design Class Diagrams DCD: Restaurant Example DCD: ATM Example Software.
SOFTWARE TESTING SOFTWARE TESTING Presented By, C.Jackulin Sugirtha-10mx15 R.Jeyaramar-10mx17K.Kanagalakshmi-10mx20J.A.Linda-10mx25P.B.Vahedha-10mx53.
Week # 4 Quality Assurance Software Quality Engineering 1.
SOFTWARE TESTING LECTURE 9. OBSERVATIONS ABOUT TESTING “ Testing is the process of executing a program with the intention of finding errors. ” – Myers.
ANOOP GANGWAR 5 TH SEM SOFTWARE TESTING MASTER OF COMPUTER APPLICATION-V Sem.
1 Software Testing. 2 What is Software Testing ? Testing is a verification and validation activity that is performed by executing program code.
Testing Integral part of the software development process.
Chapter 9 Testing the System 9.1 Principles of System Testing Focus A: The objective of unit and integration ensure the code implemented the design.
Software Testing Strategies for building test group
PREPARED BY G.VIJAYA KUMAR ASST.PROFESSOR
Software Engineering (CSI 321)
Testing More In CS430.
LEVEL OF TESTING J.ALFRED DANIEL, AP/CSE.
Introduction to Software Testing
Lecture 09:Software Testing
Software Verification, Validation, and Acceptance Testing
Overview Activities from additional UP disciplines are needed to bring a system into being Implementation Testing Deployment Configuration and change management.
Software Reviews.
Software Testing Strategies
Presentation transcript:

1 Testing

2 About Testing  The reason the program is in testing is that it probably doesn’t work!  We test to find bugs before our users and hope that the developers will fix them  A test that reveals a problem is a successful one

3 Define “Bug”  A bug, or defect, in software is something that cause the software to behave in a manner that is inconsistent with the requirements or the needs of customers

4 Software Life Cycle Costs  Requirement Analysis3%  Specification3%  Design 5%  Coding7%  Testing 15%  Operation & Maintenance67%

5 Cost of Finding & Fixing Software Errors RequirementsCodedReleased Cost The sooner a bug is found & fixed, the cheaper

6 High Quality Software  One measure of the quality of software is delivered defect density -- the number of defects per unit size in the delivered software.

7 Quality Control V.S. Quality Assurance  Quality control focuses on finding (through testing and reviewing) and removing defects.  Quality Assurance is to verify that applicable procedures and standards are followed so the software’s quality is somewhat controlled

8 When Defects Are Introduced  Defect can be introduced during Requirement specification Design both high level and detailed Coding Bug fixing  Why? Software development is a highly people oriented activity and hence error-prone

9 Activities for Defect Removal  Are: Requirement reviews Code reviews (walk through) Unit testing Integration testing system testing  alpha test -- within the team  beta -- out side the team Acceptance test

10 You Can NOT find all the bugs  No matter how careful and thorough a job you do, you will never find the last bug in a program  Or if you do, you won’t know it

11 Some Wrong Concepts  We can fully test a program  With testing, we can ensure the correctness of a program  The tester’s mission is to assure program correctness by doing a complete testing.

12 You cannot test a program completely  Reason: The domain of possible input is too large to test There are too many possible paths through the program to test The user interface issue are too complex to completely test

13 You cannot test a program completely  Myers, 1976, described a 100-line program that had unique paths.  Note that the universe is only 4x10 17 seconds old!

14 Test Plan  Emphasize on testing the code Testing on different platforms, hardware configurations, with other software, other resource limitations Cover every use case Consists of test cases and schedule

15 Testing Phases  Basically there are two main phases By developers By independent testing teams

16 Testing Process Design Test Cases Prepare Test data Run a test Compare result Test casesTest DataTest ResultTest Report

17 Different Types of Tests  Black-box testing Equivalence partitioning  White-box testing (glass-box, clear-box)  Path test  Line test  Data test

18 Different Types of Tests  Integration Testing Top-down Bottom-up  Interface testing  Stress testing  Alpha test  Beta test  Acceptance test