jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Maven 1.x Test Plugin
  • Maven 1.x Test Plugin
  • MPTEST-65

Upgrade to Junit 4.0

  • Log In
  • Views
    • XML
    • Word
    • Printable

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

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Arnaud Heritier added a comment - 16/Jul/06 6:28 PM

Done

Show
Arnaud Heritier added a comment - 16/Jul/06 6:28 PM Done
Hide
Permalink
Arnaud Heritier added a comment - 17/Jul/06 4:14 PM

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

Show
Arnaud Heritier added a comment - 17/Jul/06 4:14 PM Can't do it. It requires JDK 1.5 and we can load it dynamically
Hide
Permalink
Arnaud Heritier added a comment - 17/Jul/06 4:16 PM

To be done.....

Show
Arnaud Heritier added a comment - 17/Jul/06 4:16 PM To be done.....
Hide
Permalink
Arnaud Heritier added a comment - 02/Nov/06 2:58 AM

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 - 02/Nov/06 2:58 AM 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
Vote (0)
Watch (0)

Dates

  • Created:
    16/Jul/06 5:34 PM
    Updated:
    06/May/07 3:02 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.