arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1503.07217cs.SE
收藏

Android的自动化测试输入生成:我们到了吗?

Automated Test Input Generation for Android: Are We There Yet?

Shauvik Roy Choudhary, Alessandra Gorla, Alessandro Orso

摘要:

移动应用程序,通常简称为“应用程序”,越来越普遍,我们每天都使用它们来执行许多活动。像所有软件一样,应用程序必须经过充分的测试,以确保它们的行为正确。因此,近年来,研究人员和从业人员都开始研究自动化应用程序测试的方法。特别地,由于Android的开源性质及其大的市场份额,已经对用于在Android操作系统上运行的应用的输入生成技术进行了大量研究。在这个时间点上,实际上在文献中有许多这样的技术,它们在生成输入的方式,用于探索被测应用程序行为的策略以及它们使用的特定策略方面有所不同。为了更好地了解这些现有方法的优点和缺点,并了解如何使它们更有效,在本文中,我们对Android现有的主要测试输入生成工具进行了全面的比较。在我们的比较中,我们根据四个指标评估这些工具及其相应技术的有效性:代码覆盖率,检测故障的能力,在多个平台上工作的能力和易用性。我们的研究结果为Android应用程序的输入生成提供了一个清晰的图像,并确定了未来的研究方向,如果进行适当的调查,可能会导致更有效和更高效的Android测试工具。

英文摘要:

Mobile applications, often simply called "apps", are increasingly widespread, and we use them daily to perform a number of activities. Like all software, apps must be adequately tested to gain confidence that they behave correctly. Therefore, in recent years, researchers and practitioners alike have begun to investigate ways to automate apps testing. In particular, because of Android's open source nature and its large share of the market, a great deal of research has been performed on input generation techniques for apps that run on the Android operating systems. At this point in time, there are in fact a number of such techniques in the literature, which differ in the way they generate inputs, the strategy they use to explore the behavior of the app under test, and the specific heuristics they use. To better understand the strengths and weaknesses of these existing approaches, and get general insight on ways they could be made more effective, in this paper we perform a thorough comparison of the main existing test input generation tools for Android. In our comparison, we evaluate the effectiveness of these tools, and their corresponding techniques, according to four metrics: code coverage, ability to detect faults, ability to work on multiple platforms, and ease of use. Our results provide a clear picture of the state of the art in input generation for Android apps and identify future research directions that, if suitably investigated, could lead to more effective and efficient testing tools for Android.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑