Black box testing-boundary value testing

Boundary value test

Boundary value testing tends to select the system boundary or data near the boundary to design test cases

Boundary value

Each input condition has boundary values. For example:
the value range of x is [100, 200], the value range of y is [1, 3]
, that is, the boundary values ​​of x are: 100, 200; the boundary values ​​of y are: 1, 3

How to set up test cases

  • Exhaustive testing

Select all test data in the boundary and the neighborhood near the boundary to form test cases

Exhaustive testing

  • Make sure there are several input conditions; (the number is determined by the demand, unchanged)
  • Determine the boundary point of each input condition
  • Delimit the boundary neighborhood (the amount of data increases as the value of the boundary neighborhood becomes larger)
  • Exhaustive selection of test data
  • Combining test data to design test cases
    This solution can meet the requirements of high test coverage and low method complexity, but it is far from achieving the desired results in terms of redundancy, defect location capability, and complexity.

Guess you like

Origin blog.csdn.net/weixin_44048668/article/details/115052329