On the Energy Footprint of Mobile Testing Frameworks

Journal Article (2021)
Author(s)

Luís Cruz (TU Delft - Software Engineering)

Rui Abreu (Universidade de Lisboa)

Research Group
Software Engineering
Copyright
© 2021 Luis Cruz, Rui Abreu
DOI related publication
https://doi.org/10.1109/TSE.2019.2946163
More Info
expand_more
Publication Year
2021
Language
English
Copyright
© 2021 Luis Cruz, Rui Abreu
Research Group
Software Engineering
Bibliographical Note
Green Open Access added to TU Delft Institutional Repository ‘You share, we take care!’ – Taverne project https://www.openaccess.nl/en/you-share-we-take-care Otherwise as indicated in the copyright section: the publisher is the copyright holder of this work and the author uses the Dutch legislation to make this work public. @en
Issue number
10
Volume number
47
Pages (from-to)
2260-2271
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

High energy consumption is a challenging issue that an ever increasing number of mobile applications face today. However, energy consumption is being tested in an ad hoc way, despite being an important non-functional requirement of an application. Such limitation becomes particularly disconcerting during software testing: on the one hand, developers do not really know how to measure energy; on the other hand, there is no knowledge as to what is the energy overhead imposed by the testing framework. In this paper, as we evaluate eight popular mobile UI automation frameworks, we have discovered that there are automation frameworks that increase energy consumption up to roughly 2200 percent. While limited in the interactions one can do, Espresso is the most energy efficient framework. However, depending on the needs of the tester, Appium, Monkeyrunner, or UIAutomator are good alternatives. In practice, results show that deciding which is the most suitable framework is vital. We provide a decision tree to help developers make an educated decision on which framework suits best their testing needs.

Files

On_the_Energy_Footprint_of_Mob... (pdf)
(pdf | 2.35 Mb)
- Embargo expired in 11-04-2022
License info not available