[ http://jira.codehaus.org/browse/MSUREFIRE-134?page=comments#action_67293 
] 

Paul Russell commented on MSUREFIRE-134:
----------------------------------------

I'm seeing the same thing when using a 'zero-config' Surefire plugin. It's 
finding the classes, but then not executing any of the methods. Thankfully I'm 
at the beginning of my project at the moment, so I can make do with JUnit for 
the time being, but I'd rather be using NG.

> Surefire finds test classes but ignores test methods and configuration 
> methods with TestNG and includes tag
> -----------------------------------------------------------------------------------------------------------
>
>          Key: MSUREFIRE-134
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-134
>      Project: Maven 2.x Surefire Plugin
>         Type: Bug

>     Versions: 2.2
>  Environment: Maven 2.0.4
> Surefire Plugin 2.2
> TestNG 4.7 jdk15 (using annotations)
> Sun JDK 1.5_06
> Windows XP SP 2
>     Reporter: Mark Reynolds
>  Attachments: maven2-testng.zip
>
>
> Attachment contains 2 projects which are identical except for how the test 
> cases are referenced. In one project they are referenced via a suite xml 
> file. In the second they are referenced using the includes tag. I believe 
> they should produce identical results.
> Both projects find all 6 test classes, but only the one using a suite xml 
> file actually executes the configuration methods and test methods. The 
> project using an includes tag completely ignores the configuratiion methods 
> and test methods.

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