CydiOS: A Model-Based Testing Framework for iOS Apps
Shuohan Wu, Jianfeng Li, Hao Zhou, Yongsheng Fang, Kaifa Zhao, Haoyu Wang, Chenxiong Qian, Xiapu Luo
Abstract
To make an app stand out in an increasingly competitive market, developers must ensure its quality to deliver a better user experience. UI testing is a popular technique for quality assurance, which can thoroughly test the app from the users' perspective. However, while considerable research has already studied UI testing on the Android platform, there is no research on iOS. This paper introduces CydiOS, a novel approach to performing model-based testing for iOS apps. CydiOS enhances the existing static analysis to build a more complete static model for the app under test. We propose an approach to retrieve runtime information to obtain real-time app context that can be mapped in the model. To improve the effectiveness of UI testing, we also introduce a potential-aware search algorithm to guide testing execution. We compare CydiOS with four representative algorithms(i.e., random, depth-first, stoat, and ape). We have evaluated CydiOS on 50 popular apps from App Store, and the results show that CydiOS outperforms other tools, achieving both higher code coverage and screen coverage. We will open source CydiOS at https://github.com/SoftWare2022Testing/CydiOS , and a demo video can be found at https://www.youtube.com/shorts/VeZpY92Fno4 .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 38f38ac8-8f9c-4b28-9c65-06275f8680fcCited by top-tier papers2
- Beyond Manual Modeling: Automating GUI Model Generation Using Design DocumentsShaoheng Cao, Renyi Chen, Minxue Pan, Wenhua Yang et al.ASE 2024 · 1 citation
- iLand: An Instruction-Level Dynamic Binary Instrumentation Framework for iOSKaitao Xie, Yizhuo Wang, Xiaolong BaiOSDI 2026
Builds on5
- Reinforcement learning based curiosity-driven testing of Android applicationsMinxue Pan, An Huang, Guoxin Wang, Tian Zhang et al.ISSTA 2020 · 166 citations
- Following Devil's Footprints: Cross-Platform Analysis of Potentially Harmful Libraries on Android and iOSKai Chen, Xueqiang Wang, Yi Chen, Peng Wang et al.S&P 2016 · 111 citations
- UI Test Migration Across Mobile PlatformsSaghar Talebipour, Yixue Zhao, Luka Dojcilovic, Chenggang Li et al.ASE 2021 · 30 citations
- Understanding iOS-based Crowdturfing Through Hidden UI AnalysisYeonjoon Lee, Xueqiang Wang, Kwangwuk Lee, Xiaojing Liao et al.USENIX Security 2019 · 17 citations
- PROMAL: Precise Window Transition Graphs for Android via Synergy of Program Analysis and Machine LearningChanglin Liu, Hanlin Wang, Tianming Liu, Diandian Gu et al.ICSE 2022 · 8 citations
Related papers
- Badge: Prioritizing UI Events with Hierarchical Multi-Armed Bandits for Automated UI TestingDezhi Ran, Hao Wang, Wenyu Wang, Tao XieICSE 2023 · 9 citations
- WhisperTest: A Voice-Control-based Library for iOS UI AutomationZahra Moti, Tom Janssen-Groesbeek, Steven Monteiro, Andrea Continella et al.CCS 2025
- Layout and Image Recognition Driving Cross-Platform Automated Mobile TestingShengcheng Yu, Chunrong Fang, Yexiao Yun, Yang FengICSE 2021 · 40 citations
- Scene-Driven Exploration and GUI Modeling for Android AppsXiangyu Zhang, Lingling Fan, Sen Chen, Yucheng Su et al.ASE 2023 · 14 citations
- ComboDroid: generating high-quality test inputs for Android apps via use case combinationsJue Wang, Yanyan Jiang, Chang Xu, Chun Cao et al.ICSE 2020 · 61 citations
