You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Roger Pack (JIRA)" <ji...@codehaus.org> on 2008/12/23 22:09:19 UTC

[jira] Commented: (SUREFIRE-125) Surefire finds test classes but ignores test methods and configuration methods with TestNG and includes tag

    [ http://jira.codehaus.org/browse/SUREFIRE-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159113#action_159113 ] 

Roger Pack commented on SUREFIRE-125:
-------------------------------------

http://jira.codehaus.org/browse/SUREFIRE-377 seems related

> Surefire finds test classes but ignores test methods and configuration methods with TestNG and includes tag
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-125
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-125
>             Project: Maven Surefire
>          Issue Type: Bug
>    Affects Versions: 2.0 (2.2 plugin)
>         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
>            Assignee: fabrizio giustina
>             Fix For: 2.3
>
>         Attachments: maven-surefire-plugin-patch.txt, maven2-testng.zip, surefire-patch.txt
>
>
> 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