My favorites | Sign in
Project Home
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 48: testng-eclipse does not support RCP products
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by florian....@gmail.com, Sep 21, 2009
We are using the eclipse rcp framework a lot and missed the support for 
testing eclipse plugins (osgi bundles) using testng (integration 
testing). I have seen requests for such a feature in the past, but 
nobody seems to be working on it. Therefore I simply implemented it 
myself and here is the result. Following the open source mantra, I 
release early. This is the first version of the code I got working. 
Documentation is mostly missing and there are a few rought edges. But 
in general it fulfills my needs. The code borrows heavily from the 
org.eclipse.pde.junit.runtime and the org.eclipse.pde.ui plugins. I 
release the code under the EPL, like the original code. Please be aware 
that the copyright headers within the code are probably not correct 
yet.

In order to use the code you have to build the 
org.testng.eclipse.runtime plugin using eclipse, apply the patch
org.testng.eclipse-r125-plugin-support.patch (included in the tarball) to
the testng-eclipse plugin and install both in your ~/eclipse/dropins 
directory. After a relaunch you should have a new launch 
configuration "TestNG plugin". It works just like the JUnit Plug-in 
Test launch configuration and the TestNG configuration.

For one reason or the other, the output from svn diff has mixed line 
endings. Please be careful before committing to svn after applying the 
patch.

I hope this patch gets in after a little review.
org.testng.eclipse.runtime.tar.gz
170 KB   Download

Powered by Google Project Hosting