Are there any automated tools to find class dependencies when writing unit tests.
An example to show what I mean:
We want to write unit tests for class ToBeTested. So I will write some tests to verify the expected behaviour of the class. Now I still dont know if there are class depencies as in ToBeTested probably uses lots of other classes. This is important to know because we will want to break those dependencies or at least make sure they are safe(tested already).
Best way to find dependencies I found so far is using eclemma which gives me a list of classes with code that run during test.
But know im typing those classes down manually, is there any easier/automated way to get these classes and even use this list in my java programs.
Edit: Sorry, I am using eclipse and java.