You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dan Fabulich (JIRA)" <ji...@codehaus.org> on 2007/11/21 20:51:57 UTC

[jira] Closed: (SUREFIRE-378) junit-dep 4.4 isn't detected; tests are treated as POJO tests.

     [ http://jira.codehaus.org/browse/SUREFIRE-378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Fabulich closed SUREFIRE-378.
---------------------------------

    Resolution: Fixed

fixed in revision 597192

> junit-dep 4.4 isn't detected; tests are treated as POJO tests.
> --------------------------------------------------------------
>
>                 Key: SUREFIRE-378
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-378
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Junit 4.x support
>    Affects Versions: 2.4
>            Reporter: Dan Fabulich
>             Fix For: 2.4
>
>         Attachments: junit44-dep.zip
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira