On the Energy Footprint of Mobile Testing Frameworks

Citation Author(s):
Luis
Cruz
University of Porto
Rui
Abreu
University of Lisbon
Submitted by:
Luis Cruz
Last updated:
Tue, 05/17/2022 - 22:17
DOI:
10.21227/kb5s-1r43
Data Format:
Link to Paper:
Links:
License:
110 Views
Categories:
Keywords:
0
0 ratings - Please login to submit your rating.

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%.
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.
Instructions: 

See more details in the GitHub repository: https://github.com/luiscruz/physalia-automators