What boundary value analysis is
Boundary value analysis is a black-box test design technique that tests the values at the edges of an equivalence partition. If a field accepts ages from 18 to 60, the interesting values are not 30 or 45 but 17, 18, 60 and 61, because that is where a developer chooses between less-than and less-than-or-equal, and where that choice is most often wrong.
It works on any input with an ordered range: numbers, dates, string lengths, file sizes, quantities in a basket, the number of retries before a lockout. It is usually applied alongside equivalence partitioning, which divides the input into ranges, while boundary value analysis tests where those ranges meet.