arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.00411cs.SE
收藏

AI驱动的软件测试工具:对其特性和局限性的系统性回顾与实证评估

AI-powered software testing tools: A systematic review and empirical assessment of their features and limitations

Vahid Garousi, Nithin Joy, Zafar Jafarov, Alper Buğra Keleş, Sevde Değirmenci, Ece Özdemir, Ryan Zarringhalami

AI总结:

本研究通过系统性回顾55种AI测试自动化工具并对2种代表性工具进行实证评估,发现AI工具能提升测试效率与减少维护,但仍存在处理复杂UI变化等局限,需进一步优化。

摘要:

背景:人工智能(AI)在软件工程中的兴起推动了AI驱动的测试自动化工具的发展,这些工具承诺提高效率、减少维护工作量并增强缺陷检测能力。然而,为了理解这些工具的能力、优势和局限性,需要对其进行系统性评估。目标:本研究有两个目标:(1)对AI辅助的测试自动化工具进行系统性回顾,对其关键AI特性进行分类;(2)在两个被测软件上对选定的两种AI驱动工具进行实证研究,以调查这些工具的有效性和局限性。方法:我们对55种基于AI的测试自动化工具进行了系统性回顾,根据其AI辅助能力(如自愈测试、视觉测试和AI驱动的测试生成)对它们进行分类。在第二阶段,选择了两种代表性工具进行实证研究,我们将它们应用于测试两个开源软件系统。将它们的性能与传统测试自动化方法进行比较,以评估效率和适应性。结果:该回顾提供了AI驱动测试工具的全面分类法,突出了常见特性和趋势。实证评估表明,AI驱动的自动化提高了测试执行效率并减少了维护工作量,但也暴露了诸如处理复杂UI变化和上下文理解方面的局限性。结论:AI驱动的测试自动化工具在提高软件质量和减少人工测试工作量方面显示出巨大潜力。然而,它们当前的局限性——如误报、缺乏领域知识以及对预定义模型的依赖——表明需要进一步完善。未来的研究应专注于推进AI模型,以提高软件测试中的适应性、可靠性和鲁棒性。

英文摘要:

Context: The rise of Artificial Intelligence (AI) in software engineering has led to the development of AI-powered test automation tools, promising improved efficiency, reduced maintenance effort, and enhanced defect-detection. However, a systematic evaluation of these tools is needed to understand their capabilities, benefits, and limitations. Objective: This study has two objectives: (1) A systematic review of AI-assisted test automation tools, categorizing their key AI features; (2) an empirical study of two selected AI-powered tools on two software under test, to investigate the effectiveness and limitations of the tools. Method: A systematic review of 55 AI-based test automation tools was conducted, classifying them based on their AI-assisted capabilities such as self-healing tests, visual testing, and AI-powered test generation. In the second phase, two representative tools were selected for the empirical study, in which we applied them to test two open-source software systems. Their performance was compared with traditional test automation approaches to evaluate efficiency and adaptability. Results: The review provides a comprehensive taxonomy of AI-driven testing tools, highlighting common features and trends. The empirical evaluation demonstrates that AI-powered automation enhances test execution efficiency and reduces maintenance effort but also exposes limitations such as handling complex UI changes and contextual understanding. Conclusion: AI-driven test automation tools show strong potential in improving software quality and reducing manual testing effort. However, their current limitations-such as false positives, lack of domain knowledge, and dependency on predefined models-indicate the need for further refinement. Future research should focus on advancing AI models to improve adaptability, reliability, and robustness in software testing.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑