Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Problem with JUnit 4 / JUNIT_HOME
Problem with JUnit 4 / JUNIT_HOME [message #257837] Wed, 17 December 2008 02:50
Eclipse UserFriend
Hello newsgroup,

I am using Eclipse 3.4.1 and want to run tests with the JUnit-plugin
shipped with Eclipse.

I want to use JUnit4 and so I added JUnit4 via
Project-->Properties-->BuildPath-->Libaries-->Add Library...
From the wizard dialog I selected JUnit4.

However when I run any Test using "Run As..." ==> JUnit Test it runs with
Junit 3.8 (Annotations are ignored and any class that does not contain
some "testXXX()" method prints out a warning)


I found a classpath variable "JUNIT_HOME (non modifiable, deprecated)"
that still points to an old 3.8 version of jUnit and think that this might
cause the problem, but I do not see a way of getting rid of this variable

Does anyone know how to solve this problem?
Previous Topic:JDT Builder : My .emtl files in the Java output folder
Next Topic:APT processing on Local Variables (was Modeling Local Variables)
Goto Forum:
  


Current Time: Sat Apr 26 21:26:34 EDT 2025

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

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

Back to the top