Suppose you have a Java project and a Junit project in your Eclipse workspace. And all unit tests are in the Junit project and depend on the Java application project. When making changes to the Java method, I need to find unit tests that use the method directly or indirectly so that I can run the corresponding tests locally on my PC before checking the initial control. I do not want to run the entire junit project since it takes time.
I could use the Eclipse call hierarchy to expand the caller's methods one by one until I find a test method. But for a project with over 1 million lines of source code, digging up a call hierarchy also takes time.
The search area in the call hierarchy view does not help much.
Appreciate any help.
scope eclipse junit
user289365
source share