Forms of Equivalence Class Testing Normal • only equivalence classes are valid and invalid input values • emphasis is on "single failures" • works.

Slides:



Advertisements
Similar presentations
Formal Methods and Testing Goal: software reliability Use software engineering methodologies to develop the code. Use formal methods during code development.
Advertisements

Overview Functional Testing Boundary Value Testing (BVT)
Decision Table Based Testing
Equivalence Class Testing
Software Failure: Reasons Incorrect, missing, impossible requirements * Requirement validation. Incorrect specification * Specification verification. Faulty.
1 ECE 453 – CS 447 – SE 465 Software Testing & Quality Assurance Instructor Kostas Kontogiannis.
GoldSim Technology Group LLC, 2007 Slide 1 GoldSim User Conference San Francisco, CA October 25-26, 2007 GoldSim Tutorial and Discussion: Techniques for.
Repetition. Examples When is repetition necessary/useful?
Chapter 6 Control Statements Continued
CS4723 Software Validation and Quality Assurance Lecture 02 Overview of Software Testing.
Chapter 5 Retrospective on Functional Testing Software Testing
Simple Linear Regression Analysis
Equivalence Class Testing
Testing techniques, example
Black-Box Testing Techniques I Software Testing Lecture 4.
Coverage – “Systematic” Testing Chapter 20. Dividing the input space for failure search Testing requires selecting inputs to try on the program, but how.
By Asst.Prof.Dr. Wararat Songpan (Rungworawut) Faculty of Computer Science, Department of Science, Khon Kaen University, Thailand 1 Chapter 3: Equivalence.
Black-Box Testing Techniques I
1 Experimental Design. 2  Single Factor - One treatment with several levels.  Multiple Factors - More than one treatment with several levels each. 
Copyright © 2014, 2010, 2006 Pearson Education, Inc. Section 2.2, Slide 1 Equations, Inequalities, and Applications 2.
The Multiplication Principle of Equality 2.3a 1.Solve linear equations using the multiplication principle. 2.Solve linear equations using both the addition.
ANOVA and Linear Regression ScWk 242 – Week 13 Slides.
1 Equivalence Class Testing Chapter 6. 2 Introduction Boundary Value Testing derives test cases with Massive redundancy Serious gaps Equivalence Class.
1 Boundary Value Testing Chapter 5. 2 Introduction Input domain testing is the most commonly taught (and perhaps the most commonly used) software testing.
Team Assignment Present Be All You Can Be Copyright © by Team 1.
Practice 2.2 Solving Two Step Equations.
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 6 Control Statements Continued
Solving Linear Equations Define and use: Linear Equation in one variable, Solution types, Equivalent Equations.
DECISION TREE Ge Song. Introduction ■ Decision Tree: is a supervised learning algorithm used for classification or regression. ■ Decision Tree Graph:
1 Software Testing & Quality Assurance Lecture 5 Created by: Paulo Alencar Modified by: Frank Xu.
Copyright © 2010 Pearson Education, Inc. All rights reserved. 2.2 – Slide 1.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 23 Slide 1 Software testing.
1 Software Testing. 2 Equivalence Class Testing 3 The use of equivalence class testing has two motivations: –Sense of complete testing –Avoid redundancy.
Equivalence Class Testing Use the mathematical concept of partitioning into equivalence classes to generate test cases for Functional (Black-box) testing.
Cause & Effect Graph Comparison Testing
Chapter 3: Equivalence Class Testing :EC Software Testing
STA 291 Spring 2010 Lecture 19 Dustin Lueker.
Subject Name: Software Testing Subject Code: 10CS842 Prepared By:
Domain Testing Functional testing which tests the application by giving inputs and evaluating its appropriate outputs. system does not accept invalid and.
Solving Multistep Equations
Black-Box Testing Techniques I
Input Space Partition Testing CS 4501 / 6501 Software Testing
CS5123 Software Validation and Quality Assurance
Real Numbers and Their Properties
Chapter 5 Retrospective on Functional Testing Software Testing
Overview Functional Testing Boundary Value Testing (BVT)
Equations with Algebraic Fractions
Solving Multi-Step Equations
Identifying functions and using function notation
Solving Equations Containing Fractions
مفاهیم بهره وري.
Equivalence Class Testing
CSCE 747 Software Testing and Quality Assurance
G063 - Testing.
Do Now 1) t + 3 = – 2 2) 18 – 4v = 42.
CSCE 747 Software Testing and Quality Assurance
CSCE 747 Software Testing and Quality Assurance
Notes Solving a System by Elimination
Topic 1: Be able to combine functions and determine the resulting function. Topic 2: Be able to find the product of functions and determine the resulting.
Lesson 12: more on Equations
Overview Functional Testing Boundary Value Testing (BVT)
Chapter 1: Boundary Value Testing
2 Equations, Inequalities, and Applications.
Solving Multi-Step Equations
Correlation & Trend Lines
7.6 Function Operations.
A more complex example: (L&E)>P | L>P
Overview Functional Testing Boundary Value Testing (BVT)
Presentation transcript:

Forms of Equivalence Class Testing Normal • only equivalence classes are valid and invalid input values • emphasis is on "single failures" • works well when variables have a valid range • test cases: check valid case, then check invalid combinations by using one invalid value with remaining valid values. Weak • more complex equivalence classes of valid input values • variables may have several ranges of valid values • test cases "cover" valid combinations Strong • equivalence classes as in weak form • cross product of equivalence classes of valid input values • presumes variables are independent We compare these for a function of three variables, F(x , x , x ) 1 2 3

Forms of Equivalence Class Testing Normal: classes of valid values of inputs Robust: classes of valid and invalid values of inputs Weak: (single fault assumption) one from each class Strong: (multiple fault assumption) one from each class in Cartesian Product We compare these for a function of three variables, F(x1, x2, x3)

Weak Robust Equivalence Class Test Cases d x 2 1 Equivalence Classes: Valid(x ) : a Š x Š b; Invalid(x ) : x Š a , x  b 1 1 1 1 1 Valid(x ) : c Š x Š d; Invalid(x ) : x Š c , x  d 2 2 2 2 2

Weak Robust Equivalence Class Testing Variable Valid input set x a1 e V1X1, a2 e V2X1 1 x b1 e V1X2, b2 e V2X2, b3 e V3X2, b4 e V4X2 2 x c1 e V1X3, c2 e V2X3, c3 e V3X3 3 Test cases F(a1, b1, c1) F(a2, b2, c2) F(a1, b3, c3) F(a2, b4, c1)

Weak Normal Equivalence Class Test Cases x 2 g f e a b c d x 1 Equivalence Classes: x : a Š x Š b, b < x Š c, c < x Š d 1 1 1 1 x : e Š x Š f, f < x Š g 2 2 2

Strong Normal Equivalence Class Testing Variable Valid input set x a1 e V1X1, a2 e V2X1 1 x b1 e V1X2, b2 e V2X2, b3 e V3X2, b4 e V4X2 2 x c1 e V1X3, c2 e V2X3, c3 e V3X3 3 Test cases F(a1, b1, c1), F(a1, b1, c2), F(a1, b1, c3) F(a1, b2, c1), F(a1, b2, c2), F(a1, b2, c3) F(a1, b3, c1), F(a1, b3, c2), F(a1, b3, c3) F(a1, b4, c1), F(a1, b4, c2), F(a1, b4, c3) F(a2, b1, c1), F(a2, b1, c2), F(a2, b1, c3) F(a2, b2, c1), F(a2, b2, c2), F(a2, b2, c3) F(a2, b3, c1), F(a2, b3, c2), F(a2, b3, c3) F(a2, b4, c1), F(a2, b4, c2), F(a2, b4, c3

Strong Normal Equivalence Class Test Cases x 2 g f e a b c d x 1 Equivalence Classes: x : a Š x Š b, b < x Š c, c < x Š d 1 1 1 1 x : e Š x Š f, f < x Š g 2 2 2