[ https://issues.apache.org/jira/browse/SUREFIRE-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov updated SUREFIRE-438: ------------------------------------ Fix Version/s: (was: Backlog) > Consider usage of filesets to specify suite XML files > ----------------------------------------------------- > > Key: SUREFIRE-438 > URL: https://issues.apache.org/jira/browse/SUREFIRE-438 > Project: Maven Surefire > Issue Type: Improvement > Components: TestNG support > Affects Versions: 2.4 > Reporter: Benjamin Bentmann > 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 was sent by Atlassian JIRA (v6.3.4#6332)