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

生成AI在软件测试中的应用:当前趋势与未来方向

Generative AI in Software Testing: Current Trends and Future Directions

Ontario Tech University(安大略理工大学)

Tanish Singla, Qusay H. Mahmoud

AI总结:

本文探讨生成式AI在软件测试中的应用,分析其提升测试效率、覆盖率和可靠性的潜力,以及当前面临的挑战与未来发展方向。

摘要:

本文研究了当前的软件测试系统,并探讨了如何将人工智能,特别是生成式AI,整合进来以增强这些系统。它首先考察了不同类型的AI系统,并聚焦于生成式AI在软件测试过程中变革的潜力,通过提高测试覆盖率、增加效率和降低成本来实现。该研究提供了人工智能在软件测试中的当前应用的全面概述,强调其在测试用例生成和验证等领域的显著贡献。通过广泛的文献回顾,它突显了生成式AI如何简化这些过程,从而产生更稳健和彻底的测试结果。本文还探讨了提高生成式AI系统效率的方法,如提示工程和微调。此外,它还探索了AI在特定任务中的应用,包括输入生成、 oracle生成、数据生成、测试数据创建和测试用例优先级排序。通过分析当前的格局,并识别在整合生成式AI中的机会和挑战,本文为从业者和研究人员提供了有价值的见解和建议。它强调了持续改进和有针对性的发展努力的必要性,以克服现有障碍并充分利用AI的能力。研究结果进一步表明,通过持续创新和谨慎实施,生成式AI有潜力显著提高软件测试的效率、有效性和可靠性,特别是在快速发展的物联网测试领域。

英文摘要:

This paper investigates current software testing systems and explores how artificial intelligence, specifically Generative AI, can be integrated to enhance these systems. It begins by examining different types of AI systems and focuses on the potential of Generative AI to transform software testing processes by improving test coverage, increasing efficiency, and reducing costs. The study provides a com-prehensive overview of the current applications of AI in software testing, emphasizing its significant contributions in areas such as test case generation and validation. Through an extensive literature re-view, it highlights how Generative AI can streamline these processes, resulting in more robust and thorough testing outcomes. The paper also examines methods to improve the efficiency of Generative AI systems, such as prompt engineering and fine-tuning. Additionally, it explores the use of AI in specific tasks, including input generation, oracle generation, data generation, test data creation, and test case prioritization. By analyzing the current landscape and identifying both the opportunities and challenges in integrating Generative AI, this paper provides valuable insights and recommendations for practitioners and researchers. It underscores the need for ongoing advancements and targeted development efforts to overcome existing hurdles and fully leverage AI's capabilities. The findings further show that with continued innovation and careful implementation, Generative AI has the potential to significantly enhance the efficiency, effectiveness, and reliability of software testing, particularly in the rapidly evolving field of IoT testing.

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

↑