If the temperature falls below 18 degrees, the heating is switched on.when the temperature reaches 21 degrees, the heating is switched off.what are the boundries solution for this problem?
How to solve this problem?
If the temperature falls below 18 degrees, the heating is switched on.when the temperature reaches 21 degrees, the heating is switched off.what are the boundries solution for this problem?
How to solve this problem?
Equivalence partitioning is a testing technique. The idea is to divide the input data into equivalent ("similar") classes and have a test case covering each partition at least one time. This technique is used to reduce the amount of test cases. In this given example, there are 2 main points where the state changes. So the line segments in between will represent the equivalent classes.
Class 1: less than 18 (the heating should be on)
Class 2: from 18 to 21
Class 3: greater than 21 (the heating should be off)
So the minimum set of input test values to cover all valid equivalence partitions would be one value from each of those classes. Let's say: 16, 20, 25
The minimum is 3 values:2 outside the boundaries a<18, b>21 and one inside the range http://istqbexamcertification.com/what-is-equivalence-partitioning-in-software-testing/
If the temperature falls below 18 degrees, the heating is switched on.when the temperature reaches 21 degrees, the heating is switched off.what is the minimum set of test input values to cover all valid equivalence partitions?
Ans:- Your temperature is 12,15,17 is heating. your Temperature is 21,23,26 is no heating. answer is 16,21,24.