Boundary Value Analysis is a black-box test technique in which test cases are designed based on boundary values.
Boundary value analysis and testing will reveal almost all such defects by forcing the software to show behaviors from a partition other than the one to which the boundary value should belong.
This technique is used when practically it is impossible to test a large pool of test cases individually
For example: Test scenario — A text field accepts input between 1 to 100
Test Scenario Description | Expected Outcome |
Boundary Value = 0 | System should NOT accept |
Boundary Value = 1 | System should accept |
Boundary Value = 2 | System should accept |
Boundary Value = 99 | System should accept |
Boundary Value = 100 | System should accept |
Boundary Value = 101 | System should NOT accept |