Recall & Review
beginner
What is equivalence partitioning in software testing?
Equivalence partitioning is a testing technique that divides input data into groups where test cases from each group are expected to behave similarly. It helps reduce the number of test cases while covering all possible scenarios.
Click to reveal answer
beginner
Explain boundary value analysis (BVA).
Boundary value analysis tests the values at the edges of input ranges because errors often happen at these boundaries. It focuses on minimum, maximum, just inside/outside boundaries to catch edge case bugs.
Click to reveal answer
intermediate
Why do testers use equivalence partitioning and boundary value analysis together?
Testers combine these techniques to efficiently cover input scenarios. Equivalence partitioning reduces test cases by grouping inputs, while boundary value analysis ensures edge cases are tested where bugs often occur.
Click to reveal answer
beginner
Give an example of equivalence partitions for an input field accepting ages 18 to 60.
Partitions could be: invalid low (below 18), valid (18 to 60), and invalid high (above 60). Each group represents inputs expected to behave the same way in the system.
Click to reveal answer
beginner
What test inputs would boundary value analysis suggest for the age range 18 to 60?
Test inputs would be 17 (just below min), 18 (min), 19 (just above min), 59 (just below max), 60 (max), and 61 (just above max). These check behavior at and near boundaries.
Click to reveal answer
What is the main goal of equivalence partitioning?
✗ Incorrect
Equivalence partitioning groups inputs that should behave the same, reducing test cases while covering scenarios.
Which values are most important in boundary value analysis?
✗ Incorrect
Boundary value analysis focuses on edge values because errors often occur there.
If an input accepts numbers 1 to 100, which is NOT a boundary value test input?
✗ Incorrect
50 is inside the range but not near a boundary; boundary tests focus on edges like 1, 100, and just outside values like 0.
How many equivalence partitions are there for an input that accepts values 10 to 20?
✗ Incorrect
There are three partitions: below 10 (invalid), 10 to 20 (valid), above 20 (invalid).
Why is boundary value analysis effective in finding bugs?
✗ Incorrect
Errors frequently happen at boundaries, so testing these values catches common bugs.
Describe how you would apply equivalence partitioning and boundary value analysis to test a form field that accepts numbers from 1 to 50.
Think about grouping inputs and testing edges.
You got /3 concepts.
Explain why combining equivalence partitioning and boundary value analysis improves test coverage and efficiency.
Consider how each technique complements the other.
You got /3 concepts.