Font Size: a A A

Several Specific Defects In Software Testing Methods, The Aop Code

Posted on:2011-12-10Degree:MasterType:Thesis
Country:ChinaCandidate:Y H LaoFull Text:PDF
GTID:2208330332976641Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
AOP has been understood and used by more and more people. As AOP introduces some new structure, the fault caused by AOP is different from the other fault caused by other program. Now the new testing method is needed.Today there are many of sophisticated testing methods. It is important to classify these methods into three kinds. First, designing and using a method, AOP code can be transformed into OOP code. And making use of testing AOP's testing method and testing tools tests the OOP code transformed from AOP code. It is the most important how to transform code from AOP into OOP in this kind of method. So This kind of method is simple. But It Completely abandon fault caused by AOP and the characteristics of the fault. Then it is great difficultly to determine the location of the defect. Second, using the characteristics of AOP can be woven, liking using AOP to test aspect-oriented programming, this kind of method is after using of AOP to generate testing tool, then use this testing tool test Aspect cods. It bring convenience to the realization of the test, but how to ensure the credibility and feasibility of testing must be solved. Third, according to the characteristics of AOP, this kind of method improve traditional testing methods, and form new kind of test AOP approach. In this method, the fault-based testing method is systematic, targeted and flexible.In this thesis, the testing method is based on the fault-based testing method. In order to ensuring the credibility and feasibility of test, the adding code used to be testing code only records the information caused by implementing the tested code. So they don't contain the cods that affect and produce fault, and avoid the deficiency in second testing method. By analyzing the AOP code that may exist fault, these fault is classified into two categories, then analyze the reason that several specific fault in two categories produced, the impact that several specific fault caused, and the situation that cause several specific fault. Propose one testing method idea, design some concrete approach to test these specific faults, provide a rule to test a variety of fault, and evaluate the effectiveness of the testing method in my thesis.The testing method in my thesis, is designed for several specific faults and it is the sub-level, iterative testing method. The approach how to avoid deficiencies in the second testing method not only ensure the credibility and viability of the test results, but also belong to the innovation. Moreover, the basic idea designed in this thesis, the testing rule and the concrete testing methods are innovation too. Through this testing method, tester can find all of the faults in AOP code by an effective way and ascertain the location of the wrong code. The test method is targeted, systematic and flexible, an is significant to the development of testing method tested AOP.
Keywords/Search Tags:Aspect-Oriented Programming, fault, testing method, differences comparison
PDF Full Text Request
Related items