paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Speeding up GUI testing by on-device test generation

通过设备端测试生成加速 GUI 测试
ASE Proceedings of the 35th IEEE/ACM International Conference on Automated Software Engineering2020匹配度 1/10 · 该论文研究 Android GUI 测试生成与执行加速,属于软件测试/移动应用测试方向,未涉及用户核心关注的静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析。其设备端生成、无障碍服务等工程优化与用户研究画像交集很小。引用 2 inbox
Nataniel P. Borges, Jenny Rau, Andreas Zeller
crossref: 2026-09-12

AI 速览

一句话:提出设备端 Android GUI 测试生成器 DD-2,在设备上借无障碍服务生成交互,较跨设备方案快 3.2 倍。

在 Android 应用的 GUI 测试中,常见做法是由独立测试计算机生成交互,再发送到真实 Android 设备执行。虽然应用与交互本身执行很快,但测试计算机与设备之间的通信开销严重拖慢整体测试速度。本文提出 DD-2:一种直接在设备上运行的 Android GUI 测试生成器,它利用 Android 无障碍服务观察并操作待测应用,从而在设备本地完成交互生成与执行。DD-2 与其“计算机–设备”对照版本共享同一份源代码,便于公平比较。实验表明,DD-2 比对照方案快 3.2 倍,说明将测试生成下沉到设备端可有效消除通信瓶颈并加速 GUI 测试。

问题
跨设备 GUI 测试中,测试计算机与 Android 设备之间的通信开销拖慢测试;如何更高效地生成并执行设备端交互尚需解决。
方法
DD-2 利用 Android accessibility services 直接在设备上为其他应用生成并执行 GUI 测试,且与计算机–设备方案共享源代码。
评估
通过对比实验评估 DD-2 与其计算机–设备对照版本的性能,结果显示 DD-2 快 3.2 倍。
原文摘要(Abstract)

When generating GUI tests for Android apps, it typically is a separate test computer that generates interactions, which are then executed on an actual Android device. While this approach is efficient in the sense that apps and interactions execute quickly, the communication overhead between test computer and device slows down testing considerably. In this work, we present DD-2, a test generator for Android that tests other apps on the device using Android accessibility services. In our experiments, DD-2 has shown to be 3.2 times faster than its computer-device counterpart, while sharing the same source code.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot5919,
  title = {Speeding up GUI testing by on-device test generation},
  author = {Nataniel P. Borges and Jenny Rau and Andreas Zeller},
  booktitle = {ASE},
  year = {2020},
  doi = {10.1145/3324884.3415302}
}