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 条
  • [21] Application of Formal Concept Analysis in Model-Based Testing
    Ng, Pin
    Fung, Richard Y. K.
    ADVANCES IN SOFTWARE ENGINEERING, 2009, 30 : 110 - +
  • [22] A New Algorithm to Test Suite Reduction Based on Cluster Analysis
    Parsa, S.
    Khalilian, A.
    Fazlalizadeh, Y.
    2009 2ND IEEE INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND INFORMATION TECHNOLOGY, VOL 3, 2009, : 189 - 193
  • [23] Achieving Scalable Model-Based Testing Through Test Case Diversity
    Hemmati, Hadi
    Arcuri, Andrea
    Briand, Lionel
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2013, 22 (01)
  • [24] Distributed Online Test Generation for Model-Based Testing
    Kanstren, Teemu
    Kekkonen, Tuomas
    2013 20TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2013), VOL 1, 2013, : 255 - 262
  • [25] An Empirical Evaluation of Test Suite Reduction for Boolean Specification-based Testing
    Zhang, Xiaofang
    Xu, Baowen
    Chen, Zhenyu
    Nie, Changhai
    Li, Leifang
    QSIC 2008: PROCEEDINGS OF THE EIGHTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, 2008, : 270 - 275
  • [26] Effective product-line testing using similarity-based product prioritization
    Al-Hajjaji, Mustafa
    Thuem, Thomas
    Lochau, Malte
    Meinicke, Jens
    Saake, Gunter
    SOFTWARE AND SYSTEMS MODELING, 2019, 18 (01) : 499 - 521
  • [27] Evaluating the Model-Based Testing Approach in the Context of Mobile Applications
    Farto, Guilherme de Cleva
    Endo, Andre Takeshi
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2015, 314 : 3 - 21
  • [28] Using process simulation to assess the test design effort reduction of a model-based testing approach
    Aranha, Eduardo
    Borba, Paulo
    MAKING GLOBALLY DISTRIBUTED SOFTWARE DEVELOPMENT A SUCCESS STORY, 2008, 5007 : 282 - 293
  • [29] Model-based regression testing by OCL
    Zech, Philipp
    Kalb, Philipp
    Felderer, Michael
    Atkinson, Colin
    Breu, Ruth
    INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2017, 19 (01) : 115 - 131
  • [30] FAST Approaches to Scalable Similarity-based Test Case Prioritization
    Miranda, Breno
    Cruciani, Emilio
    Verdecchia, Roberto
    Bertolino, Antonia
    PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2018, : 222 - 232