Research on Select Strategy of Regression Testing about Object-oriented Software
- Author
- TanXiaoLan
- Advisor
- ZuoLi , LeiJunHuan
- School
- Hunan University
- Major
- Software Engineering
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 10
- Citations
- 1
Abstract
Software testing is an important activity in order to insure the correctness of thesoftware.Regression test select technique chooses a new test case suite that is composed offinite test case from existing test case suite for testing modified software. Obviously,regression test selection technique can save time and efforts. In object-oriented software, theirfeatures such as encapsulation, inheritance, aggregation, polymorphism and dynamic bindingmaybe make effects of changes are far more difficult to control than in procedural systems.In this paper, we present a new algorithm of the regression test selection based onclass-related graph. We create the class-related graph by contrast the previous version with themodified version, and choose the test suite by the class-related graph. The test selection isefficient, economical and safe. In addition, we design a prototype system by our algorithm——select strategy analysis tool (SSAT). The prototype system proves feasibility of our testselection algorithm, and it can be used by another application of other test selection algorithmfor friend interface of it.Our research can help software developers to decide which classes and methods need to beretested in object-oriented software, to estimate cost and make schedule planning.
Table of contents
Summary 5-6
ABSTRACT 6-9
illustrations index 9-10
Chapter 1 Introduction 10-23 <br / > 1.1 Background 11-18
1.1.1 software testing 11-12
1.1.2 regression testing 12-15
1.1. 3 object-Oriented Software regression Testing 15-16
1.1.4 software modification impact analysis 16-18
1.2 Research Status 18-21 <br / > 1.2.1 regression testing for structured programming selection strategy 18-20
1.2.2 regression Testing object-Oriented Software Selection Strategy research nbsp 20-21
1.3 article ; 21-23
Chapter 2, object-oriented software regression test selection strategy 23-33
2.1 object-oriented technology 23-29
2.1.1 for characteristics of an object affect 24-26
2.1.2 object-oriented features of the test cases selected 26-29
2.2 object-oriented software regression test selection strategy analysis 29-33
2.2.1 revision process and the impact of the revision 29
2.2.2 modification impact analysis of the role 29-30
2.2.3 object-Oriented Software regression testing difficulty affect 30-31
select 2.2.4 programming language and tools for testing 31-33
regression testing based on Chapter 3 of the class diagram selection policy algorithm 33-43
3.1 class diagrams 34-37
dependence associated with 3.1.1 class 34-36
3.1. class 2 Figure 36-37
3.2 regression testing process 37
3.3 a regression test selection strategy algorithm 37-39
3.3.1 create a class firewall 38
3.3.2 class members to increase internal 38
3.3.3 internal class members to delete 38-39
3.3.4 class internal members modify 39
increase nbsp 3.3.5 class ; 39
3.3.6 class delete 39
3.3.7 exception thrown regression test selection policy algorithm instance 39
analysis of the proposed 3.4 39-40
3.4.1 class internal detection 40
3.4.2 class inheritance detection 40
3.4.3 call relationship detection 40
3.4.4 relationship detection 3.5 and Leung and White comparing the proposed algorithm is 40
40-42
3.6 Summary 42-43
Chapter 4 of object-oriented software regression testing selection strategy prototype system 43-57
4.1 system design 43-47
4.1.1 system framework 44-45
4.1.2 About JTB 45
4.1.3 generated file class 45-46
4.1.4 automatically generated 46
4.1.5 modification impact analysis ( selection strategy ) 46-47
4.1.6 modified impact graphics 47
4.2 system implementation achieve 47-53
4.2.1 file management module 47-49
4.2.2 lexical grammar analysis module 49
4.2.3 information storage module 49-52
4.2.4 class members to implement the module dependency diagram constructed module 52-53
4.3 results 53-57
4.3.1 class selection policy 53-55
4.3.2 class room selection strategy 55-56
4.3.3 with Leung and White algorithm proposed by comparison 56-57
conclusion 57-58
References 58-61 <br / > Thanks ; 61-62 <br a study published during the dissertation and project participants in Appendix 62 of nbsp />
Related dissertations
- Research on Coverage-Based Fault Localization for Object-Oriented Programs
- Worst-Case Execution Time Analysis of Real-Time Systems
- A multi-level functional model - based software regression testing
- Thermal Effect Simulation and Analysis of Tunnel Lining during Construction with Object-Oriented Programming
- Study on Interaction of Rigid-Pile Composite Foundation, Raft and Superstructure
- Research of Test Suite Optimization Method on Regressing Test Model