The AOP code several specific defects in the software test methods
- Author
- LaoYangHui
- Advisor
- ShiLin
- School
- Kunming University of Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 25
- Citations
- 0
Abstract
Aspect-oriented programming (AOP) complements object-oriented programming (OOP) in order to further improve the the code modular resolve code scattered and hybridity. , AOP is more and more people understand. AOP introduces some new language structure and its development program may contain defects and other programming languages ??differ, so the need for a new test method for testing. Test AOP code today, mainly divided into three categories: 1, through the design of a method will be tested AOP code into OOP code, then use the test method or test OOP code testing tools test AOP code processing to form OOP code. This test method utilizes existing test OOP code test method or test tools, the focus of the study is how the AOP code accurately process as OOP code. Therefore, such a test method is relatively simple, but it the AOP code test is not intuitive, possible deficiencies in the AOP code as well as the characteristics of these defects has completely discarded, and determine the location of the error code caused defects with great difficulty. AOP can be woven into the nature of the test code and add used to test these test code test code woven together to facilitate the realization of the test, but the need to address how to ensure the reliability of the test and feasibility issues. 3, based on the characteristics of AOP, improvement and expansion of the test method of testing OOP code, a new test method, to be able to test the AOP code. In such a test method, the test AOP code based defect (fault) is a systematic, targeted and flexibility. Test methods designed in this paper on the basis of the defect-based test methods, the use of the advantage of the second test method, and in order to ensure the credibility and feasibility of the test, as the test code added the AOP code only record the code under test performed, excluding cause measured defect code and code exists impact of such defects, to avoid the lack of a second type of test methods. First, by analyzing the characteristics of the AOP code, summarizes the possible defects in the AOP code, and then divided into two categories these defects, and each class contains several specific defects reason, the impact on the execution result, and initiator these defects are analyzed. Second, a basic idea of ??the test method. Design specific test methods for each type of defect. And then given a test rule to require the order to test a variety of defects, the final assessment of the validity of this thesis, the design of the test method. The test method is designed in this paper for several specific defects, hierarchical, iterative testing methods. Among them, how to avoid the lack of the second type of test method not only to ensure the credibility and feasibility of the test results, and also belongs to the innovative part of the paper. Test the basic idea of ??the proposed design, the specific test method designed for each type of defect, the provisions of the rules of the test are all innovative part of the paper. Testers by this test method can be in one may contain a variety of specific defect measured code Province test is valid when the error code positions of the defect and the cause of these defects contained. The test method has targeted, systematic and flexible test method is of great significance for the research and development test AOP code.
Table of contents
Abstract 3-5
Abstract 5-9
first chapter 9-18
1.1 research status - 13
1.2 of this study, the main content 13-14
1.3 background knowledge 14-17
1.4 thesis arrangements 17-18 <br / > The basic idea of ??the second chapter of the test method is 18-26
2.1 test method required documents describe 18-20
2.2 test method description of the steps required 20-25
2.2.1 to extract framework and add test code 21-23
2.2.2-structured file diff 23-25 ??
2.2. 3 analyzes the differences between files and generate test reports 25
2.3 Summary 25-26
Chapter type the defective test method statement 26-53
3.1 for an error to change the inheritance relationship defect test method 26-33
3.1.1 error to change the inheritance relationship defect analysis 26-28
3.1.2 error changing the inheritance relationship defect test 28-33
3.2 test method for error priority defects 33-37
3.2.1 error priority defects analysis 34-35
3.2.2 error priority defect test method 35-37
3.3 test method for error add class members defect 37-47 <br / > 3.3.1 error add class members defective Analysis 38
the 3.3.2 error Add Class members defect test 38-47
3.4 for error Advice priority defects test methods 47-52
3.4.1 error Advice priority defects analysis 47-48
3.4.2 error Advice priority defect test 48 -52
3.5 Summary 52-53
Chapter error description connection point location flawed test methods 53-59
4.1 error description connection point position defects Analysis 53-54
4.1.1 Error analysis of the types of defects Advice 53-54
4.1.2 error the original entry point defect analysis 54 <br / > 4.2 error description connection point position defect test method 54-58
4.3 Summary 58-59
Chapter AOP code test rules and test processes 59-64
5.1 the AOP code test rules the 59-61
5.2 test test rules-based flowchart 61-62
5.3 Summary 62. -64
Chapter test method evaluation and conclusions the 64-76
6.1 test method evaluation 64-74
6.2 Conclusion 74 - 76
6.2.1 the results of this paper and innovation 74-75
6.2.2 further work 75-76
Acknowledgements 76-77
References 77-81
Appendix A (published directory) during the study for a degree 81-82
Appendix B (test code) 82-85
Related dissertations
- Design and implementation of defect management teaching system
- Execution of GPS Navigation Software Testing Based on VSTS
- Dynamic Code Instrumentation and Its Application in Windows
- An Application Research of Creating Test Cases Automatically Based on Basic Path Test
- 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
- Design and Implementation of Uniform Interface Platform System on AOP/IoC in the Telecommunications Industry
- 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