规则驱动的Android应用DFS测试技术
详细信息    查看全文 | 推荐本文 |
  • 英文篇名:Rule-driven DFS Testing Technology for Android Application
  • 作者:叶佳 ; 葛红军 ; 曹春 ; 朱晋 ; 张营
  • 英文作者:YE Jia;GE Hong-jun;CAO Chun;ZHU Jin;ZHANG Ying;Terminal Business Division,ZTE Corporation;Department of Computer Science and Technology,Nanjing University;
  • 关键词:Android测试 ; DFS ; 规则驱动 ; 测试效率 ; 覆盖率
  • 英文关键词:Android testing;;DFS;;Rule-driven;;Test efficiency;;Coverage
  • 中文刊名:JSJA
  • 英文刊名:Computer Science
  • 机构:中兴通讯股份有限公司终端事业部;南京大学计算机科学与技术系;
  • 出版日期:2018-09-15
  • 出版单位:计算机科学
  • 年:2018
  • 期:v.45
  • 基金:中兴通讯研究基金资助
  • 语种:中文;
  • 页:JSJA201809017
  • 页数:6
  • CN:09
  • ISSN:50-1075/TP
  • 分类号:106-110+125
摘要
GUI自动化测试是Android应用研究领域的重要组成部分,针对Android应用的GUI测试技术得到了广泛的研究。其中,基于DFS算法的GUI遍历测试技术得到了广泛的应用。然而,现有的DFS测试技术却仍然具有效率低下、覆盖率较低的问题。文中提出了结合外部预定义规则来驱动DFS自动化遍历的改进方法,以提高DFS自动化遍历的效率和覆盖率;基于规则驱动的改进方法实现了RDTA测试工具,进行了与Monkey以及无规则驱动下的DFS的对比实验,验证了该方法的有效性。
        Automated GUI testing is the important part of Android application research field.Several technologies for automated Android GUI testing have attracted wide attention.Testing technology based on DFS exploration has been extensively used among them.However,the existing DFS testing technology is still inefficient and has low testing coverage.This paper proposed an improved approach by driving the DFS automated exploration with external predefined rules to improve the efficiency and coverage.A testing tool called RDTA based on the proposed approach was implemented and the performance of RDTA was evaluated by comparing to Monkey and original DFS without rules.The result verifies the effectiveness of the approach.
引文
[1]DU R Y,WANG C H,HE K.Location Privacy Protection Technology on Smart Mobile Devices[J].ZTE Communications,2015,21(3):23-29.(in Chinese)杜瑞颖,王持恒,何琨.智能移动终端的位置隐私保护技术[J].中兴通讯技术,2015,21(3):23-29.
    [2]CHOUDHARY S R,GORLA A,ORSO A.Automated test input generation for android:Are we there yet?[C]∥2015 30th IEEE/ACM International Conference on Automated Software Engineering(ASE).IEEE,2015:429-440.
    [3]MACHIRY A,TAHILIANI R,NAIK M.Dynodroid:An input generation system for android apps[C]∥Proceedings of the2013 9th Joint Meeting on Foundations of Software Engineering.ACM,2013:224-234.
    [4]AMALFITANO D,FASOLINO A R,TRAMONTANA P,et al.Using GUI ripping for automated testing of Android applications[C]∥Proceedings of the 27th IEEE/ACM International Conference on Automated Software Engineering.ACM,2012:258-261.
    [5]AZIM T,NEAMTIU I.Targeted and depth-first exploration for systematic testing of android apps[C]∥ACM SIGPLAN Notices.ACM,2013:641-660.
    [6]MEMON A M,BANERJEE I,NAGARAJAN A.GUI Ripping:Reverse Engineering of Graphical User Interfaces for Testing[C]∥2003 10th Working Conference on Reverse Engineering.2003:260.
    [7]ANBUNATHAN R,BASU A.A recursive crawler algorithm to detect crash in Android application[C]∥2014IEEE International Conference on Computational Intelligence and Computing Research(ICCIC).IEEE,2014:1-4.
    [8]MAHMOOD R,MIRZAEI N,MALEK S.Evodroid:Segmented evolutionary testing of android apps[C]∥Proceedings of the22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering.ACM,2014:599-609.
    [9]MIRZAEI N,MALEK S,PSREANU C S,et al.Testing android apps through symbolic execution[J].ACM SIGSOFT Software Engineering Notes,2012,37(6):1-5.
    [10]AMALFITANO D,FASOLINO A R,TRAMONTANA P,et al.A toolset for GUI testing of Android applications[C]∥201228th IEEE International Conference on Software Maintenance(ICSM).IEEE,2012:650-653.
    [11]AMALFITANO D,FASOLINO A R,TRAMONTANA P.A gui crawling-based technique for android mobile application testing[C]∥2011IEEE Fourth International Conference on Software Testing,Verification and Validation Workshops(ICSTW).IEEE,2011:252-261.
    [12]LI X,JIANG Y,LIU Y,et al.User guided automation for testing mobile apps[C]∥2014 21st Asia-Pacific Software Engineering Conference(APSEC).IEEE,2014:27-34.
    [13]ZHANG C,XUE Y Z,CHEN J C.Design and application of Android platform-based GUI capture-replay testing tool[J].Computer Application and Software,2012,29(12):6-9.(in Chinese)张灿,薛云志,陈军成.一种基于Android平台GUI录制回放工具的设计与实现[J].计算机应用与软件,2012,29(12):6-9.
    [14]CHOI W,NECULA G,SEN K.Guided gui testing of android apps with minimal restart and approximate learning[C]∥ACM SIGPLAN Notices.ACM,2013:623-640.
    [15]ZHANG D W,GUO X,HAN Z.Security and Trusted Intelligent Mobile Terminal[J].ZTE Communications,2015,21(5):39-44.(in Chinese)张大伟,郭烜,韩臻.安全可信智能移动终端研究[J].中兴通讯技术,2015,21(5):39-44.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700