当前位置:网站首页>[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
边栏推荐
- Whether a person is reliable or not, closed loop is very important
- Doris / Clickhouse / Hudi, a phased summary in June
- Si vous ne connaissez pas ces quatre modes de mise en cache, vous osez dire que vous connaissez la mise en cache?
- DDL language of MySQL database: create, modify alter, delete drop of databases and tables
- System.currentTimeMillis() 和 System.nanoTime() 哪个更快?别用错了!
- Rhcsa day 10 operation
- 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
- Latex error: missing delimiter (. Inserted) {\xi \left( {p,{p_q}} \right)} \right|}}
- The bamboo shadow sweeps the steps, the dust does not move, and the moon passes through the marsh without trace -- in-depth understanding of the pointer
- [Galaxy Kirin V10] [server] set time synchronization of intranet server
猜你喜欢

leetcode1-3

Safety reinforcement learning based on linear function approximation safe RL with linear function approximation translation 1

MPLS: multi protocol label switching

Rhsca day 11 operation

system design

What is an excellent architect in my heart?

【Day2】 convolutional-neural-networks

Online troubleshooting

From programmers to large-scale distributed architects, where are you (2)

RHCE - day one
随机推荐
Add t more space to your computer (no need to add hard disk)
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
Three schemes of ZK double machine room
VLAN part of switching technology
[Galaxy Kirin V10] [server] iSCSI deployment
From programmers to large-scale distributed architects, where are you (2)
Realsense d435 d435i d415 depth camera obtains RGB map, left and right infrared camera map, depth map and IMU data under ROS
有老师知道 继承RichSourceFunction自定义读mysql怎么做增量吗?
对于程序员来说,伤害力度最大的话。。。
Recursive method to achieve full permutation (C language)
Doris / Clickhouse / Hudi, a phased summary in June
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
Debug:==42==ERROR: AddressSanitizer: heap-buffer-overflow on address
DCL statement of MySQL Foundation
按键精灵打怪学习-识别所在地图、跑图、进入帮派识别NPC
Some summaries of the third anniversary of joining Ping An in China
Safety reinforcement learning based on linear function approximation safe RL with linear function approximation translation 1
IPv6 comprehensive experiment
[FAQ] summary of common causes and solutions of Huawei account service error 907135701
Write a program to define an array with 10 int elements, and take its position in the array as the initial value of each element.