How to get dependency called from Junit test
获取每个 Junit 测试方法（@Test 方法）调用的方法级依赖列表的方法，换句话说，我想知道每个 Junit 测试中使用的方法列表。如果您知道任何相关工具，我将不胜感激。
For my project, I would like to know how to get list of method-level dependency called from each Junit test method(@Test method). In other words, I would like to know list of method used in each Junit test. I would appreciate if you let me know any tools for it.
It looks like you'd like to have a method oriented coverage report.
I don't think there is any tool that does exactly what you need. But using a tool such as JaCoCo and running tests independently (which will take a while) you might be able to analyze results and get a list of called methods.