Boundary Value Analysis (BVA) is a software testing technique in which tests are designed to include values at the boundaries. The concept is to focus on the boundaries since errors tend to occur at the edges of input ranges rather than in the middle.
Given the problem statement:
Up to $100.00 = 2%
$100.01 to $500.00 = 4%
$500.01 to $1,000.00 = 5%
Above $1,000.00 = 7%
Two-point boundary value analysis means testing the two boundaries of each range.
For each range:
The boundaries for "Up to $100.00" would be $100.00 and $100.01.
The boundaries for "$100.01 to $500.00" would be $100.00 and $500.00.
The boundaries for "$500.01 to $1,000.00" would be $500.00 and $1,000.00.
The boundaries for "Above $1,000.00" would be $1,000.00 and $1,000.01.
Now, let's examine the options:
A. $5.00, $100.00, $499.99, $1,000.00, $1,000.01
B. $100.00, $100.01, $100.02, $500.00, $999.99
Covers $100.00, $100.01, $500.00, $1000.00, and $1000.01.
C. $100.00, $500.00, $1,000.00, $1,000.01
D. $5.00, $100.00, $500.00, $1,000.01
Given the options, B provides the highest boundary coverage (ISTQB not-for-profit association) (Udemy).
[References:, Certified Tester Foundation Level v4.0, 10 Sample Exams ISTQB Foundation Level (CTFL) v4.0, ]