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

从复制基于信息检索的测试用例优先级研究中获得的经验教训

Lessons learned from replicating a study on information-retrieval based test case prioritization

Nasir Mehmood Minhas, Mohsin Irshad, Kai Petersen, Jürgen Börstler

摘要:

目的:在这项研究中,我们的目标是复制基于人工制品的研究软件测试,以解决差距。我们的重点是(a)提供一个复制的一步一步的指南,反映复制人工制品为基础的测试研究时的挑战,(b)评估复制的研究有关其有效性和鲁棒性的研究结果。方法:我们复制了Kwon等人的测试用例优先级排序技术。我们使用四个程序复制了原始研究,两个来自原始研究,两个新程序。复制研究是使用Python实现的,以支持未来的复制。结果如下:确定了促进复制的各种一般因素,如:(1)文件的重要性;(2)需要原始作者的帮助;(3)维护开放源码储存库的问题(例如,关于所需的软件依赖性);(4)脚本的可用性。我们还提出了一些针对该研究及其背景的观察结果,例如使用不同突变工具和突变体生成策略的见解。结论:我们的结论是,Kwon等人的研究是可复制的小型和中型程序,并可以自动化,以方便软件从业人员,所需的信息的可用性。

英文摘要:

Objective: In this study, we aim to replicate an artefact-based study on software testing to address the gap. We focus on (a) providing a step by step guide of the replication, reflecting on challenges when replicating artefact-based testing research, (b) Evaluating the replicated study concerning its validity and robustness of the findings. Method: We replicate a test case prioritization technique by Kwon et al. We replicated the original study using four programs, two from the original study and two new programs. The replication study was implemented using Python to support future replications. Results: Various general factors facilitating replications are identified, such as: (1) the importance of documentation; (2) the need of assistance from the original authors; (3) issues in the maintenance of open source repositories (e.g., concerning needed software dependencies); (4) availability of scripts. We also raised several observations specific to the study and its context, such as insights from using different mutation tools and strategies for mutant generation. Conclusion: We conclude that the study by Kwon et al. is replicable for small and medium programs and could be automated to facilitate software practitioners, given the availability of required information.

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

↑