JUnit 4 / JUNIT_HOME Problem
I use Eclipse Java EE IDE for Web Developer Helios Service Release 1.
I want to use 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.2 version of jUnit, but I do not see a way of getting rid of this variable
I find a workaround by going to _each_ project.
Go to Java Build Path -> Libraries in the Project Properties dialog.
Click the Add Library... button, select JUnit, and click Next.
However, it is tedious to do this for each project.
Is there a better way?