Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » JUnit and Plugins
JUnit and Plugins [message #326222] Wed, 12 March 2008 06:26 Go to next message
Eclipse UserFriend
Hi all,

I would like to start to test my Plug-ins code using Junit ... i know i am
late but .... ;o)

Is there any good tutorial on the subject ? After a quick search on Google
i didn't find such a document on my favorites Eclipse's sites ...


How do YOU unit test your plug-ins ?

What is the difference between test runner Junit 4 and Junit 3 ?

Regards,

Manuel
http://manuelselva.wordpress.com
Re: JUnit and Plugins [message #326225 is a reply to message #326222] Wed, 12 March 2008 08:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Manuel,

Most of the download pages have a zip that includes the JUnit tests for
that component. You could look at those as examples.

I think JUnit 4 can make use of Java 5.0 things like annotations and
generics. But I'm not sure about that. Probably most of the tests
you'll find are using the older JUnit stuff.



Manuel Selva wrote:
> Hi all,
>
> I would like to start to test my Plug-ins code using Junit ... i know
> i am late but .... ;o)
>
> Is there any good tutorial on the subject ? After a quick search on
> Google i didn't find such a document on my favorites Eclipse's sites ...
>
>
> How do YOU unit test your plug-ins ?
>
> What is the difference between test runner Junit 4 and Junit 3 ?
>
> Regards,
>
> Manuel
> http://manuelselva.wordpress.com
>
Re: JUnit and Plugins [message #326231 is a reply to message #326225] Wed, 12 March 2008 10:05 Go to previous message
Eclipse UserFriend
Ed,

Thanks for the link to download pages and Junit packages. It's just what i
was looking for (i didn't knew the existence of these packages) ;o)

Manu
Previous Topic:Re: Retarget or override Open, Save, Delete actions
Next Topic:How to get StatusLineManager...my plug-in does not have a ViewPart
Goto Forum:
  


Current Time: Sat May 03 16:19:30 EDT 2025

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

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

Back to the top