My big thing with JUnit4 is that it finally allows initializer methods to be called at instantiation, although I haven't had much need for this in Tuacany. One thing we should be careful of in deciding to use JUnit4 is integration with mock object frameworks. Currently, in core2 and in the Celtix binding, we use JMock and EasyMock. IMO having a mock object framework far outweighs the benefits of JUnit4 if the two prove to be incompatible.

I've taken a quick look at TestNG a while back and think it has some really cool features (e.g. concurrency, test groups, etc.) and do believe it is a more complete testing framework in that it has features for integration testing built in. One big benefit for JUnit is ubiquity, although I think it would be useful to look at TestNG more closely when we tackle the issue of getting an integration build.

Also, Cedric (one of the TestNG guys) is a really good squash player so TestNG must be good as well ;-)

Jim


On Jul 6, 2006, at 1:06 AM, Meeraj Kunnumpurath wrote:

I have been looking at TestNG lately. It is lot better than Junit 3.8.1. However, I think lot of those features are incorporated in Junit 4.0. I
am not sure about the Maven support for TestNG.

-----Original Message-----
From: Jeremy Boynes [mailto:[EMAIL PROTECTED]
Sent: 06 July 2006 02:10
To: [email protected]
Subject: Re: Do we plan to move to JUnit 4.1?

On Jul 5, 2006, at 5:05 PM, Raymond Feng wrote:

I'm wondering if we plan to move to JUnit 4.1? I see more
flexibilities and simplicities offered by JUnit 4.x. Now I can also
use the wizards from Eclipse 3.2 to take advantage of it.

Do we see any issues? I understand Junit 4.x requires JDK 5. I'm not
sure if maven 2.0.4 supports it.

We had a look at junit 4 back in Sep but stayed with 3.8.1 due to the
lack of maven support. Can you find out if that has changed? If it has
it might be worth upgrading.

--
Jeremy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


This message has been checked for all email viruses by MessageLabs.




*****************************************************

    You can find us at www.voca.com

*****************************************************
This communication is confidential and intended for
the exclusive use of the addressee only. You should
not disclose its contents to any other person.
If you are not the intended recipient please notify
the sender named above immediately.

Registered in England, No 1023742,
Registered Office: Voca Limited
Drake House, Three Rivers Court,
Homestead Road, Rickmansworth,
Hertfordshire, WD3 1FX


This message has been checked for all email viruses by MessageLabs.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to