Multiple-entry testing of Android applications by constructing activity launching contexts
Jiwei Yan, Hao Liu, Linjie Pan, Jun Yan, Jian Zhang, Bin Liang
摘要
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. In this paper, we address these issues by constructing activity launching contexts and proposing a multiple-entry testing framework. We perform an inter-procedural, flow-, context-and pathsensitive analysis to build activity launching models and generate complete launching contexts. By activity exposing and static analysis, we could launch activities directly under various contexts without performing long event sequence on GUI. Besides, to achieve an in-depth exploration, we design an adaptive exploration framework which supports the multiple-entry exploration and dynamically assigns weights to entries in each turn.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper9
- Guided Bug Crush: Assist Manual GUI Testing of Android Apps via Hint MovesZhe Liu, Chunyang Chen, Junjie Wang, Yuekai Huang 等CHI 2022 · 38 次引用
- NCScope: hardware-assisted analyzer for native code in Android appsHao Zhou, Shuohan Wu, Xiapu Luo, Ting Wang 等ISSTA 2022 · 16 次引用
- A Comprehensive Evaluation of Android ICC Resolution TechniquesJiwei Yan, Shixin Zhang, Yepang Liu, Xi Deng 等ASE 2022 · 15 次引用
- Scene-Driven Exploration and GUI Modeling for Android AppsXiangyu Zhang, Lingling Fan, Sen Chen, Yucheng Su 等ASE 2023 · 14 次引用
- Columbus: Android App Testing Through Systematic Callback ExplorationPriyanka Bose, Dipanjan Das, Saastha Vasan, Sebastiano Mariani 等ICSE 2023 · 8 次引用
相关 Paper
- Ex pede Herculem: Augmenting Activity Transition Graph for Apps via Graph Convolution NetworkZhe Liu, Chunyang Chen, Junjie Wang, Yuhui Su 等ICSE 2023 · 11 次引用
- Synthesis-Based Enhancement for GUI Test Case MigrationYakun Zhang, Qihao Zhu, Jiwei Yan, Chen Liu 等ISSTA 2024 · 3 次引用
- Mobile Application Coverage: The 30% Curse and Ways ForwardFaridah Akinotcho, Lili Wei, Julia RubinICSE 2025 · 3 次引用
- Automata-Based Trace Analysis for Aiding Diagnosing GUI Testing Tools for AndroidEnze Ma, Shan Huang, Weigang He, Ting Su 等FSE 2023 · 3 次引用
- Vet: identifying and avoiding UI exploration tarpitsWenyu Wang, Wei Yang, Tianyin Xu, Tao XieFSE 2021 · 35 次引用
