Problem with JUnit 4 / JUNIT_HOME [message #257837] |
Wed, 17 December 2008 02:50 |
Eclipse User |
|
|
|
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?
|
|
|
Powered by
FUDForum. Page generated in 0.02911 seconds