当前位置:网站首页>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
边栏推荐
- 【C#/VB.NET】 将PDF转为SVG/Image, SVG/Image转PDF
- ROS+Pytorch的联合使用示例(语义分割)
- scroll-view指定滚动元素的起始位置
- Unit test framework + Test Suite
- A letter to graduating college students
- “我为开源打榜狂”第一周榜单公布,160位开发者上榜
- Request weather interface format, automation
- 方差迭代公式推导
- The difference between CONDA and pip
- Important knowledge points of redis
猜你喜欢
Journal quotidien des questions (11)
The pressure of large institutions in the bear market has doubled. Will the giant whales such as gray scale, tether and micro strategy become 'giant thunder'?
Ruoyi interface permission verification
2022-06-23 VGMP-OSPF-域間安全策略-NAT策略(更新中)
These two mosquito repellent ingredients are harmful to babies. Families with babies should pay attention to choosing mosquito repellent products
Golang operation redis: write and read kV data
Local rviz call and display of remote rostopic
New knowledge! The virtual machine network card causes your DNS resolution to slow down
Create your own deep learning environment with CONDA
[open source project recommendation colugomum] this group of undergraduates open source retail industry solutions based on the domestic deep learning framework paddlepadddle
随机推荐
Dbnet: real time scene text detection with differentiable binarization
Unittest attempt
SSH link remote server and local display of remote graphical interface
[Code] occasionally take values, judge blanks, look up tables, verify, etc
A letter to graduating college students
Simple password lock
Pytest -- write and manage test cases
Scroll view specifies the starting position of the scrolling element
The difference between CONDA and pip
Use @data in Lombok to simplify entity class code
Golang operation redis: write and read kV data
Create your own deep learning environment with CONDA
[set theory] equivalence relation (concept of equivalence relation | examples of equivalence relation | equivalence relation and closure)
每日刷題記錄 (十一)
Floating menu operation
学习笔记 -- k-d tree 和 ikd-Tree 原理及对比
Push box games C #
如何迁移或复制VMware虚拟机系统
2022-06-23 vgmp OSPF inter domain security policy NAT policy (under update)
10万奖金被瓜分,快来认识这位上榜者里的“乘风破浪的姐姐”