BOUNDARY VALUE
ANALYSIS (BVA)
Author: SWAROOP NADELLA
https://www.linkedin.com/in/swaroopnadella/
BOUNDARY VALUE ANALYSIS - DEFINITION
• Boundary Value Analysis (BVA) is a software testing
technique that focuses on testing values at the boundaries
of the input range.
• This technique is used to uncover faults and defects that
might occur at the edges or boundaries of the input range.
Author: SWAROOP NADELLA
EXAMPLE 1: TESTING THE LENGTH OF A STRING
• If the system accepts a string of length [1, 100], then
the boundary values to test would be 1 and 100.
• Testing these values will ensure that the system can
handle the minimum and maximum length of a string.
Author: SWAROOP NADELLA
EXAMPLE 2: TESTING AN AGE FIELD
• If the system accepts an age field with a range of
[18, 100], then the boundary values to test would
be 18 and 100.
• This will ensure that the system can handle the
minimum and maximum age values.
Author: SWAROOP NADELLA
EXAMPLE 3: TESTING A DATE FIELD
• If the system accepts a date field with a range of
[01/01/2000, 12/31/2099], then the boundary values
to test would be 01/01/2000 and 12/31/2099.
• This will ensure that the system can handle the earliest
and latest possible dates.
Author: SWAROOP NADELLA
EXAMPLE 4: TESTING A TEMPERATURE FIELD
• If the system accepts a temperature field with a range
of [-40, 140], then the boundary values to test would
be -40 and 140.
• This will ensure that the system can handle the
minimum and maximum temperature values.
Author: SWAROOP NADELLA
EXAMPLE 5: TESTING A QUANTITY FIELD
• If the system accepts a quantity field with a range
of [0, 1000], then the boundary values to test
would be 0 and 1000.
• This will ensure that the system can handle the
minimum and maximum quantity values.
Author: SWAROOP NADELLA
THANK YOU !
SWAROOP NADELLA
https://www.linkedin.com/in/swaroopnadella/