当前位置:网站首页>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 tools
Test case design
explain : Documents for designing and executing tests
Use case execution
explain : Documents for performing tests
Defect management
explain :--> Submit --> verification --> close
Test 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
边栏推荐
- opencv鼠标键盘事件
- 【类和对象】深入浅出类和对象
- 10000小时定律不会让你成为编程大师,但至少是个好的起点
- Une exploration intéressante de l'interaction souris - pointeur
- [LeetCode]404. Sum of left leaves
- Machine learning | simple but feature standardization methods that can improve the effect of the model (comparison and analysis of robustscaler, minmaxscaler, standardscaler)
- 每日刷題記錄 (十一)
- [untitled] 5 self use history
- A letter to graduating college students
- 100000 bonus is divided up. Come and meet the "sister who braves the wind and waves" among the winners
猜你喜欢
Summary of UI module design and practical application of agent mode
Selenium - by changing the window size, the width, height and length of different models will be different
Docker advanced learning (container data volume, MySQL installation, dockerfile)
每日刷题记录 (十一)
Integration test practice (1) theoretical basis
Summary of the design and implementation of the weapon system similar to the paladin of vitality
Numerical method for solving optimal control problem (I) -- gradient method
scroll-view指定滚动元素的起始位置
After the Chrome browser is updated, lodop printing cannot be called
vmware虚拟机C盘扩容
随机推荐
opencv
Journal quotidien des questions (11)
Personally design a highly concurrent seckill system
[Code] if (list! = null & list. Size() > 0) optimization, set empty judgment implementation method
Read blog type data from mysql, Chinese garbled code - solved
保险公司怎么查高血压?
这两种驱蚊成份对宝宝有害,有宝宝的家庭,选购驱蚊产品要注意
YOLOV3学习笔记
The dynamic analysis and calculation of expressions are really delicious for flee
The win7 computer can't start. Turn the CPU fan and stop it
golang操作redis:写入、读取kv数据
Use @data in Lombok to simplify entity class code
堆排序和优先队列
【5G NR】UE注册流程
100000 bonus is divided up. Come and meet the "sister who braves the wind and waves" among the winners
【code】偶尔取值、判空、查表、验证等
Know flex box
Pdf files can only print out the first page
Request weather interface format, automation
UNI-APP中条件注释 实现跨段兼容、导航跳转 和 传参、组件创建使用和生命周期函数