Issue Details (XML | Word | Printable)

Key: SUREFIRE-378
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Dan Fabulich
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Maven Surefire

junit-dep 4.4 isn't detected; tests are treated as POJO tests.

Created: 20/Nov/07 04:23 PM   Updated: 21/Sep/08 04:13 AM
Component/s: Junit 4.x support
Affects Version/s: 2.4
Fix Version/s: 2.4

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive junit44-dep.zip (2 kB)

Issue Links:
Supercedes
 

Complexity: Intermediate


 Description  « Hide
Run "mvn test" with the attached project. The setup will fail as "setup" never runs.

This test depends on junit:junit-dep rather than junit:junit. junit-dep is just like regular junit, except it doesn't bundle hamcrest in the junit jar; junit-dep.jar includes only junit.* stuff. The junit-dep pom depends on hamcrest-core 1.1.

Surefire fails to detect junit:junit-dep and treats the test as a POJO test.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dan Fabulich added a comment - 21/Nov/07 01:49 PM
fixed in revision 597192