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

移动应用程序体内测试框架

A Framework for In-Vivo Testing of Mobile Applications

Mariano Ceccato, Davide Corradini, Luca Gazzola, Fitsum Meshesha Kifetew, Leonardo Mariani, Matteo Orrù, Paolo Tonella

摘要:

移动应用程序运行的生态系统是高度异构和可配置的。构建移动应用程序的所有层都提供了广泛的变化可能性,从设备和硬件到操作系统和中间件,再到用户偏好和设置。在发布应用程序之前,彻底测试所有可能的配置是负担不起的。因此,应用程序在特定配置下在现场执行时可能会表现出不同的行为,包括错误行为。在本文中,我们描述了一个框架,可以被实例化,以支持在体内测试的移动应用程序。该框架监测配置在现场和触发体内测试时,一个未经测试的配置被识别。实验结果表明,由监视引入的开销是不可察觉到可以忽略的(即,0-6%),取决于所使用的设备(高端与低端)。体内测试执行平均需要3秒:如果在屏幕锁定激活时执行,则在锁定器械之前仅会引入轻微延迟。

英文摘要:

The ecosystem in which mobile applications run is highly heterogeneous and configurable. All layers upon which mobile apps are built offer wide possibilities of variations, from the device and the hardware, to the operating system and middleware, up to the user preferences and settings. Testing all possible configurations exhaustively, before releasing the app, is unaffordable. As a consequence, the app may exhibit different, including faulty, behaviours when executed in the field, under specific configurations. In this paper, we describe a framework that can be instantiated to support in-vivo testing of a mobile app. The framework monitors the configuration in the field and triggers in-vivo testing when an untested configuration is recognized. Experimental results show that the overhead introduced by monitoring is unnoticeable to negligible (i.e., 0-6%) depending on the device being used (high- vs. low-end). In-vivo test execution required on average 3s: if performed upon screen lock activation, it introduces just a slight delay before locking the device.

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

↑