paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Test Transfer Across Mobile Apps Through Semantic Mapping

通过语义映射实现移动应用间的测试迁移
ASE 2019 34th IEEE/ACM International Conference on Automated Software Engineering (ASE)2019匹配度 3/10 · 论文属于移动应用 GUI 测试与测试迁移,使用信息检索和静态/动态分析,虽涉及程序分析但未涉及 LLM/Agent、ML 程序分析、浮点程序分析或贝叶斯程序分析,与用户核心研究方向交叉有限。引用 76 inbox
Jun-Wei Lin, Reyhaneh Jabbarvand, Sam Malek
crossref: 2026-09-12

AI 速览

一句话:提出 CraftDroid,利用信息检索与静态/动态分析将已有测试用例及 oracle 迁移到功能相似的其它移动应用。

移动应用的 GUI 测试长期受限于三点:缺少上下文相关的文本输入、难以生成表达力强的测试、以及缺乏测试 oracle。为此作者提出 CraftDroid 框架,借助信息检索技术并结合静态分析与动态分析,从某个应用已有的测试套件中提取人类知识,再通过语义映射把测试用例与 oracle 迁移到功能相似的其他应用上。在真实商业 Android 应用上的评估表明,该方法在迁移 GUI 事件与 oracle 时平均达到 73% 的精确率和 90% 的召回率;同时 75% 的迁移尝试成功为同类应用中的热门功能生成了有效的、基于特性的测试,验证了跨应用测试迁移的可行性。

问题
移动应用 GUI 测试的自动生成方法普遍缺乏上下文相关的文本输入、表达力强的测试以及测试 oracle,导致测试难以复用。
方法
CraftDroid 结合信息检索与静态、动态分析,从源应用的既有测试套件中抽取语义信息,并将其测试事件与 oracle 语义映射迁移到功能相似的目标应用。
评估
在真实商业 Android 应用上评估迁移的精确率与召回率,并统计成功生成有效特性化测试的迁移尝试比例。
原文摘要(Abstract)

GUI-based testing has been primarily used to examine the functionality and usability of mobile apps. Despite the numerous GUI-based test input generation techniques proposed in the literature, these techniques are still limited by (1) lack of context-aware text inputs; (2) failing to generate expressive tests; and (3) absence of test oracles. To address these limitations, we propose CraftDroid, a framework that leverages information retrieval, along with static and dynamic analysis techniques, to extract the human knowledge from an existing test suite for one app and transfer the test cases and oracles to be used for testing other apps with the similar functionalities. Evaluation of CraftDroid on real-world commercial Android apps corroborates its effectiveness by achieving 73% precision and 90% recall on average for transferring both the GUI events and oracles. In addition, 75% of the attempted transfers successfully generated valid and feature-based tests for popular features among apps in the same category.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot5296,
  title = {Test Transfer Across Mobile Apps Through Semantic Mapping},
  author = {Jun-Wei Lin and Reyhaneh Jabbarvand and Sam Malek},
  booktitle = {ASE},
  year = {2019},
  doi = {10.1109/ase.2019.00015}
}