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 条
  • [31] Selective Regression Testing of Safety-Critical Systems: A Black Box Approach
    Andrews, Anneliese
    Elakeili, Salwa
    Alhaddad, Ahmed
    2015 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY - COMPANION (QRS-C 2015), 2015, : 22 - 31
  • [32] A hybrid technique for selection and minimization of test cases in regression testing
    Singh L.
    Singh S.N.
    Dawra S.
    Recent Advances in Computer Science and Communications, 2021, 14 (02) : 477 - 488
  • [33] Estimating the Regression Test Case Selection Probability using Fuzzy Rules
    Rai, Deepak
    Tyagi, Kirti
    2013 INTERNATIONAL CONFERENCE ON RECENT TRENDS IN INFORMATION TECHNOLOGY (ICRTIT), 2013, : 603 - 611
  • [34] Hierarchical regression test case selection using slicing
    Panda S.
    Mohapatra D.P.
    International Journal of Computational Science and Engineering, 2017, 14 (02) : 179 - 197
  • [35] Identification of Attributes for Test Case Reusability in Regression Test Selection Techniques
    Dhareula, Priyanka
    Ganpati, Anita
    PROCEEDINGS OF THE 10TH INDIACOM - 2016 3RD INTERNATIONAL CONFERENCE ON COMPUTING FOR SUSTAINABLE GLOBAL DEVELOPMENT, 2016, : 1144 - 1147
  • [36] Survey of test case prioritization techniques for regression testing
    Chen, Xiang
    Chen, Ji-Hong
    Ju, Xiao-Lin
    Gu, Qing
    Ruan Jian Xue Bao/Journal of Software, 2013, 24 (08): : 1695 - 1712
  • [37] An Effective Regression Test Case Selection Using Hybrid Whale Optimization Algorithm
    Agrawal, Arun Prakash
    Choudhary, Ankur
    Kaur, Arvinder
    INTERNATIONAL JOURNAL OF DISTRIBUTED SYSTEMS AND TECHNOLOGIES, 2020, 11 (01) : 53 - 67
  • [38] Prevalent Criteria's in Regression Test Case Selection Techniques: An Exploratory Study
    Dhareula, Priyanka
    Ganpati, Anita
    2015 INTERNATIONAL CONFERENCE ON GREEN COMPUTING AND INTERNET OF THINGS (ICGCIOT), 2015, : 871 - 876
  • [39] Test Case Prioritization for Continuous Regression Testing: An Industrial Case Study
    Marijan, Dusica
    Gotlieb, Arnaud
    Sen, Sagar
    2013 29TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), 2013, : 540 - 543
  • [40] Multi-Objective ANT Lion Optimization Algorithm Based Mutant Test Case Selection for Regression Testing
    Tripathi, Aprna
    Srivastava, Shilpa
    Mittal, Himani
    Sinha, Shivaji
    Yadav, Vikash
    JOURNAL OF SCIENTIFIC & INDUSTRIAL RESEARCH, 2021, 80 (07): : 582 - 592