Boundary analysis

As any programmer knows, faults often appear at the boundary of a equivalence class (for example, the initial value of an array, the maximum value for a given range, and so on). Boundary value analysis is a method, which complements equivalence partitioning by looking at the boundaries of the test input. It was defined by the National Institute of Standards and Technology (NIST) in 1981 as:

A selection technique in which test data are chosen to lie along ‘boundaries’ of the input domain [or output range] classes, data structures, and procedure parameters.

All in all, to apply boundary value analysis in our tests, we need to evaluate our SUT exactly in the borders of our equivalence class. Therefore, typically two tests cases are derived using this approach: the upper and the lower boundary of the equivalence class.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.135.213.212