Skip to main content
Testing Fundamentals

What Is Boundary Value Analysis?

Boundary value analysis (BVA) is a test design technique that focuses on testing at the edges of input ranges, where defects are statistically most likely to occur.

Free to start · 7-day trial on paid plans

In Depth

Most bugs cluster at boundaries rather than in the middle of valid ranges. BVA targets the values at, just below, and just above each boundary. For example, if a field accepts ages 18 to 65, BVA would test 17, 18, 19, 64, 65, and 66. This gives maximum defect-detection power with minimal test cases.

BVA is often paired with equivalence partitioning: you first divide the input space into partitions, then focus your test values on the boundaries between them. Together, they form the backbone of black-box test design and are fundamental to ISTQB certification syllabi.

Beyond simple numeric ranges, BVA applies to string lengths (empty, one character, max length, max + 1), dates (leap years, month boundaries, epoch edges), collections (empty list, single element, at capacity), and any domain where a threshold triggers different behavior. Thinking in terms of boundaries trains testers to question assumptions about how the system handles edge cases.

Why Interviewers Ask About This

This is a foundational test design technique that interviewers expect every QA engineer to know. It demonstrates structured thinking about test case selection rather than ad hoc guessing.

Example Scenario

A registration form accepts passwords between 8 and 128 characters. BVA tests: 7 characters (expect rejection), 8 characters (accept), 9 characters (accept), 127 characters (accept), 128 characters (accept), and 129 characters (expect rejection). The test reveals that the backend allows 129 characters due to an off-by-one error in validation.

Interview Tip

Always pair BVA with equivalence partitioning when explaining test design. Walk through a concrete example with specific values rather than speaking in abstractions.

Related Resources

Dive deeper with these related interview prep pages.

Ready to Ace Your QA Interview?

Practice explaining boundary value analysis and other key concepts with our AI interviewer.

Join 1,200+ QA engineers already practicing with AssertHired.

Start Your Free QA Interview

Free to start · 7-day trial on paid plans

Written by Aston Cook, Senior QA EngineerLast updated: March 2026