Context-Aware Functional Test Generation via Business Logic Extraction and Adaptation
Yakun Zhang, Zihan Wang, Xinzhi Peng, Zihao Xie, Xiaodong Wang, Xutao Li, Dan Hao, Lu Zhang, Yunming Ye

TL;DR
LogiDroid is a novel two-stage method that extracts and adapts business logic to generate functional tests for mobile apps, significantly improving testing effectiveness over existing approaches.
Contribution
The paper introduces LogiDroid, a new approach combining business logic extraction and context-aware adaptation for automated functional test generation in mobile applications.
Findings
Successfully tested 40% of requirements on FrUITeR dataset
Achieved 65% requirement testing on Lin dataset
Outperformed state-of-the-art methods by over 48% and 55% respectively
Abstract
Functional testing is essential for verifying that the business logic of mobile applications aligns with user requirements, serving as the primary methodology for quality assurance in software development. Despite its importance, functional testing remains heavily dependent on manual effort due to two core challenges. First, acquiring and reusing complex business logic from unstructured requirements remains difficult, which hinders the understanding of specific functionalities. Second, a significant semantic gap exists when adapting business logic to the diverse GUI environments, which hinders the generation of test cases for specific mobile applications. To address the preceding challenges, we propose LogiDroid, a two-stage approach that generates individual functional test cases by extracting business logic and adapting it to target applications. First, in the Knowledge Retrieval and…
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.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Advanced Software Engineering Methodologies · Software System Performance and Reliability
