1841f06detprob4 Testing Basics Detection probability.

Slides:



Advertisements
Similar presentations
4.1 Triangles and Angles.
Advertisements

Extension of E(Θ) metric for Evaluation of Reliability.
Exam 1 Review u Scores Min 30 Max 96 Ave 63.9 Std Dev 14.5.
Reliability Modeling for Design Diversity: A Review and Some Empirical Studies Teresa Cai Group Meeting April 11, 2006.
1 Software Testing and Quality Assurance Lecture 5 - Software Testing Techniques.
 T RIANGLE : A figure formed by three noncollinear points, connected by segments  Since two of the segments create a vertex, a triangle has three vertices.
Classify Triangles Standard 4C.
1 740f02frankl25 Evaluating Testing Methods by Delivered Reliability Frankl, Hamlet, Littlewood, Strigini IEEE TOSE Aug98.
Software Testing (Part 2)
By Asst.Prof.Dr. Wararat Songpan (Rungworawut) Faculty of Computer Science, Department of Science, Khon Kaen University, Thailand 1 Chapter 3: Equivalence.
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.
Summarizing “Structural” Testing Now that we have learned to create test cases through both: – a) Functional (blackbox)and – b) Structural (whitebox) testing.
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.
Triangle A polygon with three sides and three angles. A triangle can be names by its’ side lengths and angles. – Side lengths: isosceles, equilateral,
1841f07subdomains2Aug23 Question u What is the main purpose of software testing?
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 (
Exam 1 Review u Scores Min 30 Max 96 Ave 63.9 Std Dev 14.5.
1 Input Space Partitioning(2). Reading Assignment P. Ammann and J. Offutt “Introduction to Software Testing” ◦ Chapter 4  Section 4.1  Section
Section 7.1: Functions and Representations of Functions.
TRIANGLES AND TYPES OF TRIANGLES. A triangle has three sides.
Types of Triangles. Equilateral Triangle All sides are the same length and all the angles are the same length.
1 Software Testing. 2 Equivalence Class Testing 3 The use of equivalence class testing has two motivations: –Sense of complete testing –Avoid redundancy.
Time for Triangles. What is a triangle? A triangle is a polygon. It has 3 sides and 3 angles. It can also be called a trigon.
Equivalence Class Testing Use the mathematical concept of partitioning into equivalence classes to generate test cases for Functional (Black-box) testing.
1841f06detprob3 Testing Basics Detection probability.
Evaluating Testing Methods by Delivered Reliability Frankl, Hamlet, Littlewood, Strigini IEEE TOSE Aug98 Section 3.4.
Scalene triangle: A scalene triangle is a triangle that has no equal sides. The following is a scalene triangle.
Learning Objective Identify triangles using their sides.
Chapter 2 Linear Equations and Functions. Sect. 2.1 Functions and their Graphs Relation – a mapping or pairing of input values with output values domain.
Properties of Triangles
Angles In Triangles Types of Triangles Isosceles triangle
Cause & Effect Graph Comparison Testing
Chapter 3: Equivalence Class Testing :EC Software Testing
Mid Unit 5 Review 2-Dimensional Figures.
Triangles.
Software Testing Structural testing 540f07testing17oct25 1.
Software Testing Structural testing 1.
Boundaries and C0,C1 Pressman pp
Triangles.
Input Space Partition Testing CS 4501 / 6501 Software Testing
Mid Unit 5 Review 2-Dimensional Figures.
Angles In Triangles Types of Triangles Isosceles triangle
Classifying Triangles
4.8 Functions and Relations
Random Testing.
Detection probability
Triangles A polygon with 3 sides.
Notes Over 2.1 Function {- 3, - 1, 1, 2 } { 0, 2, 5 }
Applications of the Distance Formula
Angles In Triangles Types of Triangles Isosceles triangle
Failure Size Proportional Models
Objective - To classify triangles.
Evaluating Testing Methods by Delivered Reliability
Chapter 5: Relations & Functions
Classifying Triangles
Overview Functional Testing Boundary Value Testing (BVT)
Identify type of triangle
Solving Linear Equations
Triangles.
Evaluating Testing Methods by Delivered Reliability
Front of Flipbook Right Triangles Acute Triangles Obtuse Triangles
Intro to Triangles.
1. Evaluating Expressions and Functions
Identifying Functions
Classifying Triangles
Objective- To graph a relationship in a table.
4-1 Classifying Triangles
Functions and Relations
Presentation transcript:

1841f06detprob4 Testing Basics Detection probability

L5asg – detprob for subdomain tests u What is the probability of detection with one randomly chosen test case per path? u What is the probability of detection with an equal number of randomly chosen test cases?

3841f06detprob4 Control Flow Graph Operational profile 3,3,3abcdegiequi 3,3,4abcegiisos 3,3,5abcegiisos 3,3,6abcefginot 3,4,3abcegiisos 3,4,4abcegiisos 3,4,5acegiscal 3,4,6acegiscal All inputs are equally likely

4841f06detprob4 What are the failure probability for each color (separately)? 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; Blue GreenRed

TTYP – smaller subdomains u What might be better smaller subdomains? u Would MCC (multiple condition coverage) be better subdomains

TTYP2 – C0 and C1 coverage u How do we deal with C0 and C1 coverage since they are not subdomain testing methodologies?

9841f06detprob4 Evaluating Testing Methods by Delivered Reliability Frankl, Hamlet, Littlewood, Strigini IEEE TOSE Aug98

Testing u Debug u Operational

Fault Detection Probability u Probability of a testing methodology finding a fault (if it existed)

Partition vs Random

Tests, Specifications, meets u Test or test case –single value of program input –functional program - one input produces an output u Specification - S –set of input-output pairs u Program meets specification –iff for all x in spec, actual output matches spec output

Q: probability distribution u Q - probability distribution over input domain –Q:D -> [0,1] and  Q(t) = 1

 : Failure Probability   - failure probability for a randomly drawn point is  Q*  –Where  (t) = 1 if  and 0 if  –and  -phi(failure) and  -sigma(success) u How does this relate to our notation?

Reliability  R(N) = (1-  ) N

Assumptions of initial model

Terms uquduqud

3.2 SFR, w/o subdomains  d =  tinF V(t)  P(  ) = 1-(1-d) T  P(  q) = (1-d) T  E(  ) = 0* P(  ) +q* P(  q) u = q(1-d) T

Thurs, Sep 6 u Read next section of article