Domenico Amalfitano, Nicola Amatucci, A. R. Fasolino, U. Gentile, Gianluca Mele, Roberto Nardone, V. Vittorini, S. Marrone
{"title":"Improving code coverage in android apps testing by exploiting patterns and automatic test case generation","authors":"Domenico Amalfitano, Nicola Amatucci, A. R. Fasolino, U. Gentile, Gianluca Mele, Roberto Nardone, V. Vittorini, S. Marrone","doi":"10.1145/2647648.2656426","DOIUrl":null,"url":null,"abstract":"This work aims at defining a procedure and a set of mechanisms able to improve the quality of the code coverage in automated software reverse engineering processes, and specifically in automated GUI-driven testing of Android apps. Existing automated model-based testing techniques, based on reverse engineering, generate test cases which can be executed directly on the software's GUI. We propose to augment the code coverage of these techniques, by exploiting information from patterns, defined at different levels (application design, state-based model, interaction with Android services), and generating additional test cases that may increase the coverage capability of GUI-Ripping based testing technique. The generation of the additional test cases is accomplished by defining an automatable procedure which exploits an existing GUI testing approach and a pattern based approach used in a different context.","PeriodicalId":196566,"journal":{"name":"Proceedings of the 2014 international workshop on Long-term industrial collaboration on software engineering","volume":"52 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-09-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"8","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2014 international workshop on Long-term industrial collaboration on software engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2647648.2656426","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 8
Abstract
This work aims at defining a procedure and a set of mechanisms able to improve the quality of the code coverage in automated software reverse engineering processes, and specifically in automated GUI-driven testing of Android apps. Existing automated model-based testing techniques, based on reverse engineering, generate test cases which can be executed directly on the software's GUI. We propose to augment the code coverage of these techniques, by exploiting information from patterns, defined at different levels (application design, state-based model, interaction with Android services), and generating additional test cases that may increase the coverage capability of GUI-Ripping based testing technique. The generation of the additional test cases is accomplished by defining an automatable procedure which exploits an existing GUI testing approach and a pattern based approach used in a different context.