maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (SUREFIRE-177) Groups stipulated in the pom file get ignored when using a suiteXMLFile
Date Wed, 24 Jan 2007 03:17:28 GMT

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

Brett Porter updated SUREFIRE-177:
----------------------------------

    Fix Version/s: 2.3

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

        

Mime
View raw message