Announcement Announcement Module

Spring Dynamic Modules forum decommissioned in favor of Eclipse Gemini Blueprint

With the official first release of Eclipse Gemini Blueprint shipped, the migration of the Spring Dynamic Modules code base to the Eclipse Foundation, as part of the Gemini project, has been completed.

As such, this forum has been decommissioned in favour of the Eclipse Gemini forums.
See more
See less
OSGi testing question - JUnit 4 Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • OSGi testing question - JUnit 4

    Why is Spring DM Testing tied to JUnit 3? Is there any reason why I can't use Junit 4?

  • #2
    The reference guide says
    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
    really offs you.

    If you do want to use Junit4, have a look at Pax-exam