DEV Community

SATHEESH MADHAVARAPU
SATHEESH MADHAVARAPU

Posted on

Boundary Value Analysis in Software Testing

Boundary Value Analysis is used to identify defects or errors in software that occur at or around the boundary limits of input ranges or sizes. This technique is applied when the input data has specific range constraints. Testing should be done using both positive and negative approaches. The system should accept valid test data (positive test data) and reject invalid test data (negative test data). If the system accepts negative or invalid test data without rejection, it indicates a deviation in the developed code.

Let's consider a scenario where an online education portal has specific requirements for the user ID and password: the user ID must consist of 10-12 numeric characters, and the password must consist of 3-5 characters.

User ID:

Valid Test Data

1234567891

12345678910

123456789101

0102030405

9874441234

Invalid Test Data

12345
123456789101123456789101

Password:

Valid Test Data

111

Invalid Test Data


1111111

Top comments (0)