Energy-aware test-suite minimization for Android apps

Reyhaneh Jabbarvand, Alireza Sadeghi, Hamid Bagheri, Sam Malek

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

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.

Original languageEnglish (US)
Title of host publicationISSTA 2016 - Proceedings of the 25th International Symposium on Software Testing and Analysis
EditorsAbhik Roychoudhury, Andreas Zeller
PublisherAssociation for Computing Machinery, Inc
Pages425-436
Number of pages12
ISBN (Electronic)9781450343909
DOIs
StatePublished - Jul 18 2016
Externally publishedYes
Event25th International Symposium on Software Testing and Analysis, ISSTA 2016 - Saarbrucken, Germany
Duration: Jul 18 2016Jul 20 2016

Publication series

NameISSTA 2016 - Proceedings of the 25th International Symposium on Software Testing and Analysis

Conference

Conference25th International Symposium on Software Testing and Analysis, ISSTA 2016
Country/TerritoryGermany
CitySaarbrucken
Period7/18/167/20/16

Keywords

  • Android
  • Coverage criterion
  • Green software engineering
  • Test-suite minimization

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'Energy-aware test-suite minimization for Android apps'. Together they form a unique fingerprint.

Cite this