当前位置:网站首页>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
边栏推荐
- 每日刷题记录 (十一)
- 致即将毕业大学生的一封信
- MATLAB如何修改默认设置
- [Code] occasionally take values, judge blanks, look up tables, verify, etc
- Scripy learning
- Oracle Database Introduction
- Asynchronous programming: async/await in asp Net
- The list of "I'm crazy about open source" was released in the first week, with 160 developers on the list
- 2022 cisp-pte (III) command execution
- JMeter performance automation test
猜你喜欢

2022年华东师范大学计科考研复试机试题-详细题解

Selenium ide installation recording and local project maintenance

Ruoyi interface permission verification

利用C#实现Pdf转图片

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

JMeter performance automation test

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

The dynamic analysis and calculation of expressions are really delicious for flee

HMS core helps baby bus show high-quality children's digital content to global developers

SQL implementation merges multiple rows of records into one row
随机推荐
服务器如何设置多界面和装IIS呢?甜甜给你解答!
pytorch练习小项目
Application scenarios of Catalan number
JMeter linked database
DBNet:具有可微分二值化的实时场景文本检测
Learning notes -- principles and comparison of k-d tree and IKD tree
The list of "I'm crazy about open source" was released in the first week, with 160 developers on the list
Use selenium to climb the annual box office of Yien
Journal quotidien des questions (11)
ROS+Pytorch的联合使用示例(语义分割)
Golang operation redis: write and read hash type data
(翻译)异步编程:Async/Await在ASP.NET中的介绍
The most classic 100 sentences in the world famous works
Summary of UI module design and practical application of agent mode
致即将毕业大学生的一封信
机械观和系统观的科学思维方式各有什么特点和作用
SSH link remote server and local display of remote graphical interface
Install VM tools
剖析虚幻渲染体系(16)- 图形驱动的秘密
10万奖金被瓜分,快来认识这位上榜者里的“乘风破浪的姐姐”