java - Inserting joinpoint inside methods with AspectJ? -
I need to write a code coverage program for testing using the aspen plug-in for eclipse.
At this time I know, points, what is done by JUnit in case of trial testing and how many times they are called but my problem is that I want to insert a joint point inside a method (eg For if-else
condition or a codec with a loop to capture execution of a block-code). As per the Aspects Documenting
The number of scripts involved in a large number of scripts is a program. But they only take points to connect with some small types. Those types of join points correspond to some important concepts in Java. Here's an incomplete list: method call, method execution, exception handling, instant, constructor execution, and field access. The issue of connecting each type can be picked from your own special point that you will learn in other parts of this guide.
But I have to know that when code-branch has reached inside a ritual. Can there be a possible solution, maybe expanding one aspect?
Thanks in advance
Comments
Post a Comment