论文标题

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

A Framework for In-Vivo Testing of Mobile Applications

论文作者

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

论文摘要

移动应用程序运行的生态系统高度异质且可配置。构建移动应用程序的所有层都提供了从设备和硬件到操作系统和中间软件的广泛变化的可能性,直到用户的偏好和设置。在发布应用程序之前,对所有可能的配置进行了详尽的测试。结果,该应用在特定配置下在现场执行时可能表现出不同的表现,包括错误的行为。在本文中,我们描述了一个可以实例化以支持移动应用程序内测试的框架。该框架在识别未经测试的配置时监视现场中的配置,并触发体内测试。实验结果表明,根据所使用的设备(高端与低端),通过监测引入的高架对可忽略不计(即0-6%)。体内测试执行平均需要3S:如果在屏幕锁定激活时执行,则在锁定设备之前仅引入一个小延迟。

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.

扫码加入交流群

加入微信交流群

微信交流群二维码

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