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 条
  • [41] Coverage-based regression test case selection, minimization and prioritization: a case study on an industrial system
    Di Nardo, Daniel
    Alshahwan, Nadia
    Briand, Lionel
    Labiche, Yvan
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2015, 25 (04) : 371 - 396
  • [42] Improving Requirements Coverage in Test Case Prioritization for Regression Testing
    Butool, Rimsha
    Nadeem, Aamer
    Sindhu, Muddassar
    Zaman, Qamar Uz
    2019 22ND IEEE INTERNATIONAL MULTI TOPIC CONFERENCE (INMIC), 2019, : 191 - 196
  • [43] Test Case Prioritization for Regression Testing Using Machine Learning
    Sawant, Priyanka Dattatray
    2024 IEEE INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE TESTING, AITEST, 2024, : 152 - 153
  • [44] Test Case Prioritization for Regression Testing Using Immune Operator
    Gladston, Angelin
    Nehemiah, Khanna
    Narayanasamy, Palanisamy
    Kannan, Arputharaj
    INTERNATIONAL ARAB JOURNAL OF INFORMATION TECHNOLOGY, 2016, 13 (06) : 686 - 692
  • [45] Test case prioritization techniques in software regression testing: An overview
    Qasim, Muhammad
    Bibi, Asifa
    Hussain, Syed Jawad
    Jhanjhi, N. Z.
    Humayun, Mamoona
    Sama, Najm Us
    INTERNATIONAL JOURNAL OF ADVANCED AND APPLIED SCIENCES, 2021, 8 (05): : 107 - 121
  • [46] Extended Differential Control Flow Graphs for the Selection of Test Cases in Regression Testing
    Akimoto, Shun
    Nakanishi, Shunta
    Yaegashi, Rihito
    Takagi, Tomohiko
    2016 IEEE/ACIS 15TH INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION SCIENCE (ICIS), 2016, : 962 - 963
  • [47] TestSage: Regression Test Selection for Large-scale Web Service Testing
    Zhong, Hua
    Zhang, Lingming
    Khurshid, Sarfraz
    2019 IEEE 12TH CONFERENCE ON SOFTWARE TESTING, VALIDATION AND VERIFICATION (ICST 2019), 2019, : 430 - 440
  • [48] Evaluating several path-based partial dynamic analysis methods for selecting black-box generated test cases
    Chan, YK
    Yu, YT
    QSIC 2004: PROCEEDINGS OF THE FOURTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, 2004, : 70 - 78
  • [49] Test case prioritization approaches in regression testing: A systematic literature review
    Khatibsyarbini, Muhammad
    Isa, Mohd Adham
    Jawawi, Dayang N. A.
    Tumeng, Rooster
    INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 93 : 74 - 93
  • [50] Risk Analysis-Based Test Case Prioritization for Regression Testing
    Yu H.
    Yang Y.
    Wang Y.
    Zhang W.
    Zhu Z.-L.
    Jisuanji Xuebao/Chinese Journal of Computers, 2019, 42 (10): : 2127 - 2144