当前位置:网站首页>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
边栏推荐
- Hands on redis master-slave replication, sentinel master-slave switching, cluster sharding
- Oracle Database Introduction
- C2338 Cannot format an argument. To make type T formattable provide a formatter<T> specialization:
- 堆排序和优先队列
- Summary of remote connection of MySQL
- conda和pip的区别
- Unittest attempt
- 认识弹性盒子flex
- 保险公司怎么查高血压?
- [leetcode] day93 - intersection of two arrays II
猜你喜欢

Scroll view specifies the starting position of the scrolling element

Yolov2 learning and summary

“我为开源打榜狂”第一周榜单公布,160位开发者上榜

这两种驱蚊成份对宝宝有害,有宝宝的家庭,选购驱蚊产品要注意

远端rostopic的本地rviz调用及显示

Personally design a highly concurrent seckill system

10000小时定律不会让你成为编程大师,但至少是个好的起点

2022 - 06 - 23 vgmp - OSPF - Inter - Domain Security Policy - nat Policy (Update)

Operation principle of lua on C: Foundation

论文笔记 VSALM 文献综述《A Comprehensive Survey of Visual SLAM Algorithms》
随机推荐
SQL实现将多行记录合并成一行
Request weather interface format, automation
MATLAB如何修改默认设置
【类和对象】深入浅出类和对象
2022 cisp-pte (III) command execution
Yolov3 learning notes
Integration test practice (1) theoretical basis
【无标题】
VMware virtual machine C disk expansion
Realize PDF to picture conversion with C #
The mechanical hard disk is connected to the computer through USB and cannot be displayed
Print time Hahahahahaha
Derivation of variance iteration formula
error C2017: 非法的转义序列
论文笔记 VSALM 文献综述《A Comprehensive Survey of Visual SLAM Algorithms》
IC_ EDA_ All virtual machine (rich Edition): questasim, vivado, VCs, Verdi, DC, Pt, spyglass, icc2, synthesize, innovative, ic617, mmsim, process library
10万奖金被瓜分,快来认识这位上榜者里的“乘风破浪的姐姐”
[untitled] 5 self use history
2022-06-23 VGMP-OSPF-域間安全策略-NAT策略(更新中)
IC_EDA_ALL虚拟机(丰富版):questasim、vivado、vcs、verdi、dc、pt、spyglass、icc2、synplify、INCISIVE、IC617、MMSIM、工艺库