Improving code coverage in android apps testing by exploiting patterns and automatic test case generation

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.
通过利用模式和自动生成测试用例来提高android应用测试中的代码覆盖率
这项工作旨在定义一个过程和一套机制,能够提高自动化软件逆向工程过程中代码覆盖的质量,特别是在Android应用程序的自动化gui驱动测试中。现有的自动化的基于模型的测试技术,基于逆向工程,生成可以直接在软件的GUI上执行的测试用例。我们建议通过利用在不同层次(应用程序设计、基于状态的模型、与Android服务的交互)定义的模式信息,并生成额外的测试用例来增加基于gui的测试技术的覆盖能力,从而增加这些技术的代码覆盖率。附加测试用例的生成是通过定义一个可自动化的过程来完成的,该过程利用了在不同上下文中使用的现有GUI测试方法和基于模式的方法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信