Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Test method selection strategy

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Myers Policy:

Boundary value analysis must be used in any case, and experience shows that this method has the strongest ability to find errors in test cases.

Supplement some test cases with the equivalent class division method if necessary.

Add some test cases with error inference.

Check out the logical coverage of the designed test cases against the program logic, and if the required coverage standard is not met, enough test cases should be added.

If the functional description of the program contains a combination of input conditions, the causality diagram method can be used in the first place.

Policy process:

1. Construct basic test case types according to requirements, design specifications and other related instructions.

2. Use the boundary value method to supplement the test cases.

3. The equivalent class division method is used to supplement the test cases.

4. Then construct positive and negative test cases according to the relevant test types

5. Use error inference to supplement test cases.

6. The method used according to the situation:

Using scenario method to design test cases

Using orthogonal test method / function diagram method to design test cases

Using causality diagram method to design test cases

Using flowchart method to design test cases

State transition supplementary test cases

7. Write test cases for other test types, such as performance, stress, security, compatibility, configuration, localization, internationalization, etc.

8. Optimize test cases by heuristic review method.

Risk-based testing: according to the risk degree of the software product, it is calculated by the severity of the error and the probability of occurrence. The test can determine the test priority and test coverage according to the different risk degree.

Risk-based test analysis process:

1. List all the functions and features of the software

2. Determine the possibility of errors in each function

3. If a function goes wrong or lacks a feature, how much impact will it have on customers

4. Calculate the risk degree

5. Modify the risk degree according to the signs of possible error

6. Determine the scope of the test and write the test plan.

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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report