title: How do I set up a test project for a Eclipse plugin project
body: <p>I'm working on a eclipse plug-in and I've tried to create another test project seperate from the plug-in. The reason I do this is to not let the plug-in depend on jUnit when it is exported. However, I can't access the Eclipse Plug-in API when I do the testing. Whenever I try to add Plug-in dependencies the import list to that is empty.</p>
  
  <p>Does anyone know how to import Eclipse plug-in API to an existing project? The workspace layout looks like this at the moment:</p>
  
  <pre><code>+- com.foo.myplugin
  |     |
  |     +- JRE System Library
  |     |
  |     +- Plug-in Dependencies
  |     |
  |     +- src
  |     |
  |     +- icons, META-INF, plugin.xml, etc...
  |
  +- com.foo.myplugin.test
        |
        +- JRE System Library
        |
        +- JUnit 4
        |
        +- src
  </code></pre>