Report Open Access

A Framework for In-Vivo Testing of Mobile Applications

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

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.

Files (864.1 kB)
Name Size
TR-Precrime-2019-05.pdf
md5:c77638417704a672465d08df70d68dd9
864.1 kB Download
20
18
views
downloads
All versions This version
Views 2020
Downloads 1818
Data volume 15.6 MB15.6 MB
Unique views 1616
Unique downloads 1616

Share

Cite as