Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » exchange eclipse junit.jar file, how to?
icon5.gif  exchange eclipse junit.jar file, how to? [message #492820] Wed, 21 October 2009 17:03 Go to next message
Eclipse UserFriend
hi guys,

I enhanced junit with some new annotations and changed behaviour of processing test methods to fit my needs. It is running on command line.

Never the less, when I run the junit tests from eclipse, eclipse uses the junit jar shipped with the plugin instead the one I have within my project.
How can I tell the plugin to use my own junit jar file on runtime? The code completion assist recognizes my changes while coding, the test runner doesnt.

I tried to simply replace the class files within the junit.jar shipped with eclipse which did not work.

Can you please tell me how to use my own junit.jar for running junits in eclipse?

Thanks,
Remo

[Updated on: Wed, 21 October 2009 17:04] by Moderator

Re: exchange eclipse junit.jar file, how to? [message #493033 is a reply to message #492820] Thu, 22 October 2009 15:31 Go to previous message
Eclipse UserFriend
I believe if you go to the "Order and Export" tab in the "Java Build Path" section of the project preferences, you'll need to select the modified junit.jar you have and move it up. Putting it at the very top is safe.
Previous Topic:Problem with Install New Software
Next Topic:How do I disable pop-up help windows?
Goto Forum:
  


Current Time: Wed Sep 24 21:07:37 EDT 2025

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

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

Back to the top