lanbeier / testng-eclipse

Automatically exported from code.google.com/p/testng-eclipse
0 stars 0 forks source link

testng-eclipse does not support RCP products #48

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by florian....@gmail.com on 21 Sep 2009 at 4:47

Attachments:

GoogleCodeExporter commented 9 years ago
The original discussion can be found here:
http://www.nabble.com/-PATCH--support-for-testing-eclipse-plugins-(osgi-bundles)
-td16812225.html#a16813717

Original comment by florian....@gmail.com on 22 Sep 2009 at 10:22