You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org> on 2011/02/09 21:41:22 UTC

[jira] Updated: (SUREFIRE-693) The @factory annotation is ignored

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

Kristian Rosenvold updated SUREFIRE-693:
----------------------------------------

    Component/s: TestNG support

> The @factory annotation is ignored
> ----------------------------------
>
>                 Key: SUREFIRE-693
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-693
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: TestNG support
>    Affects Versions: 2.7.2
>         Environment: ubuntu 10.10, jdk 1.6, testng 5.14.6, maven 3.0.2
>            Reporter: Yoryos Valotasios
>
> The plugin ignores methods annotated with @org.testng.annotations.Factory and tries to instantiate the test class (that should get instantiated by the factory method) alone.
> When I provide a suiteXmlFile everything seems to be ok except that I have to maintain a different suite file for each scenario as the excludedGroups configuration is ignored and the excludegroups property is also ignored.

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