Freedom, economy and information technology.
Random header image... Refresh for more!

Edivad: how to use old JUnit3 tests with JUnit4

The 4.x way is to use JDK (>=5) annotation, but if you for some reason have to use the JDK 1.4 you have two solutions. The one I prefer is to use junit 3.8.x but if you cannot tolerate the missing of JUnit 4.x in the attached PDF you’ll find the standard 4.x way (with annotation) and a workaround for using the old JUnit TestSuite syntax.

by /home/edivad.

At Gioorgi.com we do not see the point of using Annotations, anyway, this is JDK 5 babies.
So, thank you edivad for your help on finding a way to run junit3 tests on junit4!

Related posts:

  1. [emacs] save a macro « /home/edivad Once you have recorded a macro, you can save it for later usage on a file (or within your .emacs)....
  2. A very good hosting provider After my past experience with bad hosting provider, I am happy to say I have find a very good hosting...
  3. Java JDBC Probe Tired of prepared statement written down on the code? Tired of Hibernate, and willing to come back to crude SQL...
  4. Apache Rampart Welcome to Apache Rampart Rampart is the security module of Axis2. It secures SOAP messages according to specifications in the...