*** Welcome to piglix ***

Boundary-value analysis


Boundary value analysis is a software testing technique in which tests are designed to include representatives of boundary values in a range. The idea comes from the boundary. Given that we have a set of test vectors to test the system, a topology can be defined on that set. Those inputs which belong to the same equivalence class as defined by the equivalence partitioning theory would constitute the basis. Given that the basis sets are neighbors, there would exist a boundary between them. The test vectors on either side of the boundary are called boundary values. In practice this would require that the test vectors can be ordered, and that the individual parameters follows some kind of order (either partial order or total order).

Formally the boundary values can be defined as below:- Let the set of the test vectors be . Let's assume that there is an ordering relation defined over them, as . Let be two equivalent classes. Assume that test vector and . If or then the classes are in the same neighborhood and the values are boundary values.


...
Wikipedia

...