Why is Spring DM Testing tied to JUnit 3? Is there any reason why I can't use Junit 4?
Why is Spring DM Testing tied to JUnit 3? Is there any reason why I can't use Junit 4?
The reference guide says
really offs you.What about JUnit4/TestNG?
While JUnit4/TestNG overcome the class inheritance problem that appears when building base JUnit
classes, by decoupling the runner from the test through annotations, Spring DM cannot use them since it
has to support Java 1.4.
However, it is planned for the future to provide an optional, JVM 5-based testing extension to integrate
the existing testing framework with the aforementioned libraries
If you do want to use Junit4, have a look at Pax-exam