当前位置:网站首页>[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
边栏推荐
- Development guidance document of CMDB
- [Galaxy Kirin V10] [server] iSCSI deployment
- Basic data types of MySQL
- BGP advanced experiment
- Network connection (II) three handshakes, four waves, socket essence, packaging of network packets, TCP header, IP header, ACK confirmation, sliding window, results of network packets, working mode of
- Write a program that uses pointers to set all elements of an int array to 4.18: 0.
- Leetcode48. Rotate image
- Introduction to tree and binary tree
- 【Day1】 deep-learning-basics
- 20 minutes to learn what XML is_ XML learning notes_ What is an XML file_ Basic grammatical rules_ How to parse
猜你喜欢

What is an excellent architect in my heart?

Idea SSH channel configuration

C language - stack

Development guidance document of CMDB

Work order management system OTRs
Si vous ne connaissez pas ces quatre modes de mise en cache, vous osez dire que vous connaissez la mise en cache?

OSPF comprehensive experiment

Virtual machine configuration network

六月份阶段性大总结之Doris/Clickhouse/Hudi一网打尽

RHCE - day one
随机推荐
From programmers to large-scale distributed architects, where are you (2)
Network disk installation
Write a program to judge whether the two arrays are equal, and then write a similar program to compare the two vectors.
Latex arranges single column table pictures in double column format articles
使用 C# 提取 PDF 文件中的所有文字(支持 .NET Core)
uniapp 小于1000 按原数字显示 超过1000 数字换算成10w+ 1.3k+ 显示
Whether a person is reliable or not, closed loop is very important
If you don't know these four caching modes, dare you say you understand caching?
Communication layer of csframework
Check 15 developer tools of Alibaba
From programmers to large-scale distributed architects, where are you (I)
RHCE - day one
Evolution from monomer architecture to microservice architecture
【Day1】 deep-learning-basics
Delayed message center design
Latex insert picture, insert formula
BGP advanced experiment
leetcode1229. Schedule the meeting
Dichotomy search (C language)
The time difference between the past time and the present time of uniapp processing, such as just, a few minutes ago, a few hours ago, a few months ago