JUnit Plugin Test [message #260810] |
Sat, 12 July 2008 02:44  |
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 #261318 is a reply to message #260813] |
Thu, 17 July 2008 11:45  |
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 04:51  |
Eclipse User |
|
|
|
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
>>>
>>>
>>>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.10642 seconds