Test Automation in Open-Source Android Apps: A Large-Scale Empirical Study
Jun-Wei Lin, Navid Salehnamadi, Sam Malek
Abstract
Automated testing of mobile apps has received significant attention in recent years from researchers and practitioners alike. In this paper, we report on the largest empirical study to date, aimed at understanding the test automation culture prevalent among mobile app developers. We systematically examined more than 3.5 million repositories on GitHub and identified more than 12, 000 non-trivial and real-world Android apps. We then analyzed these non-trivial apps to investigate (1) the prevalence of adoption of test automation; (2) working habits of mobile app developers in regards to automated testing; and (3) the correlation between the adoption of test automation and the popularity of projects. Among others, we found that (1) only 8% of the mobile app development projects leverage automated testing practices; (2) developers tend to follow the same test automation practices across projects; and (3) popular projects, measured in terms of the number of contributors, stars, and forks on GitHub, are more likely to adopt test automation practices. To understand the rationale behind our observations, we further conducted a survey with 148 professional and experienced developers contributing to the subject apps. Our findings shed light on the current practices and future research directions pertaining to test automation for mobile app development.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
8 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Assistive-Technology Aided Manual Accessibility Testing in Mobile Apps, Powered by Record-and-Replay cites Groundhog: An Automated Accessibility Crawler for Mobile Apps
- AXNav: Replaying Accessibility Tests from Natural Language cites Assistive-Technology Aided Manual Accessibility Testing in Mobile Apps, Powered by Record-and-Replay
- AXNav: Replaying Accessibility Tests from Natural Language cites Groundhog: An Automated Accessibility Crawler for Mobile Apps
Cited by top-tier papers8
- AXNav: Replaying Accessibility Tests from Natural LanguageMaryam Taeb, Amanda Swearngin, Eldon Schoop, Ruijia Cheng et al.CHI 2024 · 51 citations
- Groundhog: An Automated Accessibility Crawler for Mobile AppsNavid Salehnamadi, Forough Mehralian, Sam MalekASE 2022 · 23 citations
- Assistive-Technology Aided Manual Accessibility Testing in Mobile Apps, Powered by Record-and-ReplayNavid Salehnamadi, Ziyao He, Sam MalekCHI 2023 · 20 citations
- Use of Test Doubles in Android Testing: An In-Depth InvestigationMattia Fazzini, Chase Choi, Juan Manuel Copia, Gabriel Lee et al.ICSE 2022 · 19 citations
- Guardian: A Runtime Framework for LLM-Based UI ExplorationDezhi Ran, Hao Wang, Zihe Song, Mengzhou Wu et al.ISSTA 2024 · 13 citations
Related papers
- Accessibility issues in Android apps: state of affairs, sentiments, and ways forwardAbdulaziz Alshayban, Iftekhar Ahmed, Sam MalekICSE 2020 · 130 citations
- Finding 709 Defects in 258 Projects: An Experience Report on Applying CodeQL to Open-Source Embedded Software (Experience Paper)Mingjie Shen, Akul Abhilash Pillai, Brian A. Yuan, James C. Davis et al.ISSTA 2025 · 1 citation
- An Empirical Study of Functional Bugs in Android AppsYiheng Xiong, Mengqian Xu, Ting Su, Jingling Sun et al.ISSTA 2023 · 40 citations
- Practitioner Views on Mobile App Accessibility: Practices and ChallengesAmila Indika, Rick Kazman, Anthony PerumaICSE 2026
- Studying Test Annotation Maintenance in the WildDong Jae Kim, Nikolaos Tsantalis, Tse-Hsun Peter Chen, Jinqiu YangICSE 2021 · 20 citations
