~25 min

Equivalence partitioning and boundary values

Reduce cases while keeping coverage with EP and BVA.

Equivalence partitioning (EP)

Since testing all inputs is impossible (principle 2), equivalence partitioning groups inputs into classes where the system is expected to behave the same. Testing one representative value per class is enough. There are valid classes (should be accepted) and invalid ones (should be rejected).

text
Campo: edad (válida 18–65)
  Clase inválida baja : 17  ->  rechazar
  Clase válida        : 30  ->  aceptar
  Clase inválida alta : 70  ->  rechazar

Partitions for an age field

Boundary value analysis (BVA)

Defects cluster at the edges of partitions. Boundary value analysis tests exactly the extremes. For the range 18–65, the boundary values to test are 17, 18, 65 and 66.

EP reduces the number of cases; BVA reinforces the edges, where systems fail most. They are used together.

QuestionToca para voltear

For a valid range of 1 to 100, which boundary values would you test?

A field accepts 1 to 10. Which technique leads you to specifically test 0, 1, 10 and 11?

¿Quieres guardar tu progreso?

Crea una cuenta gratis para guardar tu avance, ganar puntos e insignias y desbloquear los campus de ISTQB y Automatización.

Crear cuenta gratis
Siguiente Lección
Equivalence partitioning and boundary values | PlayQAcademy