首页 | 本学科首页   官方微博 | 高级检索  
     

基于事件处理函数的GUI测试用例集约简技术
引用本文:陈军成,薛云志,陶秋铭,赵琛.基于事件处理函数的GUI测试用例集约简技术[J].软件学报,2015,26(8):1871-1885.
作者姓名:陈军成  薛云志  陶秋铭  赵琛
作者单位:中国科学院 软件研究所 基础软件测评实验室, 北京 100190;基础软件国家工程研究中心(中国科学院 软件研究所), 北京 100190;中国科学院大学, 北京 100049,中国科学院 软件研究所 基础软件测评实验室, 北京 100190;基础软件国家工程研究中心(中国科学院 软件研究所), 北京 100190,中国科学院 软件研究所 基础软件测评实验室, 北京 100190;基础软件国家工程研究中心(中国科学院 软件研究所), 北京 100190,中国科学院 软件研究所 基础软件测评实验室, 北京 100190;基础软件国家工程研究中心(中国科学院 软件研究所), 北京 100190
基金项目:国家自然科学基金(61100067, 61100070); 国家重大科技专项(2012ZX01039-004)
摘    要:GUI测试用例集约简是降低GUI软件测试成本的有效手段.GUI软件的消息循环机制以及事件驱动特性,导致传统的基于控制流和数据流的测试用例集约简技术难以直接应用于GUI测试用例集约简.如何在尽可能保持原有测试用例集缺陷发现能力的基础上,尽可能地降低GUI测试用例集规模,是GUI测试用例集约简的一个挑战.以事件处理函数为核心,结合控制流和数据流技术,根据事件处理函数代码结构特征以及事件处理函数之间的数据依赖关系定义测试冗余规则,制定并实现了3种测试用例集约简技术.实验结果表明:与已有技术相比,其中两种根据事件处理函数之间的数据依赖关系制定的测试用例集约简技术达到了较好的约简效果.

关 键 词:GUI测试用例  测试用例集约简  事件处理函数  定义-引用  冗余测试用例
收稿时间:2014/5/20 0:00:00
修稿时间:2014/8/24 0:00:00

GUI Test Suite Reduction Techniques Based on Event Handler Functions
CHEN Jun-Cheng,XUE Yun-Zhi,TAO Qiu-Ming and ZHAO Chen.GUI Test Suite Reduction Techniques Based on Event Handler Functions[J].Journal of Software,2015,26(8):1871-1885.
Authors:CHEN Jun-Cheng  XUE Yun-Zhi  TAO Qiu-Ming and ZHAO Chen
Affiliation:Laboratory of Fundamental Software Testing and Evaluation, Institute of Software, The Chinese Academy of Sciences, Beijing 100190, China;National Engineering Research Center for Fundamental Software (Institute of Software, The Chinese Academy of Sciences), Beijing 100190, China;University of Chinese Academy of Sciences, Beijing 100049, China,Laboratory of Fundamental Software Testing and Evaluation, Institute of Software, The Chinese Academy of Sciences, Beijing 100190, China;National Engineering Research Center for Fundamental Software (Institute of Software, The Chinese Academy of Sciences), Beijing 100190, China,Laboratory of Fundamental Software Testing and Evaluation, Institute of Software, The Chinese Academy of Sciences, Beijing 100190, China;National Engineering Research Center for Fundamental Software (Institute of Software, The Chinese Academy of Sciences), Beijing 100190, China and Laboratory of Fundamental Software Testing and Evaluation, Institute of Software, The Chinese Academy of Sciences, Beijing 100190, China;National Engineering Research Center for Fundamental Software (Institute of Software, The Chinese Academy of Sciences), Beijing 100190, China
Abstract:GUI test suite reduction is an effective approach to reduce test cost. Due to the mechanics of message loop and the event- driven characteristic of GUI software, it is difficult to directly apply traditional test suite reduction techniques, such as control-flow based technique and data-flow based technique, to GUI test suite reduction. How to eliminate more redundant test cases without loss of the ability of finding errors is still a great challenge. Combining control flow technique and data flow technique, this paper proposes three test reduction techniques based on source code structure of event handler functions and the data dependencies among them. Experimental results show that two of the techniques that based on the data dependency among event handler functions achieve good results.
Keywords:GUI test case  test suite reduction  event handler function  def-use  redundant test case
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号