[ http://jira.codehaus.org/browse/SUREFIRE-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated SUREFIRE-177: ---------------------------------- Fix Version/s: (was: 2.3) 2.4 > Groups stipulated in the pom file get ignored when using a suiteXMLFile > ----------------------------------------------------------------------- > > Key: SUREFIRE-177 > URL: http://jira.codehaus.org/browse/SUREFIRE-177 > Project: Maven Surefire > Issue Type: Bug > Components: TestNG support > Environment: JDK 1.5 > Reporter: Muhammad Alsebaey > Fix For: 2.4 > > > When using suiteXMLFile, the code that instantiates the tests is: > surefireBooter.addTestSuite( > "org.apache.maven.surefire.testng.TestNGXmlTestSuite", > new Object[]{file, > testSourceDirectory.getAbsolutePath()} ); > In contrast with when running without it, we have > surefireBooter.addTestSuite( > "org.apache.maven.surefire.testng.TestNGDirectoryTestSuite", new Object[]{ > testClassesDirectory, includes, excludes, groups, > excludedGroups, Boolean.valueOf( parallel ), > new Integer( threadCount ), > testSourceDirectory.getAbsolutePath()} ); > I know that I can stipulate in testng.xml the groups to run, but what If I > didnt and I did that in pom.xml, shouldn't the plugin be aware of that? -- 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