[ 
https://jira.codehaus.org/browse/SUREFIRE-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=332177#comment-332177
 ] 

Andreas Gudian commented on SUREFIRE-1026:
------------------------------------------

We plan to support stuff like that with a surefire 3.0 version, allowing users 
to more easily hook in their own test scanners, filters, sorters, run 
listeners... 
                
> 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

Reply via email to