Details

    • Type: Task Task
    • Status: Reopened Reopened
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.8
    • Fix Version/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Upgrade to Junit 4.0
      JUnit 4.1 isn't (yet) available on ibiblio.

        Activity

        Hide
        Arnaud Heritier added a comment -

        Done

        Show
        Arnaud Heritier added a comment - Done
        Hide
        Arnaud Heritier added a comment -

        Can't do it. It requires JDK 1.5 and we can load it dynamically

        Show
        Arnaud Heritier added a comment - Can't do it. It requires JDK 1.5 and we can load it dynamically
        Hide
        Arnaud Heritier added a comment -

        To be done.....

        Show
        Arnaud Heritier added a comment - To be done.....
        Hide
        Arnaud Heritier added a comment -

        It's possible to use JUnit 4.x with maven 1.x :

        • add Junit 4.X in your dependencies
        • Use the JUnit4TestAdapter in your test classes :
          /**
        • @return instance of this as Junit test case
          */
          public static junit.framework.Test suite() { return new JUnit4TestAdapter(MyTestClass.class); }
        • run maven with a jdk >= 5
        Show
        Arnaud Heritier added a comment - It's possible to use JUnit 4.x with maven 1.x : add Junit 4.X in your dependencies Use the JUnit4TestAdapter in your test classes : /** @return instance of this as Junit test case */ public static junit.framework.Test suite() { return new JUnit4TestAdapter(MyTestClass.class); } run maven with a jdk >= 5

          People

          • Assignee:
            Unassigned
            Reporter:
            Arnaud Heritier
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: