Skip to main content
Testing Fundamentals
DEFINITION

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. For a field that accepts 1 to 100, BVA tests 0, 1, 2, 99, 100 and 101, because off-by-one errors and wrong comparison operators cluster at exactly those values.

No account needed · Scored in under a minute against a senior rubric

IN DEPTH

What does Boundary Value Analysis mean in practice?

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 IT MATTERS

Why do interviewers ask about Boundary Value Analysis?

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

What does Boundary Value Analysis look like in a real project?

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.

TIP

How should you talk about Boundary Value Analysis in an interview?

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.

FREE TOOLS  /  no signup

Free QA career tools, no account needed

Instant and private, everything runs in your browser. Try them before you sign up.

EXEC.NOW

Ready to Ace Your QA Interview?

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

Join 500+ QA engineers already practicing with AssertHired.

Question 1 · Automation · Mid-levellive scoring

A test passes locally but fails in CI about one run in five. Walk me through what you check first, and why.

Scored on the same four dimensions as the real thing: Technical accuracy · Coverage · Clarity · Best practices.

Rather skip ahead? Create a free account

FREE.TO.START  ·  7.DAY.TRIAL ON PAID PLANS
Written by , Senior QA Automation Engineer, 50+ QA candidate interviews conductedLast updated July 2026