Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » JUnit Plugin Test
JUnit Plugin Test [message #260810] Sat, 12 July 2008 06:44 Go to next message
Eclipse User
Originally posted by: annamalai.ancitconsulting.com

Hello All

I have been wondering whats this JUnit Plugin Test ... what does it help me
in .. i wanna learn more about it .. any pointers or help would be great ..
i tried to search on the web .. but didnt find anything basic explaining the
use of JUnit Plugin test ...

HELP HELP !! :)

Regards
Malai
Re: JUnit Plugin Test [message #260813 is a reply to message #260810] Fri, 11 July 2008 19:19 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26141
Registered: July 2009
Senior Member
Malai,

There are two ways you could run the JUnit. Either as a normal Java
application, or running as an OSGi application. If the things you're
testing rely on OSGi for doing proper initialization and registration,
then you'll want to run it as JUnit Plugin Test. Other than how it's
invoked, there's no real significant difference.


Malai wrote:
> Hello All
>
> I have been wondering whats this JUnit Plugin Test ... what does it help me
> in .. i wanna learn more about it .. any pointers or help would be great ..
> i tried to search on the web .. but didnt find anything basic explaining the
> use of JUnit Plugin test ...
>
> HELP HELP !! :)
>
> Regards
> Malai
>
>
>
Re: JUnit Plugin Test [message #261318 is a reply to message #260813] Thu, 17 July 2008 15:45 Go to previous message
Eclipse User
Originally posted by: annamalai.ancitconsulting.com

Dear Ed

Thanks for your reply ... Now i am an Eclipse RCP Trainer and what i get
asked in al my trainings are ..how can we use Junit Plugin Test ...

Is it a misconception that it can be used for testing your plugins or rcp at
Unit Level ... And if it is not .. i would be really happy if i am provided
with an Example ... to check out the same.

Regards
Malai
"Ed Merks" <Ed.Merks@gmail.com> wrote in message
news:g58bof$duc$2@build.eclipse.org...
> Malai,
>
> There are two ways you could run the JUnit. Either as a normal Java
> application, or running as an OSGi application. If the things you're
> testing rely on OSGi for doing proper initialization and registration,
> then you'll want to run it as JUnit Plugin Test. Other than how it's
> invoked, there's no real significant difference.
>
>
> Malai wrote:
>> Hello All
>>
>> I have been wondering whats this JUnit Plugin Test ... what does it help
>> me in .. i wanna learn more about it .. any pointers or help would be
>> great .. i tried to search on the web .. but didnt find anything basic
>> explaining the use of JUnit Plugin test ...
>>
>> HELP HELP !! :)
>>
>> Regards
>> Malai
>>
>>
Re: JUnit Plugin Test [message #261340 is a reply to message #261318] Thu, 17 July 2008 08:51 Go to previous message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
Malai wrote:
> Dear Ed
>
> Thanks for your reply ... Now i am an Eclipse RCP Trainer and what i get
> asked in al my trainings are ..how can we use Junit Plugin Test ...
>
This is not about a special test but it's a launch configuration.
Compare it to launching your RCP or plug-in where you need to use the
'Eclipse Application' or 'OSGi Framework' launch configuration. If you
write a test for the RCP or plug-in you could run it with those
launchers but then it would not be connected to the JUnit view. The
'JUnit Plug-in Test' launch configuration basically combines the normal
launcher with the ability to connect to the JUnit view, so that the test
results can be watched.

Dani
> Is it a misconception that it can be used for testing your plugins or rcp at
> Unit Level ... And if it is not .. i would be really happy if i am provided
> with an Example ... to check out the same.
>
> Regards
> Malai
> "Ed Merks" <Ed.Merks@gmail.com> wrote in message
> news:g58bof$duc$2@build.eclipse.org...
>
>> Malai,
>>
>> There are two ways you could run the JUnit. Either as a normal Java
>> application, or running as an OSGi application. If the things you're
>> testing rely on OSGi for doing proper initialization and registration,
>> then you'll want to run it as JUnit Plugin Test. Other than how it's
>> invoked, there's no real significant difference.
>>
>>
>> Malai wrote:
>>
>>> Hello All
>>>
>>> I have been wondering whats this JUnit Plugin Test ... what does it help
>>> me in .. i wanna learn more about it .. any pointers or help would be
>>> great .. i tried to search on the web .. but didnt find anything basic
>>> explaining the use of JUnit Plugin test ...
>>>
>>> HELP HELP !! :)
>>>
>>> Regards
>>> Malai
>>>
>>>
>>>
>
>
>
Previous Topic:using external text editor
Next Topic:Adding selection listeners
Goto Forum:
  


Current Time: Sun Oct 26 03:14:41 GMT 2014

Powered by FUDForum. Page generated in 0.01969 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software