当前位置:网站首页>[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
边栏推荐
- Safety reinforcement learning based on linear function approximation safe RL with linear function approximation translation 1
- Tables in the thesis of latex learning
- 【Day2】 convolutional-neural-networks
- 基于线性函数近似的安全强化学习 Safe RL with Linear Function Approximation 翻译 2
- [machine] [server] Taishan 200
- RHCE - day one
- For programmers, if it hurts the most...
- Dichotomy search (C language)
- Jianzhi offer 04 (implemented in C language)
- 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
猜你喜欢

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

leetcode842. Split the array into Fibonacci sequences

Number of relationship models
![[Galaxy Kirin V10] [server] NUMA Technology](/img/9b/65466c6fc6336e27e842f50c26b9c3.jpg)
[Galaxy Kirin V10] [server] NUMA Technology

When I forget how to write SQL, I

How to use diff and patch to update the source code
![[Galaxy Kirin V10] [desktop] cannot add printer](/img/a6/28e4aa31e805a018e6db2b32ca1be0.jpg)
[Galaxy Kirin V10] [desktop] cannot add printer

Learning XML DOM -- a typical model for parsing XML documents

Virtual machine configuration network

Dichotomy search (C language)
随机推荐
Container cloud notes
On binary tree (C language)
Student achievement management system (C language)
Dynamic memory management
[Galaxy Kirin V10] [desktop and server] FRP intranet penetration
Snake (C language)
How to use diff and patch to update the source code
[untitled]
Huge number (C language)
Rhcsa12
Dos:disk operating system, including core startup program and command program
Es entry series - 6 document relevance and sorting
uniapp 小于1000 按原数字显示 超过1000 数字换算成10w+ 1.3k+ 显示
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
Rhcsa learning practice
Remove linked list elements
Tables in the thesis of latex learning
20 minutes to learn what XML is_ XML learning notes_ What is an XML file_ Basic grammatical rules_ How to parse
/*Write a loop to output the elements of the list container in reverse order*/
Realsense of d435i, d435, d415, t265_ Matching and installation of viewer environment