From Exploration to Specification: LLM-Based Property Generation for Mobile App Testing
Yiheng Xiong, Shiwen Song, Bo Ma, Ting Su, Xiaofei Xie

TL;DR
PropGen is an automated tool that generates and refines behavioral properties for Android apps, improving bug detection and testing efficiency for functional bugs that lack explicit test oracles.
Contribution
It introduces a novel, automated approach combining exploration, property synthesis, and refinement to generate valid properties for mobile app testing.
Findings
PropGen identified 1,210 functionalities and correctly executed 977.
Generated 985 properties, with 912 being valid.
Discovered 25 previously unknown functional bugs.
Abstract
Mobile apps often suffer from functional bugs that do not cause crashes but instead manifest as incorrect behaviors under specific user interactions. Such bugs are difficult to detect automatically because they often lack explicit test oracles. Property-based testing can effectively expose them by checking intended behavioral properties under diverse interactions. However, its use largely depends on manually written properties, whose construction is difficult and expensive, limiting its practical use for mobile apps. To address this limitation, we propose PropGen, an automated approach for generating properties for Android apps. However, this task is challenging for two reasons: app functionalities are often hard to systematically uncover and execute, and properties are difficult to derive accurately from observed behaviors. To this end, PropGen performs functionality-guided…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
