当前位置:网站首页>[test theory] test phase analysis (unit, integration, system test)
[test theory] test phase analysis (unit, integration, system test)
2022-07-04 10:36:00 【StoneTester】
List of articles
Preface
Some test process details summarized from my work and study
Related articles
【 Test theory 】 Test professional thinking
【 Test theory 】 Test process management
One 、 Testing phase
From the previous test process management , Know the commonly used testing stages , Analyze in order
1. unit testing
1.1 brief introduction
Test the correctness of the smallest component unit of product realization , for example : A function or a class method .
1.2 Test purpose
- The implementation content conforms to the detailed design document
- The earliest intervention test , Ensure fewer defects in subsequent stages , Reduce repair costs
- Testers are clear about code logic , Locate problems faster , Avoid problems
- Test-driven development
1.3 The test method
- White box test method
1.4 Test evaluation
- Logical coverage :
1、 The execution rate of unit test cases is 100%, The pass rate is 95%
2、 The coverage of the subject sentence reaches 100%
3、 The coverage of branch statements reaches 85%
2. Integration testing
2.1 brief introduction
On a unit test basis , Integrate all modules into subsystems or systems according to the outline design documents , Verify whether the logic between modules is correct .
2.2 Test purpose
- The content of the implementation conforms to the outline design document
- Step in early to test , Ensure fewer defects in subsequent stages , Reduce repair costs
- Testers should be clear about the logic between modules , Locate problems faster , Avoid problems
2.3 The test method
- Grey box test method
2.4 Test evaluation
- Interface coverage :
1、 The execution rate of test cases is 100%, The pass rate is 95%
2、 Interface equivalence class 、 The coverage of boundary value reaches 85%
3. The system test
3.1 brief introduction
product ( The system integrated in the previous stage ) And hardware 、 Third party software 、 Data and personnel are combined , In the actual operating environment , Carry out a series of tests on the product .
3.2 Test purpose
- The content of the implementation conforms to the requirements analysis document
- The final phase of testing , Ensure the minimum defects online
- Close to the user environment
3.3 The test method
- Black box test method
3.4 Test evaluation
- Demand coverage :P0 The use case coverage is 100%, Other coverage rates can be adjusted flexibly according to the product stage
- Code coverage
- Defect rate
- Missing rate
边栏推荐
- [Galaxy Kirin V10] [desktop] printer
- Knapsack problem and 0-1 knapsack problem
- OSPF summary
- Add t more space to your computer (no need to add hard disk)
- [200 opencv routines] 218 Multi line italic text watermark
- Rhcsa day 9
- Talk about scalability
- How do microservices aggregate API documents? This wave of show~
- leetcode1-3
- system design
猜你喜欢
Network connection (III) functions and similarities and differences of hubs, switches and routers, routing tables and tables in switches, why do you need address translation and packet filtering?
[Galaxy Kirin V10] [desktop and server] FRP intranet penetration
What is an excellent architect in my heart?
Architecture introduction
Reasons and solutions for the 8-hour difference in mongodb data date display
Two way process republication + routing policy
[Galaxy Kirin V10] [server] failed to start the network
Introduction to extensible system architecture
system design
Rhcsa day 10 operation
随机推荐
原生div具有编辑能力
[Galaxy Kirin V10] [desktop] printer
Service developers publish services based on EDAs
Rhcsa day 9
Summary of several job scheduling problems
Development guidance document of CMDB
[Galaxy Kirin V10] [desktop] login system flash back
uniapp 小于1000 按原数字显示 超过1000 数字换算成10w+ 1.3k+ 显示
The future education examination system cannot answer questions, and there is no response after clicking on the options, and the answers will not be recorded
Read a piece of text into the vector object, and each word is stored as an element in the vector. Convert each word in the vector object to uppercase letters. Output the converted elements in the vect
Some summaries of the third anniversary of joining Ping An in China
BGP ---- border gateway routing protocol ----- basic experiment
Rhsca day 11 operation
对于程序员来说,伤害力度最大的话。。。
[Galaxy Kirin V10] [desktop] cannot add printer
leetcode1-3
Recursive method to achieve full permutation (C language)
【Day1】 deep-learning-basics
Software sharing: the best PDF document conversion tool and PDF Suite Enterprise version sharing | with sharing
PHP programming language (1) - operators