Kizspy.me
return 0;
} else if (age<30) {
if (insuranceType.equals("Health")) return 1000;
else return 1200;
} else if (age<50) {
if (insuranceType.equals("Health")) return 1500;
else return 1800;
} else {
return 2000;
}
Design Unit Test Cases to ensure:
•
100% Statement Coverage
•
100% Branch Coverage
•
100% Equivalence Partitioning Coverage
.
100% Boundary Value Coverage
Answer requirements:
•
List all required test cases (including input values and expected output).
.
Explain how the test cases ensure full coverage.
Zoom
Question 4: System Test Case Design (3 points)
A feature in the insurance management system operates according to the following states and
transitione (docerihod in tovt).
+100%
Close