当前位置:网站首页>Software testing concepts
Software testing concepts
2022-06-21 23:00:00 【yuuyin】
Q & A Review
About the last part , There are three main problems
- What is software testing
Testers verify whether the functions of the software meet the needs of users
- The difference between software testing and software development
software development : The breadth of professional skills is small , But the professional degree is relatively high
software test : A wide range of skills is required , But the professional degree is relatively low
How easy it is : software development difficult software test
Responsibility and pressure : almost
- The difference between software testing and software debugging
Purpose level :
Software debugging : The programmer verifies that the software does what he wants it to do ( Own perspective )
software test : The tester verifies whether the software meets the user's requirements ( User's perspective )
role
Software debugging : Developer
software test : Testers + Developer ( White box testing , Code related )
Stage
Software debugging : The development phase
software test : Throughout the whole process of software development , There are software tests everywhere
Measuring the results of software testing — demand
Concept of demand
A document that meets user expectations or regulations ( contract , standard , standard ) Conditions or permissions required . It includes user requirements and software requirements .
User requirements are detailed ;
Software requirements are the refinement of user requirements , Specific implementation details , Document .
Software requirements are transformed from user requirements .
Requirements are the basis for software testing
Validation requirements , Ensure that the requirements are correct and achievable . Refine requirements , Propose test items one by one from the requirements total --> branch –> branch
The test case
The test case It is a set of collections initiated to the system under test , Include Test environment , Test data , testing procedure , Expected results ( Importance , Function module 、 Whether to manually prioritize , Mode of operation , Title, etc. )
Case study :
The test case :
Correct user name : 123456789
The right password : 1234567
Use the above correct user name and password to log in to Netease mailbox , Login successful
title : The correct user name and password can successfully log in to Netease mailbox
Test environment : win10 Chrome edition 102.0.5005.115( Official version ) (64 position )
Test data : user name : 123456789 password : 1234567 ( Correct user name and password )
testing procedure : 1. Open Google browser , Input url : https://mail.163.com/
2. Enter your username and password
3. Click the login button (enter), Trigger login
Expected results : Login successful , Page Jump
What is? BUG
If and only if the software requirements specification exists and is reasonable , The function of the software does not conform to the requirements specification , It's a software error (BUG)****
If the software requirements specification does not exist , The needs of users exist and are reasonable , The function of the software does not conform to that of the user , It's a software error
The stage of software testing : The whole software development life cycle , Demand stage intervention
The life cycle of software development
The process of software from scratch
Demand analysis ----- plan ------- Design ------- coded ------- test -------- Operation and maintenance
Develop five models
Waterfall model

characteristic : Each stage is relatively independent , Serial , Pay attention to early demand analysis , Later system test
shortcoming :
- Test intervention late , Lead to problems in the early stage of software , It was found in the later test stage , Lose the opportunity to correct mistakes when they happen , Lost the opportunity of error remedy .
- Not responding to changes in demand .
Spiral model

Suitable for large projects , complex , High risk projects
characteristic : Pay attention to quality management , Risk analysis will be carried out in each iteration
shortcoming : Human resources are invested in risk analysis , resources , Administration cost , The high cost
Incremental model
A system , Finish... In two weeks A、B、C、D Four modules , In the first week A、B modular , In the second week C、D modular
Iteration module
A system , Finish... In two weeks A、B、C、D Four modules , To complete ABCD Basic function , When completing more complex functions
The incremental / Common features of iteration : Strong anti risk ability
Agile model
Agile Manifesto

characteristic : Light document , Light process , Heavy target , Re output , Response variation
Classic agile processes :scrum technological process
role :
PO :product owner The product manager , Responsible for collecting requirements , Turn into user story
SM :scrum master Responsible for ensuring the implementation of the whole agile process ;( Opening meeting , Assigned tasks )
ST : R & D personnel with various skills , test , Research and development ,UI

Release planning meeting :PO Collect requirements to form user story Explain , Prioritize , Find out what constitutes this iteration with high priority , formation sprint backlog
Iteration planning meeting :SM and ST The personnel analyze the requirements of this iteration together , Task allocation and time estimation , hold user story Break down the tasks one by one , Assign developers , Make a development plan
Daily station will : What did you do yesterday , Problems encountered , Today's plan
Product presentation : To Party A , The user demonstrates the product , Sort out the deficiencies and the modification suggestions put forward by the customer into user story, To the next iteration
Review planning meeting : Review the entire iteration process , Find out the deficiencies , Improve again in the next iteration , Optimize the iterative process
Software test model
V Model

characteristic :
Each stage on the left corresponds to each stage on the right
Each stage is highly independent
Each stage on the left is the basis of the test stage on the right
A variation of the waterfall model
shortcoming
Test after compilation , Test intervention late , Mistakes in the early stage will be found later , Lose the opportunity to correct mistakes in time
W Model

characteristic :
double V Model , To develop a V, Software testing one V
The process of software development and software testing are carried out simultaneously
Ensure that problems in the early stage of the project can be found in time
shortcoming :
Each stage is a serial process , After each stage is completed, the next stage will be entered , Agile development is not supported .
边栏推荐
猜你喜欢

WPF 路由

Uwp shadow effect

What is the most challenging issue in Bi development?

Electronic bidding procurement mall system: optimize traditional procurement business and speed up enterprise digital upgrading

Move Protocol Beta测试版再调整,扩大总奖池

WPF routing

Specific methods of using cloud development to realize wechat payment
![[wustctf2020] plain and unpretentious -1](/img/b3/3ea7ead040bca84fb9a67d21bf8170.png)
[wustctf2020] plain and unpretentious -1

WPF thread manipulation UI problem

《MATLAB 神经网络43个案例分析》:第9章 离散Hopfield神经网络的联想记忆——数字识别
随机推荐
Verilog除法器的设计总结
集合-Set
WPF x:Static
并查集练习题1:朋友圈
Pychart can run normally, and pyinstaller package software reports fatal error
Electronic bidding procurement mall system: optimize traditional procurement business and speed up enterprise digital upgrading
Migration of stm32f407 program to stm32f429
解决笔记本电脑(i)某个键的字母按不出来
Bitmap使用注意事项
啊啊啊啊啊啊啊
The method of ram and ROM initialization in FPGA design
Flink实战之实时风控规则引擎
H5之微信授权登陆 (uniapp网页版微信授权登录)
C# DataTable转换为Entity(反射&&泛型)
Pycharm下可以正常运行,Pyinstaller打包软件报出Fatal error
UWP 手写板InkCanvas
Go service platform project (I) design of database tables and use of gendry Library
Resolve the invalidation of OpenCV code prompt in pycharm
uniapp封装request函数 实现唯一登录,一个账号同时只能登陆一个设备
Set -set