试验破损预防与修复技术的系统文献综述
A Systematic Literature Review of Test Breakage Prevention and Repair Techniques
摘要:
上下文:当应用程序发展时,一些开发的测试用例会中断。丢弃损坏的测试用例会导致大量的工作浪费,并导致测试套件的效率较低,覆盖率较低。测试修复方法通过修复损坏的测试用例来使测试套件与应用程序一起发展。目的:每年都有大量关于测试修复方法的研究发表。重要的是总结和巩固该领域的现有知识,为研究人员和从业人员提供方向。本研究工作提供了一个系统的文献综述,在测试用例修复和破损预防领域,旨在指导研究人员和从业人员在软件测试。方法:我们遵循标准协议进行系统的文献综述。首先,使用目标问题度量(GQM)定义研究目标。然后,我们制定相应的研究问题,每个目标。最后,从所包含的论文中提取指标。根据定义的选择标准,最终纳入41项主要研究进行分析。结果:筛选出5篇期刊论文和36篇会议论文。我们提出了一个分类法,列出了从文献中提取的测试用例破损的原因。我们发现,只有四个拟议的测试修复工具是公开的。大多数研究都对开放源码案例研究的方法进行了评价。结论:测试修复技术有很大的研究空间。尽管在大规模开源研究中评估方法的趋势是积极的,但在真正的工业背景下进行的研究显然缺乏结果。很少有工具是公开的,这降低了行业从业者适应的潜力。
英文摘要:
Context: When an application evolves, some of the developed test cases break. Discarding broken test cases causes a significant waste of effort and leads to test suites that are less effective and have lower coverage. Test repair approaches evolve test suites along with applications by repairing the broken test cases. Objective: Numerous studies are published on test repair approaches every year. It is important to summarise and consolidate the existing knowledge in the area to provide directions to researchers and practitioners. This research work provides a systematic literature review in the area of test case repair and breakage prevention, aiming to guide researchers and practitioners in the field of software testing. Method: We followed the standard protocol for conducting a systematic literature review. First, research goals were defined using the Goal Question Metric (GQM). Then we formulate research questions corresponding to each goal. Finally, metrics are extracted from the included papers. Based on the defined selection criteria a final set of 41 primary studies are included for analysis. Results: The selection process resulted in 5 journal papers, and 36 conference papers. We present a taxonomy that lists the causes of test case breakages extracted from the literature. We found that only four proposed test repair tools are publicly available. Most studies evaluated their approaches on open-source case studies. Conclusion: There is significant room for future research on test repair techniques. Despite the positive trend of evaluating approaches on large scale open-source studies, there is a clear lack of results from studies done in a real industrial context. Few tools are publicly available which lowers the potential of adaption by industry practitioners.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。