当前位置:网站首页>Classification of regression tests
Classification of regression tests
2022-07-07 14:51:00 【51CTO】
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
边栏推荐
- 一款你不容错过的Laravel后台管理扩展包 —— Voyager
- Protection strategy of server area based on Firewall
- 多商戶商城系統功能拆解01講-產品架構
- 小程序目录结构
- Es log error appreciation -maximum shards open
- OAuth 2.0 + JWT protect API security
- 6. Electron borderless window and transparent window lock mode setting window icon
- Half an hour of hands-on practice of "live broadcast Lianmai construction", college students' resume of technical posts plus points get!
- Apache多个组件漏洞公开(CVE-2022-32533/CVE-2022-33980/CVE-2021-37839)
- 「2022年7月」WuKong编辑器更版记录
猜你喜欢
Deformable convolutional dense network for enhancing compressed video quality
安恒堡垒机如何启用Radius双因素/双因子(2FA)身份认证
Base64 encoding
Data Lake (IX): Iceberg features and data types
⼀个对象从加载到JVM,再到被GC清除,都经历了什么过程?
【服务器数据恢复】某品牌StorageWorks服务器raid数据恢复案例
JSON解析实例(Qt含源码)
一个程序员的水平能差到什么程度?尼玛,都是人才呀...
Stm32cubemx, 68 sets of components, following 10 open source protocols
Novel Slot Detection: A Benchmark for Discovering Unknown Slot Types in the Dialogue System
随机推荐
Pinduoduo lost the lawsuit, and the case of bargain price difference of 0.9% was sentenced; Wechat internal test, the same mobile phone number can register two account functions; 2022 fields Awards an
Base64 encoding
Full details of efficientnet model
关于后台动态模板添加内容的总结 Builder使用
Deformable convolutional dense network for enhancing compressed video quality
MicTR01 Tester 振弦采集模塊開發套件使用說明
PD virtual machine tutorial: how to set the available shortcut keys in the parallelsdesktop virtual machine?
ES日志报错赏析-- allow delete
防火墙基础之服务器区的防护策略
Mlgo: Google AI releases industrial compiler optimized machine learning framework
Electronic remote error
Substance painter notes: settings for multi display and multi-resolution displays
激光雷達lidar知識點滴
Applet directory structure
Apache多个组件漏洞公开(CVE-2022-32533/CVE-2022-33980/CVE-2021-37839)
全球首款 RISC-V 笔记本电脑开启预售,专为元宇宙而生!
Computer win7 system desktop icon is too large, how to turn it down
STM32CubeMX,68套组件,遵循10条开源协议
leetcode:648. Word replacement [dictionary tree board + find the shortest matching prefix among several prefixes]
Notes de l'imprimante substance: paramètres pour les affichages Multi - écrans et multi - Résolutions