Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » JUnit and Plugins
JUnit and Plugins [message #326222] Wed, 12 March 2008 10:26 Go to next message
Manuel Selva is currently offline Manuel SelvaFriend
Messages: 189
Registered: July 2009
Location: Grenoble, France
Senior Member
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 12: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 14:05 Go to previous message
Manuel Selva is currently offline Manuel SelvaFriend
Messages: 189
Registered: July 2009
Location: Grenoble, France
Senior Member
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: Sun Jul 07 04:10:56 GMT 2024

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

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

Back to the top