This question appeared in one of the sample questions in a web site:
Q. 105: What is the difference between designing tests with three boundary values per boundary and designing boundary value tests with two boundary values per boundary?
The correct answer, as chosen by the site was - C
A. Use of three boundary values per boundary results in one valid value and two invalid values per boundary, while with two boundary values per boundary, there is one valid value and one invalid value
B. Use of three boundary values per boundary results in two valid values and one invalid values per boundary, while with two boundary values per boundary, there is one valid value and one invalid value
C. With three boundary values per boundary, the boundary itself is considered a possible value, while with two boundary values per boundary, the boundary lies between two adjacent possible values
D. With three boundary values per boundary, you are guaranteed to test the two equivalence partitions on each side of the boundary, while with two boundary values per boundary you might not test the two equivalence partitions on each side of the boundary
However, I have a problem with that answer.
For example, let us take the field to enter a date to a field. Imagine the month has 31 days and that no decimal values are accepted by the system.So,
- Any value from 1-31 would be valid
- Values below 1 and values above 31 would be invalid
Based on the above, we can derive the values for Boundaries like this :
- 3 point boundary value method -> the boundary values 0,1,2 & 30,31,32
- 2 point boundary value method -> the boundary values 0,1 & 31,32
The above values make the following statement true:
Use of three boundary values per boundary results in two valid values and one invalid values per boundary, while with two boundary values per boundary, there is one valid value and one invalid value
However, the given answer to the question was C
My questions:
- The BVA values that I have calculated are incorrect/correct?
- According to you, what is the correct answer to the above problem?
- If you think C is the answer, can you explain what is meant by "with two boundary values per boundary, the boundary lies between two adjacent possible values"
Thanks
PS: If you are interested, you can see the question here: http://www.softwaretestinggenius.com/istqb-advanced-level-test-analyst-and-technical-test-analyst-exam-sample-paper-q-101-to-110