首页 | 官方网站   微博 | 高级检索  
     


Test case selection for black-box regression testing of database applications
Affiliation:1. Simula Research Laboratory, 1325 Lysaker, Norway;2. University of Oslo, Dept. of Informatics, 0316 Oslo, Norway;3. SnT Centre, University of Luxembourg, L-2721 Luxembourg, Luxembourg;4. Chalmers University of Technology and University of Gothenburg, S-412 96 Gothenburg, Sweden;5. Blekinge Institute of Technology, S-371 79 Karlskrona, Sweden;1. Federal University of Ouro Preto, Department of Computing, Ouro Preto, Brazil;2. Federal University of Lavras, Department of Computer Science, Lavras, Brazil;1. Department of Computer Science, University of West Florida, Pensacola, FL 32514, USA;2. Computer Engineering Department, Pamukkale University, Turkey;3. Computer Science and Engineering, University of Nevada – Reno, Reno, NV 89557, USA;1. TU Darmstadt, Real-Time Systems Lab, Germany;2. TU Braunschweig, Institute for Programming and Reactive Systems, Germany;3. TU Braunschweig, Institute of Software Engineering and Automotive Informatics, Germany;1. Department of Computer Science, University of A Coruña, Spain;2. Interoud Innovation S.L., Spain
Abstract:ContextThis 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.ObjectiveWe 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.MethodAn 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.ResultsThe 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.ConclusionsUnder 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.
Keywords:Test case selection  Regression testing  Database applications  Similarity measures
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号