Domenico Amalfitano, Nicola Amatucci, A. R. Fasolino, Porfirio Tramontana, Emily Kowalczyk, A. Memon
{"title":"Exploiting the Saturation Effect in Automatic Random Testing of Android Applications","authors":"Domenico Amalfitano, Nicola Amatucci, A. R. Fasolino, Porfirio Tramontana, Emily Kowalczyk, A. Memon","doi":"10.1109/MOBILESOFT.2015.11","DOIUrl":null,"url":null,"abstract":"Monkey Fuzz Testing (MFT), a form of random testing, continues to gain popularity to test Android apps because of its ease of use. (Untrained) programmers use MFT tools to fully automatically detect certain classes of faults in apps. A challenge for these tools is the lack of a stopping criterion -- programmers currently typically stop these tools when they run out of time. In this paper, we use the notion of the Saturation Effect of an MFT tool on an app under test to define a stopping criterion, parameterized by the app's preconditions and the tool's configurations. We have implemented our approach in the Android Ripper MFT tool. We experimentally report results on 18 real Android app subjects. We show that the saturation effect is able to stop testing when test adequacy has been achieved without wasting test cycles.","PeriodicalId":131706,"journal":{"name":"2015 2nd ACM International Conference on Mobile Software Engineering and Systems","volume":"95 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-05-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"23","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 2nd ACM International Conference on Mobile Software Engineering and Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/MOBILESOFT.2015.11","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 23
Abstract
Monkey Fuzz Testing (MFT), a form of random testing, continues to gain popularity to test Android apps because of its ease of use. (Untrained) programmers use MFT tools to fully automatically detect certain classes of faults in apps. A challenge for these tools is the lack of a stopping criterion -- programmers currently typically stop these tools when they run out of time. In this paper, we use the notion of the Saturation Effect of an MFT tool on an app under test to define a stopping criterion, parameterized by the app's preconditions and the tool's configurations. We have implemented our approach in the Android Ripper MFT tool. We experimentally report results on 18 real Android app subjects. We show that the saturation effect is able to stop testing when test adequacy has been achieved without wasting test cycles.