Equivalence class testing

4,216 views 9 slides Dec 09, 2018
Slide 1
Slide 1 of 9
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9

About This Presentation

Equivalence class testing


Slide Content

EQUIVALENCE CLASS TESTING By: Neha Jha B.Tech (CSE) 5 th Semester 1

Black Box Testing It is a software testing method in which the internal structure/design/implementation of the item being tested is not known to the tester. Equivalence Class Testing 2

Equivalence Class Testing It is a software test design technique that involves dividing input values into valid and invalid partitions and selecting representative values from each partition as test data. Equivalence Class Testing 3

Equivalence Class Testing The use of equivalence classes is appropriate in situations like: When exhaustive testing is desired. When there is a strong need to avoid redundancy. Equivalence Class Testing 4

Example Consider a software application, which takes not less than two digit number and not more than 3 digit number, for its execution . Inputs to test are:1,2,3 ,.................1498,1499,1500. 4 classes are formed and are accordingly the inputs are divided into category of valid and invalid inputs. Equivalence Class Testing 5

Example Valid input : N umber 121 is used from the class “3 digit numbers" i.e. valid in put It is expected by the software application, to function properly, on using number 121, and if it does then the software is functioning appropriately. Invalid input : Number 7 is used from the class "single digit numbers", i.e. invalid input. It is expected by the software application, to generate error, on using number 7, and if it does then the software is functioning appropriately. Equivalence Class Testing 6

Equivalence Class Testing Types of equivalence class testing: 1 ) Weak Normal Equivalence Class Testing. 2 ) Strong Normal Equivalence Class Testing. 3 ) Weak Robust Equivalence Class Testing. 4 ) Strong Robust Equivalence Class Testing. Equivalence Class Testing 7

Advantages and Disadvantages Advantages: Equivalence class testing helps reduce the number of test cases without compromising the test coverage. Reduces the overall  test execution time as it minimizes the set of  test data. Disadvantages: It does not consider the conditions for boundary value. The identification of equivalence classes relies heavily on the expertise of testers. Equivalence Class Testing 8

Thank You! 9
Tags