当前位置:网站首页>Classification of regression tests
Classification of regression tests
2022-07-07 18:08:00 【Multi surveyor 111】
Classification of regression tests
Express the use cases used in regression testing in mathematical form , It can be explained in this way : Suppose the software function set of a development cycle is P, The corresponding test case set is T.
In regression testing , We can use test case sets T、 For new / modify ( For example, repair defects ) Feature set after P、 To test . among P、⊂P,T、⊂T. So we can see , For regression testing , The key is the set of test cases T、 Selection of .
So how to select regression test case set ?
Commonly used : Select the regression test case set according to the code modification , Or select regression test case set according to data flow diagram . In short , Collect feature sets that require regression testing P、 Related information , Retrieve the test case set associated with it in the use case library T.
Let's illustrate the whole process of regression testing with an example , Combined with the elaboration of the third part , Two examples are given to illustrate different types of regression tests , How to do regression testing .
1. Modified regression test
The modified regression test is mainly used after defects are detected and repaired
hypothesis : The development cycle D Inside , The software feature set is P={P1,P2,P3,P4,P5}, The corresponding test case set is T={T1,T2,T3,T4,T5}.
After ordinary test , Submit defect set B={B2,B3},B2 yes T2 Use case discovery and P2 Function related defects ,B3 yes T3 Use case discovery and P3 Function related defects .
After defect repair , The function of detecting defects P2,P3 Do regression testing , The regression test case set is T、={T2,T3},T2 and T3 The use case is tested without any modification .
2. Progressive regression test
The progressive regression test is usually carried out after adding, deleting and other modifications to the original functions , The progressive flow chart and stage are shown in the figure below 2 Shown , Progressive regression test can be used to start after modifying the original function in the current development cycle .
hypothesis : The development cycle Dn+1 Inside , The software feature set is P={P1,P2,P3,P4,P5、,P6,P7}, among P1-P4 For the original function of the software ,P6、P7 For the development cycle Dn+1 New functions in ,P5、 For the original P5 Function after modification .
The corresponding test case set is T Contains the original use case set T1-T4, New use case set T6,、7, And the modified test case T5、. namely T={T1,T2,T3,T4,T5、,T6,T7}.
In the progressive regression test stage , Need to be right P5、 Function regression test , The test case used is the original T5 The use case has been modified , To adapt to new P5、 Of T5、 Use cases .
3. Understand the significance of regression testing
Regression testing is often mentioned and used in testing activities , There are often testers who don't know the routine ( Ordinary ) The significance of testing and regression testing , And how to conduct regression tests . After the introduction of this paper , It can help testers better understand and regression testing activities .
For more information on testing techniques, please pay attention to : Shenzhen duosurveyor software and Technical Service Co., Ltd
边栏推荐
- [trusted computing] Lesson 12: TPM authorization and conversation
- zdog.js火箭转向动画js特效
- 手撕Nacos源码(先撕客户端源码)
- 【蓝桥杯集训100题】scratch从小到大排序 蓝桥杯scratch比赛专项预测编程题 集训模拟练习题第17题
- Tips of this week 141: pay attention to implicit conversion to bool
- 讨论| 坦白局,工业 AR 应用为什么难落地?
- Actionbar navigation bar learning
- 三仙归洞js小游戏源码
- [paddleseg source code reading] add boundary IOU calculation in paddleseg validation (1) -- val.py file details tips
- DatePickerDialog and trimepickerdialog
猜你喜欢
Sanxian Guidong JS game source code
Easy to understand [linear regression of machine learning]
swiper左右切换滑块插件
AI defeated mankind and designed a better economic mechanism
Use onedns to perfectly solve the optimization problem of office network
Management by objectives [14 of management]
Pro2:修改div块的颜色
What is agile testing
Performance test process and plan
什么是敏捷测试
随机推荐
讨论 | AR 应用落地前,要做好哪些准备?
[paddleseg source code reading] add boundary IOU calculation in paddleseg validation (1) -- val.py file details tips
【4500字归纳总结】一名软件测试工程师需要掌握的技能大全
机器人工程终身学习和工作计划-2022-
面试官:页面很卡的原因分析及解决方案?【测试面试题分享】
讨论| 坦白局,工业 AR 应用为什么难落地?
USB通信协议深入理解
3分钟学会制作动态折线图!
How to implement safety practice in software development stage
原生js验证码
Create dialog style windows with popupwindow
Click on the top of today's headline app to navigate in the middle
Supplementary instructions to relevant rules of online competition
元宇宙带来的创意性改变
Understanding of 12 methods of enterprise management
财富证券证券怎么开户?通过链接办理股票开户安全吗
In depth understanding of USB communication protocol
Native JS verification code
[tpm2.0 principle and Application guide] Chapter 1-3
深度学习-制作自己的数据集