You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2015/09/06 22:51:50 UTC

[jira] [Closed] (SUREFIRE-438) Consider usage of filesets to specify suite XML files

     [ https://issues.apache.org/jira/browse/SUREFIRE-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed SUREFIRE-438.
-----------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period of time. If you think this issue still applies, retest your problem with the most recent version of Maven and the affected component, reopen and post your results.

> 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)