Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] Upgrade to Junit4.

Gordon,

As a follow-up to my previous message, I have compared the two jars. Obviously I cannot tell if there are interface changes by doing this, but the major class differences between the version of JUnit 3 we were using and JUnit 4.4 are:

JUnit 4.4 has removed the following:

junit.awtui.*
junit.swingui.*
junit.swingui.icons.*
junit.extensions.ExceptionTestCase
Most of junit.runner
   (The only classes included in 4.4 are:
    junit.runner.BasicTestRunner
    junit.runner.TestRunListener)


Junit 4.4 has added:

junit.framework.JUnit4TestAdapter
junit.framework.JUnit4TestAdapterCache*
junit.framework.JUnit4TestCaseFacade
junit.runner.Version.java.template
org.hamcrest.*
org.hamcrest.core.*
org.hamcrest.internal.*
org.junit.*
org.junit.experimental.*.*
org.junit.internal.*.*
org.junit.runner.*.*
org.junit.runners.*.*
LICENSE.txt

I hope this helps.

-Eric

EDWIN.TANG@xxxxxxxxxx wrote:
Hi Gordon,

The nightly testing has been using Junit4(Version 4.3.1) for building and testing sine the beginning. There are no problem at all. I don't think Version 4.4 would make any difference. I can try this version out with tonight's run.
Thanks,
Edwin

-----Original Message-----
From: GORDON.YORKE@xxxxxxxxxx Sent: July 28, 2008 8:46 AM
To: Dev mailing list for Eclipse Persistence Services
Subject: Re: [eclipselink-dev] Upgrade to Junit4.


What sort of testing rework?
--Gordon

Eric Gwin wrote:
Hi,

I'm working on integrating DBWS into the build system, it is using JUnit4 rather than JUnit3.

Since we can only use once version of JUnit, I could ask that Mike rework his tests for JUnit3. However, I understand that Ganymede ships with JUnit4, and that JUnit3 is in End-of-Life. So we should probably All upgrade to JUnit4.

With that in mind, I downloaded JUnit 4.4 last week and ran some tests. There will be test rework necessary with the upgrade.

Before I go to the webmaster and ask permission to check in a version of JUnit4 so we can start to migrate I want to put it to you: Is there any reason we should not start migrating to JUnit4 at this time?

If not, Is there any reason we should not upgrade to the latest version of JUnit4?
If so, What version would would you recommend?

Thanks.

-Eric
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev



Back to the top