Boundary value Technique Many systems have tendency to fail on boundary. So testing boundary values of application is important. Boundary Value Analysis (BVA) is a functional testing where the extreme boundary values are chosen. Boundary values include maximum, minimum, just inside/outside boundaries, typical values and error values
Limitation: Boundary value testing is efficient only for variables of fixed values. i.e boundary.
When to use the technique: This technique is utilized to generate test cases for primary flows and field level validations. The field however, should not dependent on any other value.
Guidelines for selecting BOUNDARY VALUES
If the input is a range and in bounded by a and b, then use a, b, and values just above and just below a and b, respectively
2. If the input is number of discrete values, use the minimum and the maximum of the values and values just above and just below them, respectively. (Can also be applied to a single specific input value)
3. For inputs that are a set of values, test all values in the set (if possible) and one value outside the set.
4. For inputs that are Boolean, test for both Boolean values (T,F) and for a non-Boolean value
5. Apply guidelines 1 and 2 to create output values at the minimum and maximum expected values
E.g., if the output is a table, create a minimum size table (1 row) and a maximum size table.
6. If data structures have boundaries, test these boundary values and values just above and just below them, respectively.
E.g., for an array of bounds 1 to 10 -> test array index equal to 0,1,2,9,10,11.