论文标题

引导虫点:通过提示动作协助对Android应用的手动GUI测试

Guided Bug Crush: Assist Manual GUI Testing of Android Apps via Hint Moves

论文作者

Liu, Zhe, Chen, Chunyang, Wang, Junjie, Huang, Yuekai, Hu, Jun, Wang, Qing

论文摘要

移动应用程序对于人们的日常生活是必不可少的。与自动GUI测试相辅相成,手动测试是应用质量的最后防御线。但是,重复的动作和易于缺少功能,使手动测试耗时且效率低下。受到玩家提示的提示,我们提出了一种名为Navidroid的方法,该方法是受到游戏糖果的启发。在NAVIDORID中,我们构建了一个丰富的状态过渡图,其触发动作作为两个相关状态的边缘。基于它,我们利用动态编程算法来计划探索路径,并使用可视化的提示来增强GUI的测试人员,以快速探索未经测试的活动并避免重复的探索。自动化的实验证明了Navidroid的高覆盖范围和有效的路径计划,用户研究进一步证实了其有用性。 NAVIDORID可以帮助我们开发更健壮的软件,该软件在更重要的任务环境中起作用,不仅是通过以前所做的相同的努力进行更彻底的测试,而且还通过将这些技术集成到开发管道的不同部分中。

Mobile apps are indispensable for people's daily life. Complementing with automated GUI testing, manual testing is the last line of defence for app quality. However, the repeated actions and easily missing of functionalities make manual testing time-consuming and inefficient. Inspired by the game candy crush with flashy candies as hint moves for players, we propose an approach named NaviDroid for navigating testers via highlighted next operations for more effective and efficient testing. Within NaviDroid, we construct an enriched state transition graph with the triggering actions as the edges for two involved states. Based on it, we utilize the dynamic programming algorithm to plan the exploration path, and augment the GUI with visualized hints for testers to quickly explore untested activities and avoid duplicate explorations. The automated experiments demonstrate the high coverage and efficient path planning of NaviDroid and a user study further confirms its usefulness. The NaviDroid can help us develop more robust software that works in more mission-critical settings, not only by performing more thorough testing with the same effort that has been put in before, but also by integrating these techniques into different parts of development pipeline.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源