[ https://issues.apache.org/jira/browse/SUREFIRE-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17493778#comment-17493778 ]
Marco Bungart commented on SUREFIRE-2013: ----------------------------------------- [~tibordigana] Not as I would like it to (i.e. honoring the `testSourceDirectory`), but this is expected behaviour and a documentation error. Thus, this ticket can be closed. > 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)