一句话:首个感知 Activity 与事件的 Android 回归选择工具,Activity 选择减少 58%、事件选择减少 74%。
Android 应用发布频繁,既要测试新功能又要回归旧功能,人工穷举测试耗时且易出错。本文提出 QADroid,这是首个同时感知 Activity 与事件的 Android 应用回归选择工具:其变更集分析器不仅覆盖代码,也覆盖非代码组件;工具还能以图形化方式呈现应用行为,并将回归点以「Activity—用户元素—事件」的映射形式展示,帮助测试人员理解技术结论。作者在 50 个开源 Android 项目的 1105 个发布版本上进行了评估,结果显示相比穷举测试全部 Activity 与事件的传统做法,QADroid 将 Activity 选择减少 58%、事件选择减少 74%,显著降低了人工测试工作量。
Popular Android applications undergo frequent releases. Ensuring functional testing of the new features, as well as regression testing of the previous functionality, are time-consuming and error-prone. Thus, there is a need for a tool that eases the testing efforts as well as saves the overall time of the product release cycle. In this work, we present QADroid, the first activity- and event-aware regression selection tool for Android apps. Salient features of QADroid are: (i) a richer change-set analyzer that covers code as well as non-code components for regression, (ii) it presents a pictorial representation of the app’s functioning, and (iii) it displays the regression points in the app as a mapping between activities to user-elements to events. Features (ii) and (iii) help the testers in understanding the technical findings better. We evaluated QADroid on 1105 releases of 50 open source Android projects. The results show that QADroid reduced the activity selection by 58% and event selection by 74% compared to the traditional way of exhaustive testing of all activities and events, thereby significantly reducing the manual testing efforts.
DOI 原文 ·
@inproceedings{paperbot5360,
title = {QADroid: regression event selection for Android applications},
author = {Aman Sharma and Rupesh Nasre},
booktitle = {ISSTA},
year = {2019},
doi = {10.1145/3293882.3330550}
}