[ http://jira.codehaus.org/browse/SUREFIRE-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Fabulich updated SUREFIRE-438: ---------------------------------- Fix Version/s: 2.x > Consider usage of filesets to specify suite XML files > ----------------------------------------------------- > > Key: SUREFIRE-438 > URL: http://jira.codehaus.org/browse/SUREFIRE-438 > Project: Maven Surefire > Issue Type: Improvement > Components: TestNG support > Affects Versions: 2.4 > Reporter: Benjamin Bentmann > Fix For: 2.x > > Attachments: testng-suites-by-fileset-it.patch, > testng-suites-by-fileset.patch > > > Currently, one has to provide TestNG suite files individually because the > parameter {{sutieXmlFiles}} is of type {{java.io.File[]}}. This approach does > not scale well when one wants to run several/dozens of those files. A > motivating use-case would be to get TestNG to run a single test class per > suite. > Specifying a fileset (like the one used by the maven-clean-plugin to specify > additional clean locations) instead of a file array would make things much > easier. This fileset parameter could be defaulted to a base directory like > "src/test/config/testng" and an include filter of "*.xml" such that the user > simply needs to drop his suite XML files into that folder and Surefire finds > them automatically ("convention over configuration"). -- 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