{"title":"Generating test data for energy property in mobile applications","authors":"A. Bui, Van-Viet Nguyen, Ninh-Thuan Truong","doi":"10.1109/NICS51282.2020.9335868","DOIUrl":null,"url":null,"abstract":"In recent years, mobile software has been rapidly developing. The key requirement of mobile software is to ensure optimum power throughout its run. Unlike testing other software properties, energy testing is usually done on real devices to check actual energy consumption. As such, testers need to have optimal test data to save time and effort in testing. In this paper, we propose an approach to automatically generating test data in mobile software testing, concentrate on energy properties. The approach, firstly, builds CFGs (Control Flow Graph) from the source code of the application. We then propose algorithms to select testable paths from CFG such that the mobile applications consume more energy. Finally, test data are generated from the testable paths.","PeriodicalId":308944,"journal":{"name":"2020 7th NAFOSTED Conference on Information and Computer Science (NICS)","volume":"21 1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-11-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 7th NAFOSTED Conference on Information and Computer Science (NICS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/NICS51282.2020.9335868","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
In recent years, mobile software has been rapidly developing. The key requirement of mobile software is to ensure optimum power throughout its run. Unlike testing other software properties, energy testing is usually done on real devices to check actual energy consumption. As such, testers need to have optimal test data to save time and effort in testing. In this paper, we propose an approach to automatically generating test data in mobile software testing, concentrate on energy properties. The approach, firstly, builds CFGs (Control Flow Graph) from the source code of the application. We then propose algorithms to select testable paths from CFG such that the mobile applications consume more energy. Finally, test data are generated from the testable paths.