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
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 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.
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.
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.
Go Deeper on Boundary Value Analysis
Know the term. These are the courses that turn the concept into something you can demonstrate.
Which terms relate to Boundary Value Analysis?
Explore related glossary terms to deepen your understanding.
Related Resources
Dive deeper with these related interview prep pages.
Which comparisons and research cover Boundary Value Analysis?
Original data and findings behind this topic.
Free QA career tools, no account needed
Instant and private, everything runs in your browser. Try them before you sign up.
QA Resume Checker
Instant 0-100 score on automation keywords, impact, and ATS formatting.
QA Cover Letter Generator
A tailored 3-paragraph QA cover letter from your resume and a job post.
QA Application Tracker
Drag-and-drop kanban to track every QA application from Applied to Offer.
QA Take-Home Test Generator
A realistic take-home assignment with a scenario, tasks, and a rubric.
QA LinkedIn Headline Generator
A recruiter-searchable headline, About section, and skills list.
QA STAR Story Builder
Structure a QA behavioral answer with the STAR method and instant checks.
QA Bug Report Generator
Build a clean, reproducible bug report for Markdown, Jira, or plain text.
Boundary Value Analysis Generator
Generate boundary value and equivalence partitioning test cases from a range.
QA Metrics Calculator
Calculate DRE, defect leakage, defect density, and pass rate with interpretation.
QA Test Plan Generator
Build a structured test plan (scope, approach, criteria, risks) in Markdown.
QA Salary Calculator
Estimate QA, SDET, and automation tester pay by level, market, and skills.
QA Offer Evaluator
See total comp, a counter range, and a ready-to-send negotiation message.
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.
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