当前位置:网站首页>Software testing learning - day one
Software testing learning - day one
2022-07-03 06:47:00 【Xiao Xie Bu touch Yu】
One 、 Cognition test
What is software testing
answer : Use technology methods verification Whether the software meets the requirements
The purpose of software testing
answer : With the least manpower , material resources 、 financial 、 Find problems in the software and fix 、 To reduce business risk
( The software is bound to have defects )
characteristic :
Job vacancy ⼝:⼤
Salary : objective
⾏ trade : Stable ( Not subject to back-end development language ⾔ Limit )
⼊⻔ Simple
Two 、 Mainstream testing skills
A functional test
automated testing :
Use code or tools instead of manual verification of project functions
The interface test
Performance testing
Simulate multiplayer Software , Find server defects

3、 ... and 、 Tests often ⽤ classification
By stages
- unit testing : For the program source code ⾏ test ( Development ) White box testing
- Integration testing :⼜ call Pick up ⼝ test , Mainly aimed at Modules and modules or System and system Between Pick up ⼝ Into the ⾏ verification
- The system test : For software all ⾯ Into the ⾏ verification ( function 、 compatible 、⽂ files )
- The acceptance test : send ⽤ Internal measurement 、 Public beta to achieve
- Internal measurement : Inside the company ⾏ test .α Test internal test
- Public survey : Let players enter ⾏ test . β Test public beta
The code can ⻅ Degree division
- ⿊ Box test :⼜ Call it functional test ( Not at all ⻅ Program source code , Only for functions ⾏ verification )
- Grey box testing :⼜ Weighing connection ⼝ test / Integration testing ( Look No ⻅ Part of the code )
- ⽩ Box test :⼜ Scale unit test ( For the program source code ⾏ test )
automated testing , In theory, it belongs to black box test Actually, it belongs to functional testing
1. System testing and ⿊ Box test focuses on nuclear ⼼ yes A functional test
2. Integration test and grey box test ⼜ call Pick up ⼝ test
3. Unit tests and ⽩ The box test is right Code Into the ⾏ test
4.⾃ Automation test attribution A functional test
5. Performance testing 、 Safety test attribution Special tests
Expand - The test strategy
Smoke testing : Before large-scale testing Verify the main function of the program , Ensure that the program is testable
Face time question : What is the test standard ?— Smoke test passed What to do before testing ?----- Smoke testing
Four 、 Model
Quality model
( Learn about any software or hardware , Test areas to cover )
The quality model provides the basis for test design Different angles of view And verification direction
a key : function 、 compatible 、 performance 、 Easy to use 、 Security
Software quality model (ISO/IEC 25010)
- Functionality : The function meets the needs
- Performance efficiency : The performance meets the actual requirements
- Compatibility : The software can be compatible with mainstream hardware and software
- Ease of use : Easy to use
- reliability : Reliable performance and function application
- Information security : The degree of security of information during transmission or storage
- Maintainability : Easy to maintain
- Portability : With migration and convenience
W Model
What to learn ? – Software development process 、 The role of software testing in the development process ⽤

Development process : Demand analysis 、 Outline design 、 Detailed design 、 code 、 Integrate 、 The implementation of 、 deliver
Testing process : Unit test design 、 Integration test design 、 System test design 、 Acceptance test design 、 unit testing 、 Integration testing 、 The system test 、 The acceptance test
5、 ... and 、 Testing process
1、 Demand analysis
2、 test plan
3、 To write ⽤ example
4、 Of board ⾏⽤ example
5、 Defect management
6、 Test report

Demand analysis :
In front of : Read the requirements analysis document Record ambiguities- Ensure that all departments have a consistent understanding of requirements
- Stand in different perspectives on the needs ( Leak filling )
Plan preparation
What to measure : Test objective and scope Who will test it : Personnel schedule How to measure : The test strategy 、 Testing toolsTest case design
explain : Documents for designing and executing testsUse case execution
explain : Documents for performing testsDefect management
explain :--> Submit --> verification --> closeTest report
explain : Test target 、 Testing process 、 Defect statistics 、 Defect analysis 、 Test summary
6、 ... and 、 test ⽤ example
What is a test case ?
It is the execution document designed for the test project
Use cases : User cases
The test case : Documents for performing tests ( User cases )
Consideration point : Quality model ( function 、 performance 、 compatible 、 Easy to use 、 Security )
effect : Prevent missing measurement
Implement test standards
Format (⼋⼤ elements ):
- Use case number : project + modular + Number
- Use case title : Expected results + Operation steps
- modular / project : Project or module
- precondition : To execute this use case , And those pre operations
- priority : Indicates the importance or influence of the use case P0~P4(P0 The highest )
- testing procedure : Describe the operation steps
- Test data : Operational data , If not, it can be empty
- Expected results : Expected results
How to design test cases
Different scene and demand , There are different use case testing methods , You need to learn how to design use cases
Statement : Is to learn the dark horse test tutorial , If you are interested, you can click the link to learn Learning entrance
边栏推荐
- DBNet:具有可微分二值化的实时场景文本检测
- Journal quotidien des questions (11)
- 学习笔记 -- k-d tree 和 ikd-Tree 原理及对比
- 熊市里的大机构压力倍增,灰度、Tether、微策略等巨鲸会不会成为'巨雷'?
- 这两种驱蚊成份对宝宝有害,有宝宝的家庭,选购驱蚊产品要注意
- Reinstalling the system displays "setup is applying system settings" stationary
- Print time Hahahahahaha
- JMeter performance automation test
- Application scenarios of Catalan number
- C2338 Cannot format an argument. To make type T formattable provide a formatter<T> specialization:
猜你喜欢

New knowledge! The virtual machine network card causes your DNS resolution to slow down

Chapter 8. MapReduce production experience

ssh链接远程服务器 及 远程图形化界面的本地显示

Summary of the design and implementation of the weapon system similar to the paladin of vitality

Push box games C #

2022 East China Normal University postgraduate entrance examination machine test questions - detailed solution

Selenium - by changing the window size, the width, height and length of different models will be different

Asynchronous programming: async/await in asp Net

Integration test practice (1) theoretical basis
![[untitled]](/img/72/4ff9354634342580a135debb58b60e.jpg)
[untitled]
随机推荐
YOLOV1学习笔记
Example of joint use of ros+pytoch (semantic segmentation)
Paper notes vsalm literature review "a comprehensive survey of visual slam algorithms"
Pdf files can only print out the first page
【开源项目推荐-ColugoMum】这群本科生基于国产深度学习框架PaddlePadddle开源了零售行业解决方案
Journal quotidien des questions (11)
Machine learning | simple but feature standardization methods that can improve the effect of the model (comparison and analysis of robustscaler, minmaxscaler, standardscaler)
Pytest attempts to execute the test case without skipping, but the case shows that it is all skipped
Basic teaching of crawler code
Climb movie paradise 2021 hot
How to migrate or replicate VMware virtual machine systems
DBNet:具有可微分二值化的实时场景文本检测
VMware virtual machine C disk expansion
[untitled]
[leetcode] day93 - intersection of two arrays II
[set theory] equivalence relation (concept of equivalence relation | examples of equivalence relation | equivalence relation and closure)
Personally design a highly concurrent seckill system
Chapter 8. MapReduce production experience
论文笔记 VSALM 文献综述《A Comprehensive Survey of Visual SLAM Algorithms》
Docker advanced learning (container data volume, MySQL installation, dockerfile)