State-based testing of integration aspects

Weifeng Xu, Dianxiang Xu · 2006

Aspect-oriented programming supports a variety of composition strategies, from the clearly acceptable to the questionable. One of the strategies is to make an aspect integrate separate concerns. Such integration aspects, like other aspects, may introduce various programming faults, including incorrect join points, pointcuts, and advice. This paper presents a preliminary study on the state-based testing of integration aspects. We exploit aspectoriented state models for specifying integration aspects, compose state models of aspects and classes, and generate test cases for integration aspects from their state models. We exercise integration aspects through the interface of their base classes. We also discuss the issues of testing deeply crosscut integration aspects through the clients of their base classes.

Read the paper · More papers on PaperTik