1841f07subdomains2Aug23 Question u What is the main purpose of software testing?

Slides:



Advertisements
Similar presentations
Types of Triangles Scalene A triangle with no congruent sides
Advertisements

Triangles TOPIC 9 LESSON 9-5.
Section 1.1 Part II Properties of Numbers, Equality, and Inequality.
Overview Functional Testing Boundary Value Testing (BVT)
MM1G3b -Understand and use the triangle inequality, the side-angle inequality, and the exterior angle inequality.
Warm-up: Find the missing side lengths and angle measures This triangle is an equilateral triangle 10 feet 25 feet This triangle is an isosceles triangle.
Test Driven Development George Mason University. Today’s topics Review of Chapter 1: Testing Go over examples and questions testing in Java with Junit.
Chapter 4: Congruent Triangles Lesson 1: Classifying Triangles.
Software Testing and Quality Assurance
I.1 ii.2 iii.3 iv.4 1+1=. i.1 ii.2 iii.3 iv.4 1+1=
1 Software Testing and Quality Assurance Lecture 6 - Software Testing Techniques.
I.1 ii.2 iii.3 iv.4 1+1=. i.1 ii.2 iii.3 iv.4 1+1=
Warm-Up Given: AB has endpoints A (3, -4) and B (-1, -6) Find: Midpoint M and Distance.
1 740f02frankl25 Evaluating Testing Methods by Delivered Reliability Frankl, Hamlet, Littlewood, Strigini IEEE TOSE Aug98.
By Asst.Prof.Dr. Wararat Songpan (Rungworawut) Faculty of Computer Science, Department of Science, Khon Kaen University, Thailand 1 Chapter 3: Equivalence.
Triangles Triangle: a figure formed when 3 noncollinear points are connected by segments. Components of a triangle: Vertices: A, B, C Sides: AB, BC, AC.
Test Driven Development George Mason University. Today’s topics Review of Chapter 1: Testing Go over examples and questions testing in Python.
1841f06detprob3 MM Stroustrup Ch26 u Comments? u Agree or disagree with his testing approach?
1 testing17 Software Testing Functional, MCC, Dataflow Testing, Cause-Effect Graphing.
1 Equivalence Class Testing Chapter 6. 2 Introduction Boundary Value Testing derives test cases with Massive redundancy Serious gaps Equivalence Class.
841f07frankl12oct21 Evaluating Testing Methods by Delivered Reliability Frankl, Hamlet, Littlewood, Strigini IEEE TOSE Aug98.
Software Testing. Software testing is the execution of software with test data from the problem domain. Software testing is the execution of software.
Software testing techniques Spring 2009 Csci565: Theory and Practice of Software Testing1.
Triangle A polygon with three sides and three angles. A triangle can be names by its’ side lengths and angles. – Side lengths: isosceles, equilateral,
EXAMPLE 1 Standardized Test Practice SOLUTION Let ( x 1, y 1 ) = ( –3, 5) and ( x 2, y 2 ) = ( 4, – 1 ). = (4 – (–3)) 2 + (– 1 – 5) 2 = = 85 (
IV II Q lies on m and PQ ⊥ m ASA 7.2 Reflections.
1841f0intro1Aug21 CIS841 – Verification and Validation Dr David A. Gustafson
1 Input Space Partitioning(2). Reading Assignment P. Ammann and J. Offutt “Introduction to Software Testing” ◦ Chapter 4  Section 4.1  Section
Equivalence Class Testing In chapter 5, we saw that all four variations of boundary value testing are vulnerable to –gaps of untested functionality, and.
1 Software Testing. 2 Equivalence Class Testing 3 The use of equivalence class testing has two motivations: –Sense of complete testing –Avoid redundancy.
Unit 3 Triangles. Chapter Objectives Classification of Triangles by Sides Classification of Triangles by Angles Exterior Angle Theorem Triangle Sum Theorem.
1841f06detprob3 Testing Basics Detection probability.
Scalene triangle: A scalene triangle is a triangle that has no equal sides. The following is a scalene triangle.
1841f06detprob4 Testing Basics Detection probability.
~Write one sentence explaining what answer you chose. ~Write one sentence explaining what answers you were able to eliminate.
Notes Over 10.1 Finding the Distance Between Two Points Find the distance between the two points.
Chapter 3: Equivalence Class Testing :EC Software Testing
Triangles.
Classifying Triangles
Robustness Testing by- (Group 2-Batch F1).
Paul Ammann & Jeff Offutt
Software Testing Structural testing 540f07testing17oct25 1.
Software Testing Structural testing 1.
ÐC is the smallest angle
Boundaries and C0,C1 Pressman pp
Triangles.
Classifying Triangles
Angles In Triangles Types of Triangles Isosceles triangle
Overview Functional Testing Boundary Value Testing (BVT)
Detection probability
Triangles A polygon with 3 sides.
Applications of the Distance Formula
Angles In Triangles Types of Triangles Isosceles triangle
Coordinate Proofs Lesson 6-2.
Classifying Triangles

Objective - To classify triangles.
Directions: Cut out each of the triangles below
Overview Functional Testing Boundary Value Testing (BVT)
Types of Triangles Thursday, 11 April 2019.
Types of Triangles Thursday, 11 April 2019.
Every number has its place!
COORDINATE PLANE QUAD II QUAD I QUAD III QUAD IV Y-axis
Triangles.
Evaluating Testing Methods by Delivered Reliability
Intro to Triangles.
5-7 Isosceles and Equilateral Triangles
4-1 Classifying Triangles
Area and Perimeter Triangles.
Presentation transcript:

1841f07subdomains2Aug23 Question u What is the main purpose of software testing?

2841f07subdomains2Aug23 Testing Basics Subdomains

4841f07subdomains2Aug23 Failure Set u The failure set for a fault is the set of points in the program domain that display the fault, that is, cause the output to be different from specified.

5841f07subdomains2Aug23 Programming task u Who had the smallest failure set? u Who had the largest failure set? u Who had a strange failure set?

6841f07subdomains2Aug23 Failure Set

8841f07subdomains2Aug23 Subdomain u A subdomain is a set of input points (data points, tests, etc) that are treated identically by the program. That is, they take the same path through the program and the same operations are applied to the values. u Or a set of such subdomains u Sometimes called a partition

9841f07subdomains2Aug23 Different uses in the literature u Much like mine – with mutual exclusion u Arbitrary division of the input domain u Any definable subset of the input domain u Other?

10841f07subdomains2Aug23 Example - Payroll Problem u Wages must be greater than zero and less than 100 u Hours must be greater than zero and less than 80 u Time and a half is paid on hours over 40

11841f07subdomains2Aug23 Subdomains of Example I II 0,0 0,100 40,0 80,0

12841f07subdomains2Aug23 TTYP – how do faults affect the subdomains? Pay = hours * wage If hours > 40 then pay = pay +.5*(hours-40)*wage u Consider some possible faults in the payroll program –Can you find faults that affect a whole subdomain? –Can you find faults that move the boundaries? –Can you find faults that make bigger changes?

13841f07subdomains2Aug23 Boundary Testing Example - 2on/1off V I II I-V : (0,100),(40,100),(20,99) II-V : (41,100),(79,100),(60,99) I-II : (40,1),(40,99),(41,50)

14841f07subdomains2Aug23 Triangle Example cin >> a >> b >> c ; type = “scalene”; if (a == b || a == c || b == c) type= “isosceles”; if (a == b && a == c) type = “equilateral”; if (a >= b+c || b >= a+c || c >= a+b) type=“not a triangle”; if (a <= 0 || b <= 0 || c <= 0) type=“bad input”; cout<< type;

15841f07subdomains2Aug23 Triangle Domain : a = b plane

16841f07subdomains2Aug23 Triangle Domain : a =.5b plane

17841f07subdomains2Aug23 Control Flow Graph

18841f07subdomains2Aug23 TTYP - subdomains u Are paths the best subdomains? u Would a functional decomposition be better? u Should we re-define the term subdomain?

19841f07subdomains2Aug23 For Tuesday, Aug 28 Read ch28 – Shrostrup’s chapter on testing