Font Size: a A A

Fault Injection Testing Technique Research For Pointcuts In Aspect-Oriented Programming

Posted on:2009-04-21Degree:MasterType:Thesis
Country:ChinaCandidate:S L ZhuangFull Text:PDF
GTID:2178360278450360Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
As a most recently popular software development method, Aspect-Oriented Programming (AOP)is further developing and supplying for Object-Oriented software development method. The main purpose of AOP is separation of concern , the concern is separated into core concerns and crosscutting concerns. Through AOP, the code's interference and chaos situation will be reduced. At the same time, as the procedure of forming new code segments and quantifying instructions, the new bug may be introduced. As a result, the AOP testing research should be payed great attention with using the AOP widely.Today's Aspect-Oriented Software Development (AOSD)research concentrates on problem analysis, software design and execution technique. Although we can develop high quality software through using Aspect-Oriented development technique, it can not guarantee that there is no mistake in Aspect-Oriented application and development.Aspect-Oriented programming language reinforce coding type's standard, but it can not prevent the developer from mistaking or insufficiently understanding for specifications. As a result, software testing is an important task in Aspect-Oriented development. For some characters of AOP, the traditional testing architecture and technique can not be used in Aspect-Oriented programming directly. Some special feature should be considered in testing procedure. The Aspect-Oriented testing technique needs researching in-depth. More appropriate testing method and architecture should be discovered, and more effective testing cases should be designed. This paper carefully analyzed the faults possible occurred and obtained AOP fault styles. These fault styles provide a good guide for Aspect-Oriented testing, and become an important evidence for Aspect-Oriented testing research and implement.Many faults in Aspect-Oriented programming are latent, so hard to detect. It is hard to cover all branches with simple coverage testing criterion. For this reason, we proposed a method of injecting a fault into tested software, the tested branch is forced to execute by this method, the latent fault will be exposed, and the testing coverage rate will be raised.In the paper, based on the AOP fault types together with the mutation-based fault injection technique, we proposed an AOP fault injection testing process based on fault types. Under the guidance of the fault types for AOP pointcuts,we studied the generation methods for the pointcut variation. With the application of fault injection technique based on mutation testing, this technique will raised testing coverage rate and can detect the sensitivity of the testsuite.
Keywords/Search Tags:AOP, Fault Model, Fault Injection, Mutation Testing, Software Testing
PDF Full Text Request
Related items