Test Suite Reduction Technique Research
- Author
- ChengXiaoJu
- Advisor
- LiRenFa
- School
- Hunan University
- Major
- Computer Science and Technology
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 20
- Citations
- 0
- Software Testing
- Function dependency
- function influence domain
- Function Slice
- combination relationship
Abstract
In process of software development, the efficiency of regression testing is the most important factor which determines the success of the whole project, high regression test efficiency leads to the in-time delivery of the software with high qualities. Testers usually try to improve the regression test efficiency by only re-test a test-case subset of the whole regression test cases because they think there will be such a test-case subset which has the same effect with the old pre-selected test cases. For each iterating of the development, it’s quite expensive to re-test the whole system just because of the minor change of the source code, how to select the necessary test cases affected by the minor change of source code is a hot and difficult topic in the software regression test field.Existing techniques for the test suite reduction problems can be divided into non-demand-driven and demand-driven approach. The ideas of test suite reduction based on function slice are proposed in this paper trying to get the just necessary test cases for regression test after the source code has changed by the following two steps:First, concepts of function slice and function influence domain are proposed in this paper in order to get a rough test-case subset of the pre-selected test cases, proposed the concept of function influence domain. By comparing the old version of the source codes with the changed one, we can get the function relationship of the whole embedded system and the functions altered. We mark the changed functions as criteria functions in this paper. From the criteria functions, travel the function dependence graph to get the criteria slice graph and the node dependence graph, with which we can use to eliminate the unnecessary test cases from the ultimate test-case subset.Then, new algorithm named based combination relationship is suggested in this paper to reduce the rough test-case subset get in the first step because there are still some repeated and over-lapped test cases within the criteria function affection domain, trying to get the most reduced software regression final test cases.Finally, this paper use the idea of function slice to carry on regression test suite reduction experiment on embedded software system-ATM simulator. The result shows high efficiency when test with the final set of regression test suite get by the first two steps, it improves the efficiency of regression test of software regression test and reduces testing time and cost.
Table of contents
Summary 5-6
Abstract 6-10
drawings index 10-11
Schedule Index 11-12 <br / > Chapter 1 Introduction 12-16
1.1 background and Significance 1.2 Status domestic and foreign research 12
12-14
1.2.1 non- demand-driven approach 13
1.2.2 demand-driven approach 13-14
1.3 research content 14-15
1.4 This article work 15
1.5 thesis structure 15-16
Chapter 2, the theoretical foundation 16-24
2.1 embedded software testing 16 -18
2.2 program slicing method 18-20
2.2.1 program slicing concept 18-19
2.2.2 program slicing classification 19 - 20
2.3 test suite reduction method 20-23
2.4 Summary 23-24
Chapter 3 slices of function -based test suite reduction algorithm 24-35
3.1 program Slicing 24-28
3.1.1 program dependence graph 24-25
3.1.2 slicing theory and algorithms 25-28
3.2 function slice 28-32
3.2.1 Functional Dependencies and function dependency graph 28
3.2.2 functions influence domain 28 -30
3.2.3 function dependency graph concept and function slice slicing algorithm 30-31
3.2.4 conceptual dependency graph nodes and node dependency graph algorithm 31-32 <br / > 3.3 regression test select 32-34
3.3.1 reduction Based on the principle of function slice 32-33
3.3.2 regression test selection step 33
3.3.3 algorithm Analysis 33-34
3.4 Summary 34-35
Chapter 4, based on the requirements and needs of the blank cover collection sets reduction algorithm 35-46
4.1 test suite reduction algorithm tradition 35-39
4.1.1 basic definitions and terminology 35-36
4.1. 2 greedy algorithm 36-38
4.1.3 GRE algorithm 38-39
4.2 relations based on a combination of test suite reduction algorithm 39-43 <br / > 4.2.1 Basic definitions and terminology 39-40
4.2.2 The core idea of ??the algorithm and the basic steps 40-43
4.3 results and evaluation 43 - 45
4.4 Summary 45-46
Chapter 5 prototype system design and function slicer achieve 46-55
5.1 system QuickRetest Overview 46 - 47
5.2 QuickRetest detailed design 47-49
5.2.1 structure analyzer 47-48
5.2.2 function slicer 48 <br / > 5.2.3 test cases based on rough sets slice function generator 48-49
5.2.4 reduction based on a combination of relationship is 49
5.3 function slicer achieve 49-54
5.3.1 C language code analyzer and achieve 49-50
5.3.2 function slicing algorithm implementation 50-51 <br / > 5.3.3 experiment and Effect Analysis 51-54
5.4 Summary 54-55
conclusion 55-57
References 57-60
Thanks 60-61
published in Appendix a to pursue a degree during the academic 61-62
nbsp involved in research work in Appendix B to pursue a degree during the ; 62
Related dissertations
- And the realization of software testing reuse management subsystem design
- Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
- Research on software testing technology based on complex network theory
- Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
- The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
- Research of Software Testing Method Based on Cloud Computing
- Research on Path-oriented Test Data Generation
- Research on Process Improvement in Y Co. Based on CMM
- Method Research and System Development of Software Automatic Testing
- Research and implementation of TaaS test management services
- The Design and Implementation of Banking Software Testing Based on Bugfree
- Automatic Generation of Test Data Based on Heuristic Search Algorithm
- Research on Combinatorial Testing Technique and Its Application
- Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
- Study and Practice of Independent Software Testing and Validation Based on RTCA DO-178B
- A Study to Improve CFL Based on TheDiscovery of Coincidental Correctness Test Cases
- Software Reliability Oriented Performance Test Model Research and Application
- The Study and Realization of the Android Tablet Stability Automated Test
- Research on Testing Technology of Video Codec
- High Precise Local Gravity Field Computing Platform Integrated Development and Test