4.2.2 Boundary Value Analysis Flashcards
Boundary Value Analysis (BVA) is a test technique based on exercising the “ “ of e…
BVA can only be used for o…
boundaries
equivalence partitions.
ordered partitions.
The minimum and maximum values of a partition are it’s b…
In the case of BVA, if two elements belong to the same partition, all “ “ between them must also belong to that “ “.
boundary values.
elements
partition
BVA focuses on the boundary values of the partitions because developers are more likely to make “ “ with these b…
errors
boundary values.
Typical defects found by BVA are located where implemented boundaries are “ “ to positions a… their intended “ “ or are o…
misplaced
above or below
positions
omitted altogether.
In 2-value BVA, for each boundary value there are two coverage items:
- this b…
- it’s c… belonging to the a…
- boundary value
- closest neighbor
adjacent partition
To achieve 100% coverage with 2-value BVA, test cases must exercise a… (all identified b… ).
Coverage is the n… , divided by total number of i… , and expressed as a “ “.
all coverage items
boundary values
number of boundary values exercised
identified boundary values
percentage.
In 3-value BVA, for each boundary value there are three coverage items:
- this b…
- both it’s “ “
So, some coverage items may not be b…
- boundary value
- neighbors
boundary values.
To achieve 100% coverage with 3-value BVA, test cases must exercise a… (identified b… and their “ “).
Coverage is number of b… and their n…, divided by the total number of i… and their “ “ , and expressed as a “ “.
all coverage items
boundary values
neighbors
boundary values
neighbors exercised
identified boundary values
neighbors
percentage.
3-value BVA is more rigorous than 2-value BVA as it may detect defects o…
overlooked by 2-value BVA.