In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
First of all, why use boundary value analysis?
A: historical experience has shown that a large number of errors occur at the boundary values of the input or output range, not within the input range.
Boundary:
1. The boundary value of the input field is clearly defined in the test object specification.
2. Developers are easy to misunderstand the boundary.
How to use boundary value analysis?
1. The boundary value analysis method needs to be combined with the equivalent class division method.
2. The prerequisite for obtaining the boundary of software parameters is to identify the equivalence classes.
Boundary value analysis technology is especially suitable for software with a specific range of input data.
How do I identify boundary values?
The boundary point is divided into boundary point, inner point and outer point.
1. Boundary point: a store on the border, regardless of whether it is open or closed
2. Interior point: add a step to the domain with reference to the boundary point
3. Outer point: take the boundary point as the reference, add a step to the domain range.
The principle of taking the boundary point: take the value closest to the boundary point.
Test data classification:
1. If there is a continuous range of values, the boundary value of the range and the value near the boundary are taken as the test data.
2. Discrete values, such as 1, 2, 3, 4, 5, use the maximum number, the minimum number, 1 smaller than the smallest, and 1 larger than the maximum as the test data.
3. For an ordered set, the first and last elements in the ordered set should be selected as the test data.
4. internal data structure, the value on the boundary of this internal data structure should be selected as the test data.
Common special boundary values:
1. The cursor on the screen is at the top left and bottom right.
2. The first and last elements of the array
3. The first and last lines of the report
4. The 0th, first, penultimate and last times of the cycle
5. The boundary value of the value, such as byte 0,255, word 0,65535.
Oke!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.