arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.05233cs.SE
收藏

面向移动应用的测试适应进化方法

An Evolutionary Approach to Adapt Tests Across Mobile Apps

University of Milano Bicocca(米兰比可卡大学);Università della Svizzera italiana(瑞士意大利语联邦理工学院);Schaffhausen Institute of Technology(沙夫豪森技术学院)

Leonardo Mariani, Mauro Pezzè, Valerio Terragni, Daniele Zuddas

AI总结:

ADAPTDROID通过进化测试方法,在功能相似的Android应用间适应生成语义相关的GUI测试用例。

摘要:

自动化的GUI测试生成器往往无法生成语义相关的测试用例,从而遗漏重要的测试场景。为了解决这个问题,可以利用测试适应技术,从功能相似的应用程序的测试用例中自动生成语义丰富的GUI测试。在本文中,我们提出了ADAPTDROID,将测试适应问题视为搜索问题,并使用进化测试在相似的Android应用之间适应GUI测试(包括或acles)。在对32款流行Android应用的评估中,ADAPTDROID在20个跨应用适应场景中有11个成功适应了语义相关的测试用例。

英文摘要:

Automatic generators of GUI tests often fail to generate semantically relevant test cases, and thus miss important test scenarios. To address this issue, test adaptation techniques can be used to automatically generate semantically meaningful GUI tests from test cases of applications with similar functionalities. In this paper, we present ADAPTDROID, a technique that approaches the test adaptation problem as a search-problem, and uses evolutionary testing to adapt GUI tests (including oracles) across similar Android apps. In our evaluation with 32 popular Android apps, ADAPTDROID successfully adapted semantically relevant test cases in 11 out of 20 cross-app adaptation scenarios.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑