arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 1902.00231cs.SE
收藏

AMOGA:一种面向移动应用测试的静态-动态模型生成策略

AMOGA: A Static-Dynamic Model Generation Strategy for Mobile Apps Testing

Ibrahim-Anka Salihu, Rosziati Ibrahim, Bestoun S. Ahmed, Kamal Z. Zamli, Asmau Usman

摘要:

在过去的几年里,移动设备已经越来越多地取代传统计算机,因为它们的能力,如CPU计算,内存,RAM大小等等,正在增强到几乎与传统计算机相当的水平。移动应用程序开发人员正在利用这些功能来制作提供更多功能和优化性能的应用程序。为了确保可接受的质量并满足其规格(例如,设计),移动应用程序需要进行彻底的测试。由于测试过程通常是单调乏味的,测试自动化可能是减轻这种费力活动的关键。在基于Android的移动应用程序的背景下,研究人员和从业者提出了许多方法来自动化测试过程,主要是在测试套件的创建上。虽然有用,但大多数现有方法依赖于对被测应用程序的模型进行逆向工程以创建测试用例。通常,由于逆向工程方法的不完整性,应用程序模型不能广泛地捕获应用程序的动态行为,因此这种方法表现出缺乏全面性。为了解决这个问题,本文提出了AMOGA,一种策略,使用一种混合的,静态-动态的方法来生成用户界面模型从移动应用程序的基于模型的测试。AMOGA实现了一种新颖的爬行技术,该技术使用与每个事件相关联的UI元素的事件列表来在运行时动态地执行事件排序以探索应用程序的行为。实验评估的结果表明,AMOGA代表了一种基于模型的移动应用程序测试的替代方法,通过生成全面的模型来提高应用程序的覆盖率。

英文摘要:

In the past few years, mobile devices have been increasingly replacing traditional computers as their capabilities such as CPU computation, memory, RAM size, and many more, are being enhanced almost to the level of conventional computers. These capabilities are being exploited by mobile apps developers to produce apps that offer more functionalities and optimized performance. To ensure acceptable quality and to meet their specifications (e.g., design), mobile apps need to be tested thoroughly. As the testing process is often tedious, test automation can be the key to alleviating such laborious activities. In the context of the Android-based mobile apps, researchers and practitioners have proposed many approaches to automate the testing process mainly on the creation of the test suite. Although useful, most existing approaches rely on reverse engineering a model of the application under test for test case creation. Often, such approaches exhibit a lack of comprehensiveness as the application model does not capture the dynamic behavior of the applications extensively due to the incompleteness of reverse engineering approaches. To address this issue, this paper proposes AMOGA, a strategy that uses a hybrid, static-dynamic approach for generating user interface model from mobile apps for model-based testing. AMOGA implements a novel crawling technique that uses the event list of UI element associated with each event to dynamically exercise the events ordering at the run-time to explore the applications' behavior. Results of the experimental assessment showed that AMOGA represents an alternative approach for model-based testing of mobile apps by generating comprehensive models to improve the coverage of the applications.

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

↑