基于用户意图的可变移动应用自动化功能测试
Automated Functional Testing for Malleable Mobile Application Driven from User Intent
AI总结:
本文提出ALADDIN框架,通过用户需求驱动生成GUI测试,验证用户指定功能的正确性,展示了在六个移动应用上的有效性,推动移动开发向用户驱动模式转变。
摘要:
软件可变性允许应用程序在部署后容易更改、配置和适应。尽管先前工作探讨了可配置系统、自适应推荐系统和可变GUI,但这些方法通常针对特定软件,缺乏通用性。本文提出基于用户需求的可变移动应用,用户可指定需求并通过LLM生成代码实现。然而,实现这一愿景需要解决自动化测试生成的关键挑战,即可靠验证用户指定功能的存在和正确性。我们提出ALADDIN框架,通过逐步导航UI、触发所需功能并构建LLM引导的或acles来验证正确性。我们构建了一个涵盖六个流行移动应用的基准测试,包含正确和故障的用户请求功能,证明ALADDIN有效验证用户功能并适用于实际部署。我们的工作强调了将移动应用开发从产品经理驱动模式转向用户驱动模式的可行性。
英文摘要:
Software malleability allows applications to be easily changed, configured, and adapted even after deployment. While prior work has explored configurable systems, adaptive recommender systems, and malleable GUIs, these approaches are often tailored to specific software and lack generalizability. In this work, we envision per-user malleable mobile applications, where end-users can specify requirements that are automatically implemented via LLM-based code generation. However, realizing this vision requires overcoming the key challenge of designing automated test generation that can reliably verify both the presence and correctness of user-specified functionalities. We propose ALADDIN, a user-requirement-driven GUI test generation framework that incrementally navigates the UI, triggers desired functionalities, and constructs LLM-guided oracles to validate correctness. We build a benchmark spanning six popular mobile applications with both correct and faulty user-requested functionalities, demonstrating that ALADDIN effectively validates per-user features and is practical for real-world deployment. Our work highlights the feasibility of shifting mobile app development from a product-manager-driven to an end-user-driven paradigm.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。