GO-V.ORG
As seen in

Boundary-value analysis

Boundary-value analysis is a software testing technique in which tests are designed to include representatives of boundary values in a range.[src] The idea comes from the boundary.[src] Given that there is a set of test vectors to test the system, a topology can be defined on that set.[src] Those inputs which belong to the same equivalence class as defined by the equivalence partitioning theory would constitute the basis.[src] Given that the basis sets are neighbors, there would exist a boundary between them.[src] The test vectors on either side of the boundary are called boundary values.[src] In practice, this would require that the test vectors can be ordered, and that the individual parameters follows some kind of order (either partial order or total order).[src]

Boundary-value analysis is a software testing technique in which tests are designed to include representatives of boundary values in a range.[src] The idea comes from the boundary.[src] Given that there is a set of test vectors to test the system, a topology can be defined on that set.[src] Those inputs which belong to the same equivalence class as defined by the equivalence partitioning theory would constitute the basis.[src] Given that the basis sets are neighbors, there would exist a boundary between them.[src] The test vectors on either side of the boundary are called boundary values.[src] In practice, this would require that the test vectors can be ordered, and that the individual parameters follows some kind of order (either partial order or total order).[src] class Safe { static int add(int a, int b) { int c = a + b ; if (a >= 0 && b >= 0 && c = 0) { System.err.println("Underflow!"); } return c; } } On the basis of the code, the input vectors of are partitioned.[src] The blocks we need to cover are the overflow statement and the underflow statement and neither of these 2.[src] That gives rise to 3 equivalent classes, from the code review itself.[src] we note that there is a fixed size of integer hence:- We note that the input parameter a and b both are integers, hence total order exists on them.[src] When we compute the equalities:- we get back the values which are on the boundary, inclusive, that is these pairs of are valid combinations, and no underflow or overflow would happen for them.[src] On the other hand:- gives pairs of which are invalid combinations, Overflow would occur for them.[src] In the same way:- gives pairs of which are invalid combinations, Underflow would occur for them.[src] Boundary values (drawn only for the overflow case) are being shown as the orange line in the right hand side figure.[src] For another example, if the input values were months of the year, expressed as integers, the input parameter 'month' might have the following partitions: ...[src] -2 -1 0 1 ..............[src] 12 13 14 15 .....[src] --------------|-------------------|------------------- invalid partition 1 valid partition invalid partition 2 The boundary between two partitions is the place where the behavior of the application changes and is not a real number itself.[src] The boundary value is the minimum (or maximum) value that is at the boundary.[src] The number 0 is the maximum number in the first partition, the number 1 is the minimum value in the second partition, both are boundary values.[src] Test cases should be created to generate inputs or outputs that will fall on and to either side of each boundary, which results in two cases per boundary.[src] The test cases on each side of a boundary should be in the smallest increment possible for the component under test, for an integer this is 1, but if the input was a decimal with 2 places then it would be .01.[src] In the example above there are boundary values at 0,1 and 12,13 and each should be tested.[src] Boundary value analysis does not require invalid partitions.[src] Take an example where a heater is turned on if the temperature is 10 degrees or colder.[src] There are two partitions (temperature≤10, temperature>10) and two boundary values to be tested (temperature=10, temperature=11).[src] Where a boundary value falls within the invalid partition the test case is designed to ensure the software component handles the value in a controlled manner.[src] Boundary value analysis can be used throughout the testing cycle and is equally applicable at all testing phases.[src] == External links== The Testing Standards Working Party website[src]

37 sentences · 37 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Boundary-value analysis." encyclopegia.org, 2026, https://encyclopegia.org/wiki/boundary-value-analysis. Accessed 04 December 2026.

Chicago

"Boundary-value analysis." encyclopegia.org. Accessed December 4, 2026. https://encyclopegia.org/wiki/boundary-value-analysis.

APA

encyclopegia.org. (2026). Boundary-value analysis. Retrieved December 4, 2026, from https://encyclopegia.org/wiki/boundary-value-analysis

Accessed December 4, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

canonical correlation analysis

stub · references available

half-value thickness

stub · references available

truth value

stub · references available

mean value theorem

stub · references available

functional analysis

stub · references available

regression analysis

stub · references available

default value

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1359209013 · 0.5 · snapshot enwiki-001359209013

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.