Farzaneh Azimian, Fathiyeh Faghih, M. Kargahi, S. M. Mirdehghan
{"title":"Energy Metamorphic Testing for Android Applications","authors":"Farzaneh Azimian, Fathiyeh Faghih, M. Kargahi, S. M. Mirdehghan","doi":"10.1109/PIMRCW.2019.8880814","DOIUrl":null,"url":null,"abstract":"A major requirement for portable battery-operated (IoT-related) devices is energy conservation. This concern has not been well noticed by the application developers, while many energy problems in such devices are due to programming errors. Energy testing to find energy bugs and hotspots has gained attention in the last few years, where a major challenge to do so is designing an effective test oracle. In this paper, we use the idea of metamorphic testing to tackle this problem. In metamorphic testing, the output of different scenarios are compared against each other to detect a test failure, whereas in traditional oracles, the output of each scenario is compared with an “expected” value. Applying our proposed metamorphic relations to test a number of Android applications, we found the effectiveness of our proposed approach in detection of the considered bugs and hotspots.","PeriodicalId":158659,"journal":{"name":"2019 IEEE 30th International Symposium on Personal, Indoor and Mobile Radio Communications (PIMRC Workshops)","volume":"210 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE 30th International Symposium on Personal, Indoor and Mobile Radio Communications (PIMRC Workshops)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/PIMRCW.2019.8880814","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
A major requirement for portable battery-operated (IoT-related) devices is energy conservation. This concern has not been well noticed by the application developers, while many energy problems in such devices are due to programming errors. Energy testing to find energy bugs and hotspots has gained attention in the last few years, where a major challenge to do so is designing an effective test oracle. In this paper, we use the idea of metamorphic testing to tackle this problem. In metamorphic testing, the output of different scenarios are compared against each other to detect a test failure, whereas in traditional oracles, the output of each scenario is compared with an “expected” value. Applying our proposed metamorphic relations to test a number of Android applications, we found the effectiveness of our proposed approach in detection of the considered bugs and hotspots.