|Re: Unit testing eclipse plugins [message #96081 is a reply to message #92680]
||Tue, 17 April 2007 11:15
| Paul Slauenwhite
Registered: July 2009
TPTP provide analogous support for JUnit plug-in tests called the TPTP
JUnit Plug-in test. See
for more information.
From your JUnit plug-in test code, you can access the OSGi and PDE APIs
for accessing your plug-in's manifests and extensions/extension points.
"Jacek Pospychala" <firstname.lastname@example.org> wrote in message
> The best place to ask this question would be eclipse.platform unless
> you're looking for the TPTP support for plug-in testing.
> Standard PDE gives you ability to run your JUnit test cases in Plug-in
> environment. Try "Run As->JUnit Plugin Test" - it lets you launch your RCP
> headless and execute test cases, eg. access extension points, or access
> Anand Narasimhan napisal(a):
>> I don't know if this is the right forum to ask this question, but...
>> How can I use JUnit for testing eclipse plugins, especially extension
>> I have an RCP application, for which I have defined a few extension
>> points. I want to test my extension point parsing code. Since extensions
>> are specified in the plugin.xml file and the junit project is not a
>> plugin project, how will junit read the plugin xml.
>> Any examples/samples or pointers to resources that describes this process
>> would be really helpful.
Powered by FUDForum
. Page generated in 0.01911 seconds