Eclipse 3.5 (Galileo) JUnit update

I would like to upgrade the JUnit version of my Eclipse Galileo (on windows) to JUnit 4.8.1 instead of the included JUnit 4.5. It seems the plugin update is not used to use the new version or the way to change the location of the JUnit 4 banners. How can I update the new version and / or use the JUnit jar not located in the eclipse installation directory?

+6
eclipse junit
source share
2 answers

For simple java projects

You can add the junit.jar that you want to use as a file in your project, add it to the build path and remove the specific junit library from eclipse from the build path (assuming it was there).

For plugin projects

You can do as described above, or create a new plugin from the junit 4.8 jar and add it depending on the test plugin.

+2
source share

Note. Eclipse Galileo 3.5.2 (just released today) , and Eclipse Helios 3.6M5 (for exit) has JUnit4.8. See Notes on scheduling a meeting dated January 27th .

Darn ... As OP Andrew notes, the latest Eclipse 3.5.2 still has JUnit4.5.
As stevendick adds: it should not do this in the 3.5 release cycle, but should probably do it in recent 3.6Mx releases.

0
source share

All Articles