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

被引:20
|
作者
Victor Barbosa Coutinho, Ana Emilia [1 ]
Cartaxo, Emanuela Gadelha [1 ]
de Lima Machado, Patricia Duarte [1 ]
机构
[1] Fed Univ Campina Grande UFCG, Software Practices Lab SPLab, Campina Grande, PB, Brazil
关键词
Test suite reduction; Model-based testing; Distance functions; SELECTION;
D O I
10.1007/s11219-014-9265-z
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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
页数:39
相关论文
共 50 条
  • [11] Distance-based Test-Suite Reduction for Efficient Testing-based Fault Localization
    Wang, Xingya
    Jiang, Shujuan
    Gao, Pengfei
    Ju, Xiaolin
    Wang, Rongcun
    Zhang, Yanmei
    2016 INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, TESTING AND EVOLUTION (SATE 2016), 2016, : 84 - 89
  • [12] Test Suite Prioritization for Efficient Regression Testing of Model-based Automotive Software
    Morozov, Andrey
    Ding, Kai
    Chen, Tao
    Janschek, Klaus
    2017 ANNUAL CONFERENCE ON SOFTWARE ANALYSIS, TESTING AND EVOLUTION (SATE 2017), 2017, : 20 - 29
  • [13] A Context Similarity-Based Analysis of Countries' Technological Performance
    Napoletano, Andrea
    Tacchella, Andrea
    Pietronero, Luciano
    ENTROPY, 2018, 20 (11)
  • [14] Test Suite Reduction for Mutation Testing Based on Formal Concept Analysis
    Li, Liping
    Gao, Honghao
    2015 16TH IEEE/ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCE, NETWORKING AND PARALLEL/DISTRIBUTED COMPUTING (SNPD), 2015, : 443 - 447
  • [15] On the effect of test-suite reduction on automatically generated model-based tests
    Mats P. E. Heimdahl
    Devaraj George
    Automated Software Engineering, 2007, 14 : 37 - 57
  • [16] On the effect of test-suite reduction on automatically generated model-based tests
    Heimdahl, Mats P. E.
    George, Devaraj
    AUTOMATED SOFTWARE ENGINEERING, 2007, 14 (01) : 37 - 57
  • [17] LTM: Scalable and Black-Box Similarity-Based Test Suite Minimization Based on Language Models
    Pan, Rongqi
    Ghaleb, Taher A.
    Briand, Lionel C.
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2024, 50 (11) : 3053 - 3070
  • [18] Similarity-based data reduction techniques
    Guo, G
    Wang, H
    Bell, D
    JOURNAL OF RESEARCH AND PRACTICE IN INFORMATION TECHNOLOGY, 2005, 37 (02): : 211 - 232
  • [19] A Global Algorithm for Model-Based Test Suite Generation
    Hessel, Anders
    Pettersson, Paul
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2007, 190 (02) : 47 - 59
  • [20] Similarity-based data reduction and classification
    Guo, GD
    Wang, H
    Bell, D
    Liao, ZN
    Monitoring, Security, and Rescue Techniques in Multiagent Systems, 2005, : 227 - 238