lets say we have class A, and I have a lot of junit classes, what is the easiest way to run all junit or all junit classes that make a reference to this class A?
for example,
Interestingly, Eclipse is supposed to have a feature exactly for this purpose. Under the "Search" menu, there is an item labeled "Referring Tests...".
According to the Eclipse documentation, this command:
Finds all JUnit tests that refer to the currently selected type
Unfortunately, it appears that this feature still does not work .
Maybe it's a sign it's just as well to run all the tests, as mentioned in the comments.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.