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

基于模型测试中测试用例优先级技术的重复研究

Test Case Prioritization Techniques for Model-Based Testing: A Replicated Study

João Felipe Silva Ouriques, Emanuela Gadelha Cartaxo, Patrícia Duarte Lima Machado

摘要:

最近,一些测试用例优先级(TCP)技术已被提出来排序测试用例,以实现在测试执行过程中的目标,特别是,更快地发现故障。在基于模型的测试(MBT)的上下文中,这样的技术通常是基于与模型的结构元素和派生的测试用例相关的知识。从这个意义上说,技术的性能可能会因许多因素而变化。虽然比较TCP技术性能的实证研究已经在文献中提出,仍然很少有知识,特别是在MBT的背景下,哪些因素可能会影响TCP技术所建议的结果。在以前的一系列实证研究中,重点是标记的过渡系统,我们确定了模型布局,即模型中的分支,连接和循环的数量,单独可能对TCP技术的性能影响不大,而实际上失败的测试用例的特性肯定会影响它们的性能。然而,我们在研究中只考虑了合成伪影,这降低了正确表示现实的能力。在本文中,我们提出了一个复制这些研究之一,现在有一个更大的和更有代表性的选择技术,并考虑测试套件从工业应用作为实验对象。我们的目标是找出结果是否仍然存在,同时增加与原始研究相比的有效性。结果加强,有没有最好的表演者之间的调查技术和测试用例的失败代表一个重要的因素,虽然自适应随机技术的影响较小。

英文摘要:

Recently, several Test Case Prioritization (TCP) techniques have been proposed to order test cases for achieving a goal during test execution, particularly, revealing faults sooner. In the Model-Based Testing (MBT) context, such techniques are usually based on heuristics related to structural elements of the model and derived test cases. In this sense, techniques' performance may vary due to a number of factors. While empirical studies comparing the performance of TCP techniques have already been presented in literature, there is still little knowledge, particularly in the MBT context, about which factors may influence the outcomes suggested by a TCP technique. In a previous family of empirical studies focusing on labeled transition systems, we identified that the model layout, i.e. amount of branches, joins, and loops in the model, alone may have little influence on the performance of TCP techniques investigated, whereas characteristics of test cases that actually fail definitely influences their performance. However, we considered only synthetic artifacts in the study, which reduced the ability of representing properly the reality. In this paper, we present a replication of one of these studies, now with a larger and more representative selection of techniques and considering test suites from industrial applications as experimental objects. Our objective is to find out whether the results remain while increasing the validity in comparison to the original study. Results reinforce that there is no best performer among the investigated techniques and characteristics of test cases that fail represent an important factor, although adaptive random based techniques are less affected by it.

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

↑