
Tell your friends about this item:
Testing Aspect-oriented Programs with State Models: a Quality Approach for Separated Concerns
Weifeng Xu
Testing Aspect-oriented Programs with State Models: a Quality Approach for Separated Concerns
Weifeng Xu
The new constructs in aspect-oriented programming can cause hazards to quality assurance. To detect aspect defects, this book presents a state-based approach to systematic modeling and testing of aspects. We extend finite state machines with notations for specifying incremental modification aspects, integration aspects, and combination aspects. We compose aspect models with their base class models through an explicit weaving mechanism. We adapt the round-trip path testing of object-oriented programs to the generation of test sequences from woven-state models. An incremental testing process is exploited to determine whether failures, if revealed, have to do with aspects. We have conducted a series of experiments based on three applications. To further evaluate the fault-detection ability, we have created a significant number of mutants (or variation versions) by seeding one or more aspect variations (i.e., potential faults) and exploited multi-variation mutants to investigate the effect of interaction between aspect variations. Our experiments indicate that our model-based testing approach is highly effective in the detection of the seeded aspect faults.
Media | Books Paperback Book (Book with soft cover and glued back) |
Released | August 13, 2008 |
ISBN13 | 9783639075595 |
Publishers | VDM Verlag |
Pages | 96 |
Dimensions | 140 g |
Language | English |
See all of Weifeng Xu ( e.g. Paperback Book )