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 条
  • [21] Test Case Selection for All-Uses Criterion-Based Regression Testing of Composite Service
    Ji, Shunhui
    Li, Bixin
    Zhang, Pengcheng
    IEEE ACCESS, 2019, 7 : 174438 - 174464
  • [22] Test Case Selection in Continuous Regression Testing using Machine Learning: An Industrial Case Study
    Ahmad, Azeem
    Rentas, Dimistris
    Hasselqvist, Daniel
    Sandberg, Pontus
    Sandahl, Kristian
    Vulgarakis, Aneta
    2024 IEEE 48TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE, COMPSAC 2024, 2024, : 33 - 38
  • [23] Test Case Selection Technique for Regression Testing Using Differential Control Flow Graphs
    Akimoto, Shun
    Yaegashi, Rihito
    Takagi, Tomohiko
    2015 16TH IEEE/ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCE, NETWORKING AND PARALLEL/DISTRIBUTED COMPUTING (SNPD), 2015, : 453 - 455
  • [24] A study on a path-based strategy for selecting black-box generated test cases
    Yu, YT
    Tang, SF
    Poon, PL
    Chen, TY
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2001, 11 (02) : 113 - 138
  • [25] Checking inside the black box: Regression testing by comparing value spectra
    Xie, T
    Notkin, D
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2005, 31 (10) : 869 - 883
  • [26] An efficient regression testing approach for PHP Web applications using test selection and reusable constraints
    Ravi Eda
    Hyunsook Do
    Software Quality Journal, 2019, 27 : 1383 - 1417
  • [27] An efficient regression testing approach for PHP Web applications using test selection and reusable constraints
    Eda, Ravi
    Do, Hyunsook
    SOFTWARE QUALITY JOURNAL, 2019, 27 (04) : 1383 - 1417
  • [28] A Detection-Based Multi-Objective Test Case Selection Algorithm to Improve Time and Efficiency in Regression Testing
    Ghani, Israr
    Wan Kadir, Wan Mohd Nasir
    Arbain, Adila Firdaus
    Ghani, Imran
    IEEE ACCESS, 2024, 12 : 114974 - 114994
  • [29] Test case selection and prioritization approach for automated regression testing using ontology and COSMIC measurement
    Sakhrawi, Zaineb
    Labidi, Taher
    AUTOMATED SOFTWARE ENGINEERING, 2024, 31 (02)
  • [30] Strategies of regression test case selection for component-based software
    Mao, Chengying
    Lu, Yansheng
    Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2006, 43 (10): : 1767 - 1774