Skip to main content
QUICK REVIEW

[论文解读] NLP-assisted software testing: a systematic review

Vahid Garousi, Sara Bauer|arXiv (Cornell University)|Jun 2, 2018
Software Engineering ResearchComputer Science被引用 4
一句话总结

本篇系统性综述整合了67篇基于自然语言处理(NLP)的软件测试论文,以映射从自然语言需求自动生成测试用例的最先进技术。研究发现,仅有11%的工具是公开可用的,45%的论文对NLP细节描述极为简略,凸显了在NLP辅助测试研究中实际应用与透明度方面的差距。

ABSTRACT

To reduce manual effort of extracting test cases from natural-language requirements, many approaches based on Natural Language Processing (NLP) have been proposed in the literature. Given the large amount of approaches in this area, and since many practitioners are eager to utilize such techniques, it is important to synthesize and provide an overview of the state-of-the-art in this area. Our objective is to summarize the state-of-the-art in NLP-assisted software testing which could benefit practitioners to potentially utilize those NLP-based techniques. Moreover, this can benefit researchers in providing an overview of the research landscape. To address the above need, we conducted a survey in the form of a systematic literature mapping (classification) and systematic literature review (SLR). After compiling an initial pool of 95 papers, we conducted a systematic voting, and our final pool included 67 technical papers. This review paper provides an overview of the contribution types presented in the papers, types of NLP approaches used to assist software testing, types of required input requirements, and a review of tool support in this area. Some key results we have detected are: (1) only four of the 38 tools (11%) presented in the papers are available for download; (2) a larger ratio of the papers (30 of 67) provided a shallow exposure to the NLP aspects (almost no details). Conclusion: This paper would benefit both practitioners and researchers by serving as an index to the body of knowledge in this area. The results could help practitioners utilizing the existing NLP-based techniques; this, in turn, reduces the cost of test-case design and decreases the amount of human resources spent on test activities. After sharing this review with some of our industrial collaborators, initial insights show that this review can indeed be useful and beneficial to practitioners.

研究动机与目标

  • 为基于自然语言需求自动生成测试用例的NLP技术提供全面概述。
  • 识别并分类文献中NLP方法、输入需求类型及工具支持的类型。
  • 评估现有NLP辅助测试工具的成熟度与实际可用性。
  • 通过绘制当前研究格局并识别关键空白,为从业者和研究人员提供指导。

提出的方法

  • 对95篇初始论文开展系统性文献映射(分类)与系统性文献综述(SLR)。
  • 采用系统性投票方法筛选并最终确定67篇技术论文进行深入分析。
  • 按贡献类型、NLP方法、输入需求类型及工具支持对论文进行分类。
  • 分析各研究中工具的可用性、实现细节及NLP集成的深度。
  • 评估每篇论文提供的NLP细节程度,区分浅层与深入处理。
  • 将研究发现整合为结构化概览,作为从业者和研究人员的参考依据。

实验结果

研究问题

  • RQ1在NLP辅助软件测试研究中,最常见的贡献类型是什么?
  • RQ2哪些NLP技术被主要用于从自然语言需求中提取测试用例?
  • RQ3这些基于NLP的方法通常处理哪些类型的需求输入?
  • RQ4存在多少工具支持?所实现的工具在多大程度上可访问?
  • RQ5论文在多大程度上提供了所用NLP组件的详细技术描述?

主要发现

  • 在所审查论文中呈现的38款工具中,仅有4款(11%)可公开下载。
  • 在67篇论文中,有30篇(45%)仅对NLP方面提供浅层介绍,技术细节极为有限。
  • 文献中相当大一部分在NLP实现深度上不足,表明对工具开发者缺乏实际指导。
  • 多数方法聚焦于需求分析与测试用例提取,但极少涉及测试执行或验证。
  • 尽管兴趣持续增长,由于可用性与透明度有限,NLP辅助测试工具的实际采纳率仍较低。
  • 本综述证实,该领域尚处于早期阶段,亟需更多可复现且可访问的工具。

阅读本论文

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

在 Nubint 中阅读本论文

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