IT6004 – SOFTWARE TESTING.

Slides:



Advertisements
Similar presentations
Object Oriented Analysis And Design-IT0207 iiI Semester
Advertisements

Testing Relational Database
Test process essentials Riitta Viitamäki,
SOFTWARE TESTING. INTRODUCTION  Software Testing is the process of executing a program or system with the intent of finding errors.  It involves any.
Software Quality Assurance Plan
Software Testing and Quality Assurance
Copyright © 2006 Software Quality Research Laboratory DANSE Software Quality Assurance Tom Swain Software Quality Research Laboratory University of Tennessee.
DAIMIHenrik Bærbak Christensen1 Testing Terminology.
Testing an individual module
1 Software Testing and Quality Assurance Lecture 14 - Planning for Testing (Chapter 3, A Practical Guide to Testing Object- Oriented Software)
 QUALITY ASSURANCE:  QA is defined as a procedure or set of procedures intended to ensure that a product or service under development (before work is.
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.
Functional Testing Test cases derived from requirements specification document – Black box testing – Independent testers – Test both valid and invalid.
What Exactly are the Techniques of Software Verification and Validation A Storehouse of Vast Knowledge on Software Testing.
Software Integration and Documenting
Verification and Validation Yonsei University 2 nd Semester, 2014 Sanghyun Park.
March 13, 2001CSci Clark University1 CSci 250 Software Design & Development Lecture #15 Tuesday, March 13, 2001.
SOFTWARE TESTING STRATEGIES CIS518001VA : ADVANCED SOFTWARE ENGINEERING TERM PAPER.
Objectives Understand the basic concepts and definitions relating to testing, like error, fault, failure, test case, test suite, test harness. Explore.
1 Software testing. 2 Testing Objectives Testing is a process of executing a program with the intent of finding an error. A good test case is in that.
TESTING PRINCIPLES BY K.KARTHIKEYAN. PRINCIPLES Principle 1. Testing is the process of exercising a software component using a selected set of test cases,
Testing Basics of Testing Presented by: Vijay.C.G – Glister Tech.
Software Testing Testing types Testing strategy Testing principles.
Exploring an Open Source Automation Framework Implementation.
Software Testing. What is Testing? The process consisting of all life cycle activities, both static and dynamic, concerned with planning, preparation.
Introduction to Software Testing. Types of Software Testing Unit Testing Strategies – Equivalence Class Testing – Boundary Value Testing – Output Testing.
CSE403 Software Engineering Autumn 2001 More Testing Gary Kimura Lecture #10 October 22, 2001.
Advanced Software Engineering 1 Advanced Software Engineering: Software Testing COMP 3705 (Lecture1) Sada Narayanappa Anneliese Andrews (Chair DU) Thomas.
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.
Advanced Software Engineering: Software Testing COMP 3702 (Lecture1) Sada Narayanappa Seif Azgandhi Anneliese Andrews Thomas Thelin Carina Andersson.
Chapter 8 Testing. Principles of Object-Oriented Testing Å Object-oriented systems are built out of two or more interrelated objects Å Determining the.
Software Quality Assurance SOFTWARE DEFECT. Defect Repair Defect Repair is a process of repairing the defective part or replacing it, as needed. For example,
Testing and inspecting to ensure high quality An extreme and easily understood kind of failure is an outright crash. However, any violation of requirements.
TESTING FUNDAMENTALS BY K.KARTHIKEYAN.
Software Quality Assurance and Testing Fazal Rehman Shamil.
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M37 8/20/2001Slide 1 SMU CSE 8314 /
 Software Testing Software Testing  Characteristics of Testable Software Characteristics of Testable Software  A Testing Life Cycle A Testing Life.
1 Phase Testing. Janice Regan, For each group of units Overview of Implementation phase Create Class Skeletons Define Implementation Plan (+ determine.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 23 Slide 1 Software testing.
SOFTWARE TESTING LECTURE 9. OBSERVATIONS ABOUT TESTING “ Testing is the process of executing a program with the intention of finding errors. ” – Myers.
TESTING BASED ON ERROR GUESSING Rasa Zavistanavičiūtė, IFME-0/2.
Laurea Triennale in Informatica – Corso di Ingegneria del Software I – A.A. 2006/2007 Andrea Polini XVII. Verification and Validation.
Functional testing, Equivalence class testing
Software testing techniques TESTING BASED ON ERROR GUESSING
Software Quality Control and Quality Assurance: Introduction
Software Engineering (CSI 321)
Domain Testing Functional testing which tests the application by giving inputs and evaluating its appropriate outputs. system does not accept invalid and.
Testing Tutorial 7.
Software Testing.
Prologue.
CompSci 230 Software Construction
Software Testing An Introduction.
IEEE Std 1074: Standard for Software Lifecycle
Introduction to Testing Design Strategies – The Smarter Tester
Verification & Validation
BASICS OF SOFTWARE TESTING Chapter 1. Topics to be covered 1. Humans and errors, 2. Testing and Debugging, 3. Software Quality- Correctness Reliability.
Lecture 09:Software Testing
BASIC DEFINITIONS Errors : An error is a mistake, misconception, or misunderstanding on the part of a software developer. In the category of developer.
Chapter 1 Introduction(1.1)
Software Verification and Validation
Software Verification and Validation
CSE403 Software Engineering Autumn 2000 More Testing
Software Testing.
Integrating quality activities in
Software Verification and Validation
© Oxford University Press All rights reserved.
Learning Intention I will learn about the standard algorithm for input validation.
Presentation transcript:

IT6004 – SOFTWARE TESTING

SOFTWARE TESTING PRINCIPLES Testing is the process of exercising a software component using a selected set of test cases, with the intent of Revealing defects Evaluating quality.

Principle 2. When the test objective is to detect defects, then a good test case is one that has a high probability of revealing a yet undetected defect(s).

Principle 3. Test results should be inspected meticulously.

Principle 4. A test case must contain the expected output or result.

Sample test case This sample test case will test the login page in Banking Application IT6004 - SOFTWARE TESTING

Principle 5. Test cases should be developed for both valid and invalid input conditions. Valid Test case Invalid Test case 1,12 (Entering a valid value between the range specified) Ab  (Entering text instead of numbers) 1,250 (Entering the boundary value of the range specified) 0, 252 (Entering out of boundary values) Null input -2 (Entering out of range values) +56             (Entering a valid value prefixed by a special character)

Principle 6. The probability of the existence of additional defects in a software component is proportional to the number of defects already detected in that component.

Principle 7. Testing should be carried out by a group that is independent of the development group.

Principle 8. Tests must be repeatable and reusable.

Principle 9. Testing should be planned.

Principle 10. Testing activities should be integrated into the software life cycle.

Principle 11. Testing is a creative and challenging task

Principle 1. Testing is the process of exercising a software component using a selected set of test cases, with the intent of (i) Revealing defects (ii) Evaluating quality. Principle 2. When the test objective is to detect defects, then a good test case is one that has a high probability of revealing a yet undetected defect(s). Principle 3. Test results should be inspected meticulously. Principle 4. A test case must contain the expected output or result. Principle 5. Test cases should be developed for both valid and invalid input conditions. Principle 6. The probability of the existence of additional defects in a software component is proportional to the number of defects already detected in that component. Principle 7. Testing should be carried out by a group that is independent of the development group. Principle 8. Tests must be repeatable and reusable. Principle 9. Testing should be planned. Principle 10. Testing activities should be integrated into the software life cycle. Principle 11. Testing is a creative and challenging task

Tester Role in Software Organization

JIGSAW PAPER GAME

Difficulties and Challenges of a Tester Comprehensive knowledge of the software engineering discipline. Knowledge from both experience and education as to how software is specified, designed, and developed. Need to manage many details. Knowledge of fault types and where faults of a certain type might occur in code constructs. Needs to reason like a scientist and propose hypotheses that relate to presence of specific types of defects. Good grasp of the problem domain of the software that he/she is testing. Familiarly with a domain may come from educational, training, and work-related experiences. Needs to create and document test cases. Selected test cases should have the highest probability of revealing a defect (Principle 2). Familiarity with the domain is essential. Needs to design and record test procedures for running the tests. Needs to plan for testing and allocate the proper resources. Needs to execute the tests and is responsible for recording results. Needs to analyze test results and decide on success or failure for a test.