Get invoked methods of source code for each statement of a junit test
I want to get the invoked methods(or lines) of source code for each
statement in junit test. The left picture describes this question. Each
statement in a junit test invokes some methods in the source code.
Therefore, Each statement in the test will have a list of invoked methods.
The reason why I want to get this information is to know that which
statement in the test invokes a certain method in the source code. The
right picture describes this.
Is there a technique to solve this problem?
No comments:
Post a Comment