You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mickael Istria (JIRA)" <ji...@codehaus.org> on 2013/08/29 11:40:52 UTC

[jira] (SUREFIRE-1026) Allow SurefireBooter framework to use alternative resolve for test classes

Mickael Istria created SUREFIRE-1026:
----------------------------------------

             Summary: Allow SurefireBooter framework to use alternative resolve for test classes
                 Key: SUREFIRE-1026
                 URL: https://jira.codehaus.org/browse/SUREFIRE-1026
             Project: Maven Surefire
          Issue Type: Wish
    Affects Versions: 2.15
            Reporter: Mickael Istria


For Tycho, there is a use-case that makes that we want to resolve includes/excludes for Surefire against either:
* multiple directories (Tycho, as PDE, allows multiple directories for the classes depending on project-specific configuration; and all these directories can contain tests)
* a bundle, which might contain some nested jars (nested jars are allowed by OSGi and can contain some jars, which can contain some tests to execute).

I had a look at the surefire-booter framework, and it appears that the DirectoryScannerParameters allows only a single folder, and is propagated directly in all the surefire-booter framework. It would be interesting to introduce an abstract class to resolve the TestClasses, where Tycho could hook a resolver against an OSGi bundle instead of a resolver against a single directory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira