首页> 外文期刊>Software Quality Journal >Analysis of distance functions for similarity-based test suite reduction in the context of model-based testing
【24h】

Analysis of distance functions for similarity-based test suite reduction in the context of model-based testing

机译:在基于模型的测试中分析基于相似度的测试套件的距离函数

获取原文
获取原文并翻译 | 示例
       

摘要

Test suite reduction strategies aim to produce a smaller and representative suite that presents the same coverage as the original one but is more cost-effective. In the model-based testing (MBT) context, reduction is crucial since automatic generation algorithms may blindly produce several similar test cases. In order to define the degree of similarity between test cases, researchers have investigated a number of distance functions. However, there is still little or no knowledge on whether and how they influence on the performance of reduction strategies, particularly when considering MBT practices. This paper investigates the effectiveness of distance functions in the scope of a MBT reduction strategy based on the similarity degree of test cases. We discuss six distance functions and apply them to three empirical studies. The first two studies are controlled experiments focusing on two real-world applications (and real faults) and ten synthetic specifications automatically generated from the configuration of each application (and faults randomly generated). In the third study, we also apply the reduction strategy to two subsequent versions of an industrial application by considering real faults detected. Results show that the choice of a distance function has little influence on the size of the reduced test suite. However, as reduced suites are different depending on the distance function applied, the choice can significantly affect the fault coverage. Moreover, it can also affect the stability of the reduction strategy regarding coverage of different sets of faults on different executions.
机译:减少测试套件的策略旨在产生一个更小且更具代表性的套件,其覆盖范围与原始套件相同,但更具成本效益。在基于模型的测试(MBT)上下文中,减少是至关重要的,因为自动生成算法可能会盲目地产生几个类似的测试用例。为了定义测试用例之间的相似程度,研究人员研究了许多距离函数。但是,对于它们是否以及如何影响减排策略的执行,仍然知之甚少,甚至一无所知,尤其是在考虑MBT实践时。本文基于测试用例的相似度,研究了距离函数在MBT约简策略范围内的有效性。我们讨论了六个距离函数,并将它们应用于三个实证研究。前两项研究是针对两个实际应用程序(和实际故障)的受控实验,以及从每个应用程序的配置自动生成的十个综合规格(以及随机生成的故障)。在第三项研究中,我们还通过考虑检测到的实际故障,将减少策略应用于工业应用的两个后续版本。结果表明,距离函数的选择对精简测试套件的大小影响很小。但是,由于简化套件随所应用的距离函数的不同而不同,因此选择会严重影响故障范围。此外,它还会影响减少策略在不同执行上覆盖不同故障集的稳定性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号