An e-commerce payment system applies a discount based on customer loyalty status (Standard, Silver, Gold) and purchase amount (Under $50, $50-$100, Over $100). How many test cases are required to achieve 100% boundary value analysis coverage using the 2-value boundary approach for the purchase amount variable?
Trap 1: 6 test cases covering the minimum and maximum of each purchase…
Calculating only the absolute minimum and maximum values across the entire range ignores the internal boundaries where system behavior shifts, thereby failing to achieve the rigorous fault-detection capability mandated by 2-value boundary value analysis for partitioned inputs.
Trap 2: 9 test cases by applying boundary value analysis independently of…
Isolating the purchase amount from the loyalty status ignores potential combinatorial defects where specific monetary thresholds intersect with particular customer tiers, leading to incomplete test coverage of the functional business logic requirements.
Trap 3: 18 test cases using the 3-value boundary value analysis technique…
The question explicitly specifies the 2-value boundary approach rather than the 3-value approach, making this calculation invalid because it unnecessarily multiplies test cases by including interior points not required by the stated methodology.
- A
6 test cases covering the minimum and maximum of each purchase amount partition.
Why it fails: Calculating only the absolute minimum and maximum values across the entire range ignores the internal boundaries where system behavior shifts, thereby failing to achieve the rigorous fault-detection capability mandated by 2-value boundary value analysis for partitioned inputs.
- B
12 test cases derived by combining the 2-value boundaries for purchase amount with all loyalty status categories.
The purchase amount variable generates four distinct boundary points ($0, $50, $100, and the upper bound). Multiplying these four boundary values by the three discrete loyalty status categories yields exactly 12 comprehensive test cases, thoroughly exercising the interacting system variables.
- C
9 test cases by applying boundary value analysis independently of the loyalty status variable.
Why it fails: Isolating the purchase amount from the loyalty status ignores potential combinatorial defects where specific monetary thresholds intersect with particular customer tiers, leading to incomplete test coverage of the functional business logic requirements.
- D
18 test cases using the 3-value boundary value analysis technique for both input variables.
Why it fails: The question explicitly specifies the 2-value boundary approach rather than the 3-value approach, making this calculation invalid because it unnecessarily multiplies test cases by including interior points not required by the stated methodology.