|Re: Using API tooling to search for test cases [message #605505 is a reply to message #525435]
||Wed, 07 April 2010 08:08
| Ralf Ebert
Registered: July 2009
> Trying to find all the usage of particular Java member in your
> workspace, it might be better to use the JDT command for finding all
> references in your workspace.
the problem is that I'm trying to find something that is not in my workspace or target
platform yet - I'm just trying to find the project I want to check out :) I'm looking for
a way to go from a class like "org.eclipse.swt.Button" to the unit tests that use this
class, without having all the plug-ins that have unit test classes in my workspace. I'm
just trying to make contributing to Eclipse easier and "provide an easy way to find
existing tests" was one of my ideas that I'm investigating.
> To use the API tooling to extract references please start with the wiki
> here: http://wiki.eclipse.org/PDE/API_Tools/Resources, which gives a
> pretty good howto for using the UI and the Ant tasks
thanks for the starting point; but I was looking more for a way to search existing
metadata about references in all the Eclipse projects (like an pre-calculated index which
class uses which other class, or even full-text search would be a good start), not for a
way to generate reports. I guess API Tooling doesn't provide such an index; I'll try to
set this up for an existing project and see what I can get from it...
Powered by FUDForum
. Page generated in 0.01976 seconds