4.2.2 Boundary Value Analysis Flashcards
Boundary Value Analysis (BVA) is a test technique based on exercising the “ “ of …
BVA can only be used for …
boundaries
equivalence partitions.
ordered partitions.
The minimum and maximum values of a partition are it’s …
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 …
errors
boundary values.
Typical defects found by BVA are located where implemented boundaries are “ “ to positions … their intended “ “ or are …
misplaced
above or below
positions
omitted altogether.
In 2-value BVA, for each boundary value there are two coverage items:
- this b…
- it’s … belonging to the …
- boundary value
- closest neighbor
adjacent partition
To achieve 100% coverage with 2-value BVA, test cases must exercise … (all identified …
Coverage is the … total number of … 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 …
- boundary value
- neighbors
Boundary values.
To achieve 100% coverage with 3-value BVA, test cases must exercise … (identified boundary …
Coverage is number of … and … / total number of … and expressed as …
all coverage items
values and their neighbors).
boundary values
their neighbors exercised
of identified boundary values
and their neighbors
a percentage.
3-value BVA is more rigorous than 2-value BVA as it may detect defects …
overlooked by 2-value BVA.