Vidock: a Tool for Impact Analysis of Aspect Weaving on Test Cases
Résumé
Weaving aspects in a program impacts its existing behaviors. If test cases exist for the program, we must identify the ones that validate impacted behaviors to check the interactions between the program and the aspects. Vidock performs a static analysis when aspects are compiled with a program to select the test cases impacted by the aspects. It leverages the pointcut descriptor to locate the set of methods impacted by aspects and then selects the test cases that can reach an impacted method. This analysis assumes that the program can execute without the aspects and that static over approximations are reasonable. We measure the occurrence of these assumptions in 46 projects containing 498 aspects to show they have a limited impact. Then, we run experiments with Vidock on 5 cases studies and analyze the impacts that different types of aspects can have on test cases.
Domaines
Génie logiciel [cs.SE]Origine | Fichiers produits par l'(les) auteur(s) |
---|
Loading...