1 Boundary Value Testing Chapter 5. 2 Introduction Input domain testing is the most commonly taught (and perhaps the most commonly used) software testing.

Slides:



Advertisements
Similar presentations
Overview Functional Testing Boundary Value Testing (BVT)
Advertisements

Testing and Quality Assurance
1 ECE 453 – CS 447 – SE 465 Software Testing & Quality Assurance Instructor Kostas Kontogiannis.
Functional Testing 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Lecture 01 – Functional Testing.
Boundary Value Testing A type of “Black box” functional testing –The program is viewed as a mathematical “function” –The program takes inputs and maps.
Software Testing and Quality Assurance
CS4723 Software Validation and Quality Assurance Lecture 02 Overview of Software Testing.
Chapter 5 Retrospective on Functional Testing Software Testing
1 Software Testing Techniques CIS 375 Bruce R. Maxim UM-Dearborn.
Equivalence Class Testing
1 Functional Testing Motivation Example Basic Methods Timing: 30 minutes.
Math – Getting Information from the Graph of a Function 1.
Combinational Circuits Chapter 3 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer, 2003.
1 Ch 3: Forecasting: Techniques and Routes. 2 Study objectives After studying this chapter the reader should be able to: Evaluate the suitability of several.
By Asst.Prof.Dr. Wararat Songpan (Rungworawut) Faculty of Computer Science, Department of Science, Khon Kaen University, Thailand 1 Chapter 3: Equivalence.
1 Ch 3: Forecasting: Techniques and Routes. 2 Study objectives After studying this chapter the reader should be able to: Evaluate the suitability of several.
A General Discussion on Functional (Black-box) Testing What are some of the concerns of testers ? –Have we got enough time to test (effort & schedule)?
PAGES:51-59 SECTION: CONTROL1 : DECISIONS Decisions.
Cause & Effect Graph Comparison Testing. Cause & Effect Graph This is basically a hardware testing technique adapted to software testing. It considers.
Black Box Testing Techniques Chapter 7. Black Box Testing Techniques Prepared by: Kris C. Calpotura, CoE, MSME, MIT  Introduction Introduction  Equivalence.
Black-box Testing.
1 Equivalence Class Testing Chapter 6. 2 Introduction Boundary Value Testing derives test cases with Massive redundancy Serious gaps Equivalence Class.
BLACK BOX TESTING K.KARTHIKEYAN. Black box testing technique Random testing Equivalence and partitioning testing Boundary value analysis State transition.
10 Nov 1.HW 3 Remember to submit a.jsp file: for a valid int for an int with errors that produces the java program 2.Structure clashes 3.HW 4: Backtracking.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 20 Slide 1 Critical systems development 3.
1 Software Engineering An Introduction. 2 Software Engineering  Software Engineering is the study of activities related to the development of a software.
Math – What is a Function? 1. 2 input output function.
Overview Functional Testing Boundary Value Testing (BVT)
Equivalence Class Testing In chapter 5, we saw that all four variations of boundary value testing are vulnerable to –gaps of untested functionality, and.
Chapter 3: Organizing Data. Raw data is useless to us unless we can meaningfully organize and summarize it (descriptive statistics). Organization techniques.
Test Case Designing UNIT - 2. Topics Test Requirement Analysis (example) Test Case Designing (sample discussion) Test Data Preparation (example) Test.
Logic Gates M. AL-Towaileb1. Introduction Boolean algebra is used to model the circuitry of electronic devices. Each input and each output of such a device.
Software testing School of Software Engineering, HUST 1.
1 Software Testing & Quality Assurance Lecture 5 Created by: Paulo Alencar Modified by: Frank Xu.
FUNCTIONS FUNCTIONS DOMAIN: THE INPUT VALUES FOR A RELATION. USUALLY X INDEPENDENT VARIABLE RANGE: THE OUTPUT VALUES FOR A RELATION. USUALLY.
Boundary Value Testing 1.A type of “Black box” functional testing –The program is viewed as a mathematical “function” –The program takes inputs and maps.
1 Software Testing. 2 Equivalence Class Testing 3 The use of equivalence class testing has two motivations: –Sense of complete testing –Avoid redundancy.
Math – Introduction to Functions 1. Let’s look at a graph of fuel prices (in $ per liter) over time… 2.
Goal: Identify and graph functions..  Relation: mapping or pairing, of input values with output values.  Domain: Set of input values.  Range: set of.
Structuring Redundancy for Fault Tolerance Chapter 2 Designed by: Hadi Salimi Instructor: Dr. Mohsen Sharifi.
Boundary Value Testing
Introduction to Domain Testing. 2 What is Domain Testing? Domain testing is: one of several software testing techniques designed to help you find bugs.
Software Testing. SE, Testing, Hans van Vliet, © Nasty question  Suppose you are being asked to lead the team to test the software that controls.
Chapter 8.1 vocabulary Relation Is a pairing of numbers or a set of ordered pair {(2,1) (3,5) (6, 3)} Domain: first set of numbers Range: Second set of.
Function Let be a mapping. If both A and B are sets of real numbers, we say that f is a function or, more precisely, a real function in one variable. When.
Cause & Effect Graph Comparison Testing
Chapter 3: Equivalence Class Testing :EC Software Testing
Chapter 1 Connections to Algebra Review
Robustness Testing by- (Group 2-Batch F1).
Subject Name: Software Testing Subject Code: 10CS842 Prepared By:
Equivalence partitioning
Domain Testing Functional testing which tests the application by giving inputs and evaluating its appropriate outputs. system does not accept invalid and.
Data Mining: Concepts and Techniques
Input Space Partition Testing CS 4501 / 6501 Software Testing
CS5123 Software Validation and Quality Assurance
Overview Functional Testing Boundary Value Testing (BVT)
UNIT-4 BLACKBOX AND WHITEBOX TESTING
Identifying functions and using function notation
COSC 4506/ITEC 3506 Software Engineering
Logic Gates L Al-zaid Math110.
CSCE 747 Software Testing and Quality Assurance
Logic Gates Dr.Halimah Alshehri.
Page 18 Rule: Area Formula: L x W  Input x Input  (Input) = Output
Relations and functions
Overview Functional Testing Boundary Value Testing (BVT)
Black-Box Testing Techniques III
Chapter 1: Boundary Value Testing
UNDERSTANDING FUNCTIONS
Overview Functional Testing Boundary Value Testing (BVT)
UNIT-4 BLACKBOX AND WHITEBOX TESTING
Presentation transcript:

1 Boundary Value Testing Chapter 5

2 Introduction Input domain testing is the most commonly taught (and perhaps the most commonly used) software testing technique We will see a number of approaches to boundary value analysis We will then study some of the limitations of domain testing

3 Boundary Value Analysis Many programs can be viewed as a function F that maps values from a set A (its domain) to values in another set B (its range) The input variables of F will have some (possibly unstated) boundaries:

4 Boundary value analysis For each variable, select five values Minimum Just above the minimum Nominal Just below the maximum Maximum

5 Single fault assumption Failures are only rarely the result of the simultaneous occurrence of two (or more) faults Generate test cases as such for all i Values of all but one variable x i at nominal x i assumes all 5 values from previous slide

6 Two-variable function test cases Let’s apply this to the Triangle problem

7 Limitations Does not work well for boolean variables We will see a more suitable approach next week Does not work well for logical variables PIN, transaction type Assumes independent variables NextDate test cases unsatisfactory

8 Robustness testing A simple extension to boundary value analysis Add two more values per variable Slightly greater than the maximum Slightly less than the minimum What is the expected output? Hopefully error message, system recovers Implementing these test cases may not be possible

9 Worst-Case Testing Rejects the simple fault assumption and tests all combinations of values Instead of 5n test cases, we have 5 n Often leads to a large number of test cases with low bug-finding power Usually better to apply Special Value Testing: test cases based on the tester’s intuition

10 In class activity Do a domain analysis on page width Assume the spec mentions that values between 10cm and 60cm should be handled