You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2010/06/11 12:47:12 UTC

[jira] Closed: (SUREFIRE-532) JUnit and TestNG clash with each other

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

Carlos Sanchez closed SUREFIRE-532.
-----------------------------------

    Resolution: Duplicate
      Assignee: Carlos Sanchez

See SUREFIRE-377

> JUnit and TestNG clash with each other
> --------------------------------------
>
>                 Key: SUREFIRE-532
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-532
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: classloading
>    Affects Versions: 2.4.3
>         Environment: Windows XP sp2, Maven 2.0.9, JUnit 4.x, TestNG 5.x
>            Reporter: Dominic Farr
>            Assignee: Carlos Sanchez
>         Attachments: surefire-classload-issue.zip
>
>
> I have a simple maven project with JUnit and TestNG as dependencies.
> I only have JUnit tests using the @Test annotation.
> But if TestNG is on the classpath the test class is picked up by surefire, but the Test annotation is ignored. 
> I have not included a test, but a simple demo maven app.

-- 
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