Reinforcement Learning for Android GUI Testing

被引:59
作者
Adamo, David [1 ]
Khan, Md Khorrom [2 ]
Koppula, Sreedevi [2 ]
Bryce, Renee [2 ]
机构
[1] Ultimate Software Grp Inc, Weston, FL 33326 USA
[2] Univ North Texas, Denton, TX 76207 USA
来源
PROCEEDINGS OF THE 9TH ACM SIGSOFT INTERNATIONAL WORKSHOP ON AUTOMATING TEST CASE DESIGN, SELECTION, AND EVALUATION (A-TEST '18) | 2018年
关键词
GUI Testing; Mobile application testing; Android; Q-learning;
D O I
10.1145/3278186.3278187
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This paper presents a reinforcement learning approach to automated GUI testing of Android apps. We use a test generation algorithm based on Q-learning to systematically select events and explore the GUI of an application under test without requiring a preexisting abstract model. We empirically evaluate the algorithm on eight Android applications and find that the proposed approach generates test suites that achieve between 3.31% to 18.83% better block-level code coverage than random test generation.
引用
收藏
页码:2 / 8
页数:7
相关论文
共 28 条
[1]   Combinatorial-based event sequence testing of Android applications [J].
Adamo, David ;
Nurmuradov, Dmitry ;
Piparia, Shraddha ;
Bryce, Renee .
INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 99 :98-117
[2]  
Adamo David, 2018, INFORM TECHNOLOGY NE, P571
[3]  
Amalfitano D, 2012, IEEE INT CONF AUTOM, P258, DOI 10.1145/2351676.2351717
[4]  
Android Open Source Project, 2018, ANDR UI APPL EX MONK
[5]  
Android Open Source Project, 2018, UIAUTOMATOR
[6]  
[Anonymous], 2015, Reinforcement Learning: An Introduction
[7]   A Practical Guide for Using Statistical Tests to Assess Randomized Algorithms in Software Engineering [J].
Arcuri, Andrea ;
Briand, Lionel .
2011 33RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2011, :1-10
[8]   Comparing model-based and dynamic event-extraction based GUI testing techniques: An empirical study [J].
Bae, Gigon ;
Rothermel, Gregg ;
Bae, Doo-Hwan .
JOURNAL OF SYSTEMS AND SOFTWARE, 2014, 97 :15-46
[9]  
Baek YM, 2016, IEEE INT CONF AUTOM, P238, DOI [10.1145/2970276.2970313, 10.1145/2970276.2970310]
[10]  
Bauersfeld S., 2014, SATTOSE, P60