paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Multiple-entry testing of Android applications by constructing activity launching contexts

通过构建 Activity 启动上下文对 Android 应用进行多入口测试
ICSE Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering2020匹配度 1/10 · 该论文属于Android GUI测试与软件测试领域,核心是通过构建Activity启动上下文实现多入口测试,与用户研究画像关注的PL与AI/LLM交叉、浮点程序分析、贝叶斯程序分析等方向基本无关。引用 33 inbox
Jiwei Yan, Hao Liu, Linjie Pan, Jun Yan, Jian Zhang, Bin Liang
crossref: 2026-09-12

AI 速览

一句话:提出通过构建 Activity 启动上下文实现 Android 应用多入口 GUI 测试,以覆盖单入口难以到达的边缘 Activity。

现有 Android 应用 GUI 测试通常从单一入口出发,导致距离默认入口较远的边缘 Activity 难以被覆盖:它们可能需要大量 Activity 跳转或复杂用户操作才能启动,从而造成 Activity 组件覆盖不均。同时,GUI 程序测试空间无限,单入口方法难以在完整启动上下文下测试 Activity。本文提出多入口测试思路,通过构造 Activity 的启动上下文来直接触达这些边缘组件,从而绕过冗长且复杂的入口路径,提升对 Activity 组件的覆盖能力,并缓解启动上下文不完整的问题。

问题
单入口 GUI 测试难以覆盖距离默认入口远、需要大量跳转或复杂用户操作的边缘 Activity,且 GUI 测试空间无限,难以在完整启动上下文下测试 Activity。
方法
提出多入口测试方法,通过构造 Activity 的启动上下文来启动目标 Activity 并进行测试。
评估
摘要未给出具体评估方式与实验结果;从摘要可知其面向 Android 应用 GUI 测试场景。
原文摘要(Abstract)

Existing GUI testing approaches of Android apps usually test apps from a single entry. In this way, the marginal activities far away from the default entry are difficult to be covered. The marginal activities may fail to be launched due to requiring a great number of activity transitions or involving complex user operations, leading to uneven coverage on activity components. Besides, since the test space of GUI programs is infinite, it is difficult to test activities under complete launching contexts using single-entry testing approaches.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot5608,
  title = {Multiple-entry testing of Android applications by constructing activity launching contexts},
  author = {Jiwei Yan and Hao Liu and Linjie Pan and Jun Yan and Jian Zhang and Bin Liang},
  booktitle = {ICSE},
  year = {2020},
  doi = {10.1145/3377811.3380347}
}