[ 
https://issues.apache.org/jira/browse/SUREFIRE-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17492861#comment-17492861
 ] 

Marco Bungart commented on SUREFIRE-2013:
-----------------------------------------

I know that I can filter the tests with these options. I was just hoping, 
however, that I could split my tests in different source directories and 
divide-up the runs that way. It is a little bit unfortunate that this does not 
seem to be possible.

> property testSourceDirectory does not work as expected/intended
> ---------------------------------------------------------------
>
>                 Key: SUREFIRE-2013
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-2013
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: JUnit 5.x support, Maven Failsafe Plugin, Maven Surefire 
> Plugin
>    Affects Versions: 3.0.0-M5
>            Reporter: Marco Bungart
>            Priority: Minor
>
> h3. Expected behaviour:
> According to [the 
> documentation|https://maven.apache.org/surefire/maven-surefire-plugin/examples/inclusion-exclusion.html],
>  when we set the property {{testSourceDirectory}}, only tests in the 
> specified directory should be executed.
> h3. Actual behaviour:
> All tests are executed
> h3. Reproducer:
> Can be found in [this bitbucket 
> repository|https://bitbucket.org/turing85/surefire-failsafe-bug]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to