Journal of Software:2015.26(8):1871-1885

(中国科学院 软件研究所 基础软件测评实验室, 北京 100190;基础软件国家工程研究中心(中国科学院 软件研究所), 北京 100190;中国科学院大学, 北京 100049)
GUI Test Suite Reduction Techniques Based on Event Handler Functions
CHEN Jun-Cheng,XUE Yun-Zhi,TAO Qiu-Ming,ZHAO Chen
(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)
Chart / table
Similar Articles
Article :Browse 2180   Download 2100
Received:May 20, 2014    Revised:August 24, 2014
> 中文摘要: GUI测试用例集约简是降低GUI软件测试成本的有效手段.GUI软件的消息循环机制以及事件驱动特性,导致传统的基于控制流和数据流的测试用例集约简技术难以直接应用于GUI测试用例集约简.如何在尽可能保持原有测试用例集缺陷发现能力的基础上,尽可能地降低GUI测试用例集规模,是GUI测试用例集约简的一个挑战.以事件处理函数为核心,结合控制流和数据流技术,根据事件处理函数代码结构特征以及事件处理函数之间的数据依赖关系定义测试冗余规则,制定并实现了3种测试用例集约简技术.实验结果表明:与已有技术相比,其中两种根据事件处理函数之间的数据依赖关系制定的测试用例集约简技术达到了较好的约简效果.
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.
文章编号:     中图分类号:    文献标志码:
基金项目:国家自然科学基金(61100067, 61100070); 国家重大科技专项(2012ZX01039-004) 国家自然科学基金(61100067, 61100070); 国家重大科技专项(2012ZX01039-004)
Foundation items:
Reference text:


CHEN Jun-Cheng,XUE Yun-Zhi,TAO Qiu-Ming,ZHAO Chen.GUI Test Suite Reduction Techniques Based on Event Handler Functions.Journal of Software,2015,26(8):1871-1885