Test case selection for black-box regression testing of database applications

被引:28
|
作者
Rogstad, Erik [1 ,2 ]
Briand, Lionel [3 ]
Torkar, Richard [4 ,5 ,6 ]
机构
[1] Simula Res Lab, N-1325 Lysaker, Norway
[2] Univ Oslo, Dept Informat, N-0316 Oslo, Norway
[3] Univ Luxembourg, SnT Ctr, L-2721 Luxembourg, Luxembourg
[4] Chalmers Univ Technol, S-41296 Gothenburg, Sweden
[5] Univ Gothenburg, S-41296 Gothenburg, Sweden
[6] Blekinge Inst Technol, S-37179 Karlskrona, Sweden
关键词
Test case selection; Regression testing; Database applications; Similarity measures;
D O I
10.1016/j.infsof.2013.04.004
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Context: This paper presents an approach for selecting regression test cases in the context of large-scale database applications. We focus on a black-box (specification-based) approach, relying on classification tree models to model the input domain of the system under test (SUT), in order to obtain a more practical and scalable solution. We perform an experiment in an industrial setting where the SUT is a large database application in Norway's tax department. Objective: We investigate the use of similarity-based test case selection for supporting black box regression testing of database applications. We have developed a practical approach and tool (DART) for functional black-box regression testing of database applications. In order to make the regression test approach scalable for large database applications, we needed a test case selection strategy that reduces the test execution costs and analysis effort. We used classification tree models to partition the input domain of the SUT in order to then select test cases. Rather than selecting test cases at random from each partition, we incorporated a similarity-based test case selection, hypothesizing that it would yield a higher fault detection rate. Method: An experiment was conducted to determine which similarity-based selection algorithm was the most suitable in selecting test cases in large regression test suites, and whether similarity-based selection was a worthwhile and practical alternative to simpler solutions. Results: The results show that combining similarity measurement with partition-based test case selection, by using similarity-based test case selection within each partition, can provide improved fault detection rates over simpler solutions when specific conditions are met regarding the partitions. Conclusions: Under the conditions present in the experiment the improvements were marginal. However, a detailed analysis concludes that the similarity-based selection strategy should be applied when a large number of test cases are contained in each partition and there is significant variability within partitions. If these conditions are not present, incorporating similarity measures is not worthwhile, since the gain is negligible over a random selection within each partition. (C) 2013 Elsevier B.V. All rights reserved.
引用
收藏
页码:1781 / 1795
页数:15
相关论文
共 50 条
  • [1] Multi-Objective Black-Box Test Case Selection for System Testing
    Lachmann, Remo
    Felderer, Michael
    Nieke, Manuel
    Schulze, Sandro
    Seidl, Christoph
    Schaefer, Ina
    PROCEEDINGS OF THE 2017 GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE (GECCO'17), 2017, : 1311 - 1318
  • [2] Pareto efficient multi-objective black-box test case selection for simulation-based testing
    Arrieta, Aitor
    Wang, Shuai
    Markiegi, Urtzi
    Arruabarrena, Ainhoa
    Etxeberria, Leire
    Sagardui, Goiuria
    INFORMATION AND SOFTWARE TECHNOLOGY, 2019, 114 : 137 - 154
  • [3] Black-box model-based regression testing of fail-safe behavior in web applications
    Andrews, Anneliese
    Alhaddad, Ahmed
    Boukhris, Salah
    JOURNAL OF SYSTEMS AND SOFTWARE, 2019, 149 : 318 - 339
  • [4] Test case prioritization for black box testing
    Qu, Bo
    Nie, Changhai
    Xu, Baowen
    Zhang, Xiaofang
    COMPSAC 2007: THE THIRTY-FIRST ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, VOL I, PROCEEDINGS, 2007, : 465 - +
  • [5] A novel test case prioritization approach for black-box testing based on K-medoids clustering
    Chen, Jinfu
    Gu, Yuechao
    Cai, Saihua
    Chen, Haibo
    Chen, Jingyi
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2024, 36 (04)
  • [6] False Test Case Selection : Improvement of Regression Testing Approach
    Srisura, Benjawan
    Lawanna, Adtha
    2016 13TH INTERNATIONAL CONFERENCE ON ELECTRICAL ENGINEERING/ELECTRONICS, COMPUTER, TELECOMMUNICATIONS AND INFORMATION TECHNOLOGY (ECTI-CON), 2016,
  • [7] Comparing White-box and Black-box Test Prioritization
    Henard, Christopher
    Papadakis, Mike
    Harman, Mark
    Jia, Yue
    Le Traon, Yves
    2016 IEEE/ACM 38TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2016, : 523 - 534
  • [8] Exploring Better Black-Box Test Case Prioritization via Log Analysis
    Chen, Zhichao
    Chen, Junjie
    Wang, Weijing
    Zhou, Jianyi
    Wang, Meng
    Chen, Xiang
    Zhou, Shan
    Wang, Jianmin
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2023, 32 (03)
  • [9] Improved Test Case Selection Algorithm to Reduce Time in Regression Testing
    Ghani, Israr
    Wan-Kadir, Wan M. N.
    Arbain, Adila Firdaus
    Ibrahim, Noraini
    CMC-COMPUTERS MATERIALS & CONTINUA, 2022, 72 (01): : 635 - 650
  • [10] DeepGD: A Multi-Objective Black-Box Test Selection Approach for Deep Neural Networks
    Aghababaeyan, Zohreh
    Abdellatif, Manel
    Dadkhah, Mahboubeh
    Briand, Lionel
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2024, 33 (06)