Skip to main content
QUICK REVIEW

[论文解读] Artificial Intelligence in Software Testing : Impact, Problems, Challenges and Prospect

Zubair Khaliq, Sheikh Umar Farooq|arXiv (Cornell University)|Jan 14, 2022
Anomaly Detection Techniques and ApplicationsComputer Science被引用 25
一句话总结

对 AI 技术如何影响跨 STLC 的软件测试的调查,记录关键活动、技术、挑战和未来前景。

ABSTRACT

Artificial Intelligence (AI) is making a significant impact in multiple areas like medical, military, industrial, domestic, law, arts as AI is capable to perform several roles such as managing smart factories, driving autonomous vehicles, creating accurate weather forecasts, detecting cancer and personal assistants, etc. Software testing is the process of putting the software to test for some abnormal behaviour of the software. Software testing is a tedious, laborious and most time-consuming process. Automation tools have been developed that help to automate some activities of the testing process to enhance quality and timely delivery. Over time with the inclusion of continuous integration and continuous delivery (CI/CD) pipeline, automation tools are becoming less effective. The testing community is turning to AI to fill the gap as AI is able to check the code for bugs and errors without any human intervention and in a much faster way than humans. In this study, we aim to recognize the impact of AI technologies on various software testing activities or facets in the STLC. Further, the study aims to recognize and explain some of the biggest challenges software testers face while applying AI to testing. The paper also proposes some key contributions of AI in the future to the domain of software testing.

研究动机与目标

  • Identify software testing activities where AI has significantly impacted the process.
  • Summarize AI techniques most applied to software testing and their benefits.
  • Highlight major challenges testers face when applying AI in testing.
  • Propose future AI contributions and directions for the software testing domain.

提出的方法

  • Review and synthesize existing literature on AI in software testing.
  • Catalog AI techniques used for each STLC activity (e.g., test case generation, test data generation, test oracle).
  • Map AI approaches to testing outcomes and costs.
  • Discuss open problems and practical challenges in deploying AI-based testing solutions.
  • Present a consolidated view of where AI tools have yielded the most impact.

实验结果

研究问题

  • RQ1Which software testing activities show significant AI-driven improvements?
  • RQ2What AI techniques are most commonly applied to software testing, and for what purposes?
  • RQ3What are the main challenges and limitations in applying AI to software testing?
  • RQ4What future AI contributions are most promising for software testing?
  • RQ5How does AI influence testing efficiency and quality across the STLC?

主要发现

  • AI 技术在七项软件测试活动中产生了显著影响:测试用例生成、测试用例/Oracle 构建、测试数据生成、测试用例优先级排序、测试用例规格、测试用例改进,以及测试成本估算。
  • 在测试活动中,测试用例生成、测试用例优先级排序、测试数据生成和测试 Oracle 构建是 AI 驱动研究和收益最集中的领域。
  • 以优化为导向的 AI 方法(如遗传算法、人工神经网络、强化学习)在各测试活动中出现最为频繁。
  • AI 辅助测试的驱动动机在于应对日益增长的软件复杂性和交付时间压力,旨在降低时间、工作量和成本。
  • 在将 AI 应用于测试时,存在一个持续且核心的挑战,被称为测试 Oracle 问题。
  • 在测试中的 AI 应用还面临数据质量、模型泛化,以及与现有工作流的整合等实际问题。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。