[ http://jira.codehaus.org/browse/MSUREFIRE-184?page=comments#action_82653 
] 
            
Prasad Kashyap commented on MSUREFIRE-184:
------------------------------------------

I see the same problme too. If testng is anywhere in the dependency graph, 
surefire conveniently ignores junit even if it is specified explicitly in the 
very same pom.

> No tests detected when both TestNG and JUnit in classpath
> ---------------------------------------------------------
>
>                 Key: MSUREFIRE-184
>                 URL: http://jira.codehaus.org/browse/MSUREFIRE-184
>             Project: Maven 2.x Surefire Plugin
>          Issue Type: Bug
>          Components: TestNG support, Junit 3.x support, classloading
>    Affects Versions: 2.2
>         Environment: Linux, JDK1.5
>            Reporter: Jim Crossley
>
> I have a multi-module project where testng is declared as a dep in the parent 
> and a subproject declares junit as a dep.  When I invoke 'mvn test' in the 
> subproject, surefire doesn't detect any tests to run.  If I simply remove the 
> testng dep from the parent, the tests run fine.

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

        

Reply via email to