Research on Regression Test Selection
- Author
- LiuKaiFeng
- Advisor
- ZhangDaFang , WuZuo
- School
- Hunan University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 219
- Citations
- 10
Abstract
Regression testing software testing is a very important and costly process . Therefore, how to reduce the cost of regression testing , regression testing efficiency study will have great significance . Regression testing selection technology has become the research focus in the international community . This paper focuses on the regression testing to select this theme , first introduced the research progress of the regression test selection techniques . Focused on process-oriented and Java programs regression test selection algorithm . Not considered a continuous process, call the selection algorithm for regression testing of Java programs to use cases to choose low precision , This paper presents a new approach \in order to avoid making the wrong estimation modified program correctness . Can not guarantee that the test of credibility for all test cases can not be completed , we use use cases sorting algorithm . This paper first describes the basic concepts and common use cases sort algorithms, and a preliminary discussion of these algorithms . Then in the original edge covering sorting algorithm on the basis of the the algorithm based on JIG side cover . Combined with the use case selection algorithm and JIG - based edge covering algorithm, but based on the JIG use case selection sort algorithm . The algorithm can be obtained both a lower rate of use case selection can use example sequence having a higher error detection capability . The detailed analysis of the factors that affect the efficiency of regression test selection and proposed a test state - based regression test selection strategy selection method . Using this method, in the case of known test state , select a better regression testing selection strategy , so as to better benefit-cost ratio . Finally, the proposed use cases based JIG selection sort algorithm regression testing system prototype . The system by parsing the Java source code can be generated JIG , select Sort and use cases , priority use cases for automated testing . Algorithm for the experimental analysis of the experimental platform .
Table of contents
Abstract 8-9
ABSTRACT 9-10
illustrations Index 10-12
Schedule Index 12-13 <br / > Chapter 1 Introduction 13-17
1.1 regression test Selection Overview 13-15
1.1.1 background 13
1.1.2 research progress 13-15
1.1.3 test sorting 15
1.2 this research 15-17
Chapter 2 software testing and regression testing 17-24
2.1 Introduction 17
2.2 software testing 17-20
2.2.1 software testing purposes 17-18
2.2.2 software Testing stages 18
2.2.3 software testing methods 18
2.2.4 Black Box 18-19 <br / > 2.2.5 White-box testing 19
2.2.6 software testing strategy 19-20
2.2.7 software testing technology development 20 <br / > 2.3 regression testing 20-23
2.3.1 regression testing process 21-22
2.3.2 regression test strategy 22-23
2.4 Summary 23-24
Chapter 3, process-oriented regression test selection algorithm 24-34
3.1 Introduction 24
3.2 basic Terminology 24-27
3.2.1 regression test selection 24-25
3.2.2 CFG 25-26
3.2.3 code execution 26-27
3.3 process-oriented regression test selection algorithm 27-33
3.3.1 regression test selection algorithm within a procedure 28-31
3.3.2 interprocedural test selection algorithm 31-33
3.4 Summary 33-34
Chapter 4 for regression testing Java program selection algorithm 34-41
4.1 Introduction 34
4.2 Java program representation 34-38
4.2.1 variables and object types 35
4.2.2 nbsp internal methods and external methods ; 35-36
4.2.3 class within the class method calls an external method 36-37
4.2.4 exception Handling 37-38
4.3 continuous process call 38-40
4.4 Summary 40-41
Chapter 5 JIG test case selection based sorting algorithm 41-50
5.1 Introduction 41
5.2 basic Terminology 41-42
5.2.1 test sorting 41-42
5.2.2 APFD value 42 < br /> 5.3 use case sorting algorithm 42-45
5.3.1 optimal algorithm 43
5.3.2 statement-coverage-total algorithm 43-44
5.3.3 FEP algorithm 44-45
5.4 JIG use cases based selection sort algorithm 45-49
5.4.1 JIG edge coverage based sorting algorithm 46-47
5.4.2 JIG use cases based selection sort algorithm 47-49
5.5 Summary 49-50
Chapter 6, regression test case selection strategy selection 50-54
6.1 Introduction 50
6.2 regression test selection strategy 50-51
6.3 test frequency on the efficiency of regression test selection 51-52
6.3.1 use Case selection rate 51
6.3.2 relative efficiency 51
6.3.3 absolute efficiency 51
6.3.4 cost - benefit Equilibrium 51-52
6.4 test state -based regression test selection strategy selection 52-53
6.5 Summary 53 -54
Chapter 7 regression test selection system prototype implementation 54-72
7.1 Introduction 54
7.2 system design 54-55 <br / > 7.3 system implementation 55-65
7.3.1 program source code analysis module 55-58
7.3.2 JIG building blocks 58-62 <br / > 7.3.3 use case execution information extraction module 62-63
7.3.4 JIG comparison module 63-64
7.3.5 use Case mapping module 64 <br / > 7.3.6 use Case automatic execution module 64-65
7.4 main function test 65-71
7.4.1 calling External method 65-67 <br / > 7.4.2 continuous method call 67-70
7.4.3 test Case selection Sort 70-71
7.5 Summary 71-72
Conclusion 72-75
References 75-79
Thanks 79-80
Appendix A completed during the study for a degree thesis and research 80
Related dissertations
- Research on Combinatorial Testing Technique and Its Application
- Aresearchbased on UML Diagrams and Dynamic Slicing of Regression Testing
- The Design and Implementation of Test Suit Augmentation Based on Predicate Adaptive Random Testing
- Research and Implementation for Method of Component Regression Testing
- Research on UML Activity Diagram-based Software Automatic Regression Test Case Generation
- The Study of Test Case Secletion Algorithm Based on Requirement Priority in Regression Testing
- Implementation of an Automated Testing Tool Based on Java
- The Research and Implementation of Automated Testing System on Power System Real Time Database
- The Research of Regression Testing for Software Equipment
- Based on the QTP WEB Program Testingsystem Development and Research
- Research on Repairing GUI-Directed Regression Test Scripts
- Research on Regression Testing Selection
- Design and Implementation of Android Operating System Software Test Automated
- The Research and Implementation of Conference Call Software Testing System for Android Platform Smartphone
- Research on Analysis and Testing Techniques of Object-Oriented Programs
- Research on Dependence Analysis and Software Testing
- Studying the Fault Localization Method for Regression Testing in Oriented-Objects Software
- Study on the Feasibility of Functional Regression Testing and Coordinated Test in Distributed Environment
- Design and Implementation of Automated Regression Testing Tool for Huge Application Software Systems
- Rules Driven Test Framework