香港城市大学:Adaptive Random Test Case Prioritization(PPT讲稿)

Adaptive Random Test Case Prioritization Speaker: Bo Jiang Co-authors: Zhenyu Zhang, W.K. Chant, T.H. Tse The University of Hong Kong cIty University of Hong Kong 香港城市大學 Bs COMPUTER SCIENCE City University of Hong Kong s THE UNIVERSITY OF HONG KONG
Adaptive Random Test Case Prioritization Speaker: Bo Jiang* Co-authors: Zhenyu Zhang* , W.K.Chan† , T.H.Tse* *The University of Hong Kong †City University of Hong Kong 1

Contents Background Motivation Adaptive Random Test case prioritization )Experiments and results analysis Related Works Conclusion Future work
Contents 2 Background Motivation Adaptive Random Test Case Prioritization Experiments and Results Analysis Related Works Conclusion & Future work

Regression Testing Techniques Obsolete Test case elimination Test Suite Program Test Suite T Accounts for 50% of the cost of software maintenance Test Suite T Test Suite Test Suite Program T T st St P
Regression Testing Techniques 3 Program P Program P’ Test Suite T Test Suite T’ Test Suite T’ Test Suite T’ Test Suite T’ Test Suite T Obsolete Test Case Elimination Test Case Augmentation Test Case Prioritization Test Case Reduction Test Case Selection Accounts for 50% of the cost of software maintenance

Test case prioritization Definition Test case prioritization permutes a test suite Tfor execution to meet a chosen testing goal Typical testing goals Rate of code coverage Rate of fault detection Rate of requirement coverage Merits No impact on the fault detection ability
Test Case Prioritization 4 Definition Test case prioritization permutes a test suite T for execution to meet a chosen testing goal. Typical testing goals Rate of code coverage Rate of fault detection Rate of requirement coverage Merits No impact on the fault detection ability

Coverage-based Test Case Prioritization Technique Total-statement/function/branch Highest code coverage first Resolve tie-case randomly Additional-statement/function/branch Additional highest code coverage first Reset when no more coverage can be achieved Resolve tie-case randomly Disadvantages Hard to scale to larger programs
Coverage-based Test Case Prioritization Technique 5 Total-statement/function/branch Highest code coverage first Resolve tie-case randomly Additional-statement/function/branch Additional highest code coverage first Reset when no more coverage can be achieved Resolve tie-case randomly Disadvantages Hard to scale to larger programs

Contents Background Motivation Adaptive Random Test case prioritization )Experiments and results analysis Related Works Conclusion Future work
Contents 6 Background Motivation Adaptive Random Test Case Prioritization Experiments and Results Analysis Related Works Conclusion & Future work

Problem With Total Techniques GREP FLEX 1100 80 Elbaum et al.@ TSE 2002
Problem With Total Techniques 7 GREP FLEX Elbaum et al. @ TSE 2002 APFD

Problem With Total(greedy) Techniques GREP FLEX 1100 0800 Total strategy may NOT be effective for real-life program Elbaum et al.@ TSE 2002
Problem With Total(greedy) Techniques 8 GREP FLEX Total strategy may NOT be effective for real-life program Elbaum et al. @ TSE 2002 APFD

Problems with Additional Techniques Random Random Additional Additional Tota Total Siemens Sie me ns Unix Siemens Unix
Problems with Additional Techniques 9 1 2 3 4 5 6 0 5 10 15 20 25 30 35 40 45 Time Used for Prioritization Random Siemens Random Unix Additional Siemens Additional Unix Total Siemens Total Unix

Problems with Additional Techniques Additional Techniques may not be efficient for real-life programs Random Random Additional Additional Tota Total Siemens Sie me ns Unix Siemens Unix 10
Problems with Additional Techniques 10 1 2 3 4 5 6 0 5 10 15 20 25 30 35 40 45 Time Used for Prioritization Random Siemens Random Unix Additional Siemens Additional Unix Total Siemens Total Unix Additional Techniques may NOT be efficient for real-life programs
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 《单片机原理及接口技术》课程教学资源(PPT课件)第7章 AT89C51单片机系统扩展 7.4 数据存储器的扩展 7.5 I/O口的扩展.ppt
- 《计算机组装与维护》课程教学资源(PPT课件讲稿)第16章 常见计算机故障解决案例.ppt
- 《计算机组装与维护》课程教学资源(PPT讲稿)第九章 计算机软件维护.ppt
- 对外经济贸易大学:《电子商务概论 Electronic Commerce》课程教学资源(PPT课件讲稿)第八章 电子支付与网络银行.pptx
- 西安电子科技大学:《Mobile Programming》课程PPT教学课件(Android Programming)Lecture 04 Activity, Intent and UI.pptx
- 中国科学技术大学:《网络信息安全 NETWORK SECURITY》课程教学资源(PPT课件讲稿)第九章 网络攻击.ppt
- 《面向对象建模技术》课程教学资源(PPT课件讲稿)第11章 UML与RUP.ppt
- 上海交通大学:IT项目管理(PPT讲稿)讲座5 目标、范围管理与需求工程.ppt
- 南京大学:《面向对象技术 OOT》课程教学资源(PPT课件讲稿)设计模式 Design Patterns(1).ppt
- 《算法分析与设计》课程教学资源(PPT课件讲稿)第六章 基本检索与周游方法(一般方法).ppt
- 《面向对象技术》课程教学大纲 Technology of Object-Oriented Programming.doc
- 厦门大学:Web技术(PPT课件讲稿)网站快速开发 & Web前端技术.ppt
- 机械工业出版社:国家“十一五”规划教材《数据库原理与应用教程》教学资源(PPT课件,第3版)第4章 数据操作.ppt
- 《高级语言程序设计》课程教学资源(试卷习题)试题二(无答案).doc
- 《Photoshop教程》教学资源(PPT课件)第6章 Photoshop的绘图工具.ppt
- 《计算机网络》课程教学大纲 Computer Networks.pdf
- 《VB程序设计》课程教学资源(PPT课件讲稿)第二章 VB语言基础.ppt
- 西安电子科技大学:《现代密码学》课程教学资源(PPT课件讲稿)第一章 绪论(主讲:董庆宽).pptx
- 可信计算 Trusted Computing(PPT讲稿)TSS - TCG Software Stack.ppt
- 《Web网站设计与开发》课程教学资源(PPT课件讲稿)第10章 Java Web实用开发技术.ppt
- 哈尔滨工业大学:词义消歧(PPT讲稿)Word sense disambiguation.ppt
- 大连工业大学:《数据结构》课程教学资源(PPT课件讲稿,共十章,路莹).pps
- 清华大学出版社:《计算机网络安全与应用技术》课程教学资源(PPT课件讲稿)第6章 黑客原理与防范措施.ppt
- 中国科学技术大学:《信息论与编码技术》课程教学资源(PPT课件讲稿)第2章 离散信源及其信息测度.pptx
- 《数字图像处理》课程教学资源(PPT课件)第七章 图像分割.ppt
- Detecting Evasion Attack at High Speed without Reassembly.ppt
- 南京大学:《面向对象技术 OOT》课程教学资源(PPT课件讲稿)类和对象 Class and Object.ppt
- 《数字图像处理》课程教学资源(PPT课件)第五章 代数运算.ppt
- 《高级语言程序设计》课程教学资源(试卷习题)试题三(无答案).doc
- 东南大学:《操作系统概念 Operating System Concepts》课程教学资源(PPT课件讲稿)08 Main Memory(主讲:张柏礼).ppt
- 中国科学技术大学:《高级操作系统 Advanced Operating System》课程教学资源(PPT课件讲稿)第四章 分布式进程和处理机管理.ppt
- Network Alignment(PPT讲稿)Treating Networks as Wireless Interference Channel.pptx
- 虚拟存储(PPT课件讲稿)Virtual Memory.ppt
- 《计算机组成原理》课程教学资源(PPT课件讲稿)第二章 电子计算机中信息的表示及其运算.ppt
- 中国科学技术大学:《算法设计与分析》课程教学资源(PPT课件讲稿)第一部分 概率算法(黄刘生).ppt
- 《程序设计语言原理》课程教学资源(PPT课件讲稿)形式语义学 Formal Semantics.ppt
- MSC Software Corporation:Dynamic System Modeling, Simulation, and Analysis Using MSC.EASY5(Advanced Class).ppt
- SVM原理与应用(PPT讲稿).pptx
- 安徽理工大学:《汇编语言》课程教学资源(PPT课件讲稿)第二章 80x86计算机组织.ppt
- 南京大学:《面向对象技术 OOT》课程教学资源(PPT课件讲稿)设计模式 Design Pattern(3).ppt