TY - GEN
T1 - Energy-aware test-suite minimization for Android apps
AU - Jabbarvand, Reyhaneh
AU - Sadeghi, Alireza
AU - Bagheri, Hamid
AU - Malek, Sam
N1 - Funding Information:
This work was supported in part by awards CCF-1252644 from the National Science Foundation, D11AP00282 from the Defense Advanced Research Projects Agency, W911NF-09-1-0273 from the Army Research Office, HSHQDC-14-C-B0040 from the Department of Homeland Security, and FA95501610030 from the Air Force Office of Scientific Research.
Publisher Copyright:
© 2016 ACM.
Copyright:
Copyright 2017 Elsevier B.V., All rights reserved.
PY - 2016/7/18
Y1 - 2016/7/18
N2 - The rising popularity of mobile apps deployed on battery-constrained devices has motivated the need for effective energy-aware testing techniques. Energy testing is generally more labor intensive and expensive than functional testing, as tests need to be executed in the deployment environment and specialized equipment needs to be used to collect energy measurements. Currently, there is a dearth of automatic mobile testing techniques that consider energy as a program property of interest. This paper presents an energy-aware test-suite minimization approach to significantly reduce the number of tests needed to effectively test the energy properties of an Android app. It relies on an energy-aware coverage criterion that indicates the degree to which energy-greedy segments of a program are tested. We describe and evaluate two complementary algorithms for test-suite minimization. Experiments over test suites provided for real-world apps have corroborated our ability to reduce the test suite size by 84% on average, while maintaining the effectiveness of test suite in revealing the great majority of energy bugs.
AB - The rising popularity of mobile apps deployed on battery-constrained devices has motivated the need for effective energy-aware testing techniques. Energy testing is generally more labor intensive and expensive than functional testing, as tests need to be executed in the deployment environment and specialized equipment needs to be used to collect energy measurements. Currently, there is a dearth of automatic mobile testing techniques that consider energy as a program property of interest. This paper presents an energy-aware test-suite minimization approach to significantly reduce the number of tests needed to effectively test the energy properties of an Android app. It relies on an energy-aware coverage criterion that indicates the degree to which energy-greedy segments of a program are tested. We describe and evaluate two complementary algorithms for test-suite minimization. Experiments over test suites provided for real-world apps have corroborated our ability to reduce the test suite size by 84% on average, while maintaining the effectiveness of test suite in revealing the great majority of energy bugs.
KW - Android
KW - Coverage criterion
KW - Green software engineering
KW - Test-suite minimization
UR - http://www.scopus.com/inward/record.url?scp=84984889752&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=84984889752&partnerID=8YFLogxK
U2 - 10.1145/2931037.2931067
DO - 10.1145/2931037.2931067
M3 - Conference contribution
AN - SCOPUS:84984889752
T3 - ISSTA 2016 - Proceedings of the 25th International Symposium on Software Testing and Analysis
SP - 425
EP - 436
BT - ISSTA 2016 - Proceedings of the 25th International Symposium on Software Testing and Analysis
A2 - Roychoudhury, Abhik
A2 - Zeller, Andreas
PB - Association for Computing Machinery, Inc
T2 - 25th International Symposium on Software Testing and Analysis, ISSTA 2016
Y2 - 18 July 2016 through 20 July 2016
ER -