1. What is the difference between Boundary Value Analysis (BVA) and Equivalence Partitioning (EP)?
Equivalence Partitioning (EP) divides test inputs into groups (partitions) where all values in a group are expected to be treated the same way by the software. You only need to test one value from each group. Boundary Value Analysis (BVA) focuses specifically on the edges (boundaries) between these groups, because developers most often make mistakes with '<' versus '<=' in conditional code.
💡 Real-World Example:
Scenario: An age input field accepts ages from 18 to 60. • Valid Partition: 25 (any number between 18 and 60) • Invalid Partitions: 15 (too young), 65 (too old) • BVA Test Values: 17 (just below min), 18 (min boundary), 19 (just above min), 59 (just below max), 60 (max boundary), 61 (just above max).