Software testing

Boundary value analysis practice

Unlimited questions on boundary values, partitions and coverage, with the working.

Practice
  • The number of guests on a restaurant booking accepts whole numbers. The rules:
  • Below 1 guests: too low (invalid)
  • 1 to 3 guests: standard table
  • 4 to 9 guests: group booking
  • Above 9 guests: too high (invalid)

Which test values does 2-value boundary value analysis need for 100% coverage?

Type the values, separated by commas

Learn partitions and boundary values

The method

PartitionsValues the software treats the same way, invalid ones included
Boundary valuesThe minimum and maximum of each ordered partition
2-value BVAEach boundary value and its closest neighbour in the adjacent partition
3-value BVAEach boundary value and both its neighbours
CoverageItems exercised / items identified x 100%

Then the rest of chapter 4

Decision tables, state transitions and ATDD are the other K3 techniques.

Questions people ask

An input accepts 18 to 65. What are the 2-value boundary values?

17, 18, 65 and 66. 3-value adds 16, 19, 64 and 67.

How many tests does equivalence partitioning need?

One per partition, valid and invalid. Three valid bands with an invalid partition each side need five.

Where is this on the ISTQB Foundation Level exam?

Learning objectives FL-4.2.1 and FL-4.2.2, both K3. Chapter 4 sets 11 of the 40 questions, 5 of them K3.