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 条
  • [1] Analysis of distance functions for similarity-based test suite reduction in the context of model-based testing
    Ana Emília Victor Barbosa Coutinho
    Emanuela Gadelha Cartaxo
    Patrícia Duarte de Lima Machado
    Software Quality Journal, 2016, 24 : 407 - 445
  • [2] Incremental Model-based Test Suite Reduction with Formal Concept Analysis
    Ng, Pin
    Fung, Richard Y. K.
    Kong, Ray W. M.
    JOURNAL OF INFORMATION PROCESSING SYSTEMS, 2010, 6 (02): : 197 - 208
  • [3] Model-based Test Suite Reduction with Concept Lattice
    Ng, Pin
    Fung, Richard Y. K.
    PROCEEDINGS OF THE 2008 ADVANCED SOFTWARE ENGINEERING & ITS APPLICATIONS, 2008, : 3 - +
  • [4] On the use of a similarity function for test case selection in the context of model-based testing
    Cartaxo, Emanuela G.
    Machado, Patricia D. L.
    Oliveira Neto, Francisco G.
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2011, 21 (02): : 75 - 100
  • [5] An Incremental Approach for Model-based Test Suite Reduction Using Formal Concept Analysis
    Ng, Pin
    Fung, Richard Y. K.
    PROCEEDINGS OF THE 4TH INTERNATIONAL CONFERENCE ON UBIQUITOUS INFORMATION TECHNOLOGIES & APPLICATIONS (ICUT 2009), 2009, : 141 - +
  • [6] Industrial Evaluation of Test Suite Generation Strategies for Model-Based Testing
    Blom, Johan
    Jonsson, Bengt
    Nystrom, Sven-Olof
    2016 IEEE NINTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2016, : 209 - 218
  • [7] New Similarity Function for Test Case Prioritization in Model-Based Context
    Pospisil, Tomas
    Novak, Jiri
    2018 16TH BIENNIAL BALTIC ELECTRONICS CONFERENCE (BEC), 2018,
  • [8] Cost-effective testing based fault localization with distance based test-suite reduction
    Wang, Xingya
    Jiang, Shujuan
    Gao, Pengfei
    Ju, Xiaolin
    Wang, Rongcun
    Zhang, Yanmei
    SCIENCE CHINA-INFORMATION SCIENCES, 2017, 60 (09)
  • [9] Cost-effective testing based fault localization with distance based test-suite reduction
    Xingya WANG
    Shujuan JIANG
    Pengfei GAO
    Xiaolin JU
    Rongcun WANG
    Yanmei ZHANG
    Science China(Information Sciences), 2017, 60 (09) : 163 - 177
  • [10] Cost-effective testing based fault localization with distance based test-suite reduction
    Xingya Wang
    Shujuan Jiang
    Pengfei Gao
    Xiaolin Ju
    Rongcun Wang
    Yanmei Zhang
    Science China Information Sciences, 2017, 60