Search Books

TESTING ASPECT-ORIENTED PROGRAMS WITH STATE MODELS: A Quality Approach for Separated Concerns

Author Weifeng Xu
Publisher VDM Verlag
📄 Viewing lite version Full site ›
🌎 Shop on Amazon — choose country
73.56 USD
🛒 Buy New on Amazon 🇺🇸 🏷 Buy Used — $69.25

✓ Usually ships in 24 hours

Share:
Book Details
Author(s)Weifeng Xu
PublisherVDM Verlag
ISBN / ASIN3639075595
ISBN-139783639075595
AvailabilityUsually ships in 24 hours
Sales Rank10,192,159
MarketplaceUnited States 🇺🇸

Description

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.