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

被引:0
作者
Ana Emília Victor Barbosa Coutinho
Emanuela Gadelha Cartaxo
Patrícia Duarte de Lima Machado
机构
[1] Federal University of Campina Grande (UFCG),Software Practices Laboratory (SPLab)
来源
Software Quality Journal | 2016年 / 24卷
关键词
Test suite reduction; Model-based testing; Distance functions;
D O I
暂无
中图分类号
学科分类号
摘要
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.
引用
收藏
页码:407 / 445
页数:38
相关论文
共 44 条
  • [1] Anand S(2013)An orchestrated survey of methodologies for automated software test case generation Journal of Systems and Software 86 1978-2001
  • [2] Burke EK(2011)On the use of a similarity function for test case selection in the context of model-based testing Software Testing, Verification and Reliability 21 75-100
  • [3] Chen TY(1998)A new heuristic for test suite reduction Information & Software Technology 40 347-354
  • [4] Clark J(1998)A simulation study on some heuristics for test suite reduction Information & Software Technology 40 777-787
  • [5] Cohen MB(2010)Adaptive random testing: The art of test case diversity Journal of Systems and Software 83 60-66
  • [6] Grieskamp W(1993)A methodology for controlling the size of a test suite ACM Transactions on Software Engineering and Methodology 2 270-285
  • [7] Cartaxo EG(2013)Achieving scalable model-based testing through test case diversity ACM Transactions Software Engineering Methodology 22 1-42
  • [8] Machado PDL(1901)Étude comparative de la distribution florale dans une portion des alpes et des jura Bulletin de la Société Vaudoise des Sciences Naturelles 37 547-579
  • [9] Neto FGO(1989)Advances in record-linkage methodology as applied to matching the 1985 census of tampa, florida Journal of the American Statistical Association 84 414-420
  • [10] Chen TY(2012)Prioritizing test cases with string distances Automated Software Engineering 19 65-95