Issue Details (XML | Word | Printable)

Key: MPTEST-65
Type: Task Task
Status: Reopened Reopened
Priority: Minor Minor
Assignee: Unassigned
Reporter: Arnaud Heritier
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Test Plugin

Upgrade to Junit 4.0

Created: 16/Jul/06 05:34 PM   Updated: 06/May/07 03:02 PM
Component/s: None
Affects Version/s: 1.8
Fix Version/s: None

Time Tracking:
Not Specified


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

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Arnaud Heritier added a comment - 16/Jul/06 06:28 PM
Done

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

Arnaud Heritier added a comment - 17/Jul/06 04:16 PM
To be done.....

Arnaud Heritier added a comment - 02/Nov/06 02: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