当前位置:网站首页>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
边栏推荐
- 利用七种方法对一个文件夹里面的所有图像进行图像增强实战
- Pro2:修改div块的颜色
- What are the financial products in 2022? What are suitable for beginners?
- Tips for this week 134: make_ Unique and private constructors
- Chapter 3 business function development (safe exit)
- 备份阿里云实例-oss-browser
- Please insert the disk into "U disk (H)" & unable to access the disk structure is damaged and cannot be read
- Mui side navigation anchor positioning JS special effect
- Ansible learning summary (9) -- ansible loop, condition judgment, trigger, processing failure and other task control use summary
- 深度学习机器学习各种数据集汇总地址
猜你喜欢

Understanding of 12 methods of enterprise management

Tear the Nacos source code by hand (tear the client source code first)

Pro2:修改div块的颜色

保证接口数据安全的10种方案

Chapter 3 business function development (to remember account and password)

Functions and usage of serachview

Slider plug-in for swiper left and right switching
![Easy to understand [linear regression of machine learning]](/img/db/f300457165de7ab12aefac8842330f.jpg)
Easy to understand [linear regression of machine learning]

Dragging the custom style of Baidu map to the right makes the global map longitude 0 unable to be displayed normally
![[PaddleSeg源码阅读] PaddleSeg Validation 中添加 Boundary IoU的计算(1)——val.py文件细节提示](/img/f2/b6a0e5512b35cf1b695a8feecd0895.png)
[PaddleSeg源码阅读] PaddleSeg Validation 中添加 Boundary IoU的计算(1)——val.py文件细节提示
随机推荐
Tips for this week 131: special member functions and ` = Default`
What is agile testing
Vscode three configuration files about C language
Yarn capacity scheduler (ultra detailed interpretation)
仿今日头条APP顶部点击可居中导航
[principles and technologies of network attack and Defense] Chapter 3: network reconnaissance technology
回归测试的分类
Main work of digital transformation
zdog. JS rocket turn animation JS special effects
Understanding of 12 methods of enterprise management
swiper左右切换滑块插件
<代码随想录二刷>链表
[trusted computing] Lesson 13: TPM extended authorization and key management
Define menus using XML resource files
Chapter 3 business function development (safe exit)
性能测试过程和计划
基于PyTorch利用CNN对自己的数据集进行分类
Youth experience and career development
Machine vision (1) - Overview
debian10编译安装mysql