The @factory annotation is ignored ---------------------------------- Key: SUREFIRE-693 URL: http://jira.codehaus.org/browse/SUREFIRE-693 Project: Maven Surefire Issue Type: Bug 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