[
https://issues.apache.org/jira/browse/SUREFIRE-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16850918#comment-16850918
]
Michał Nowotnik commented on SUREFIRE-827:
------------------------------------------
[~tibordigana] The path filtering with -Dtest=... also does not work properly
for me with version 2.19.1.
My CLI command:
{code:java}
mvn surefire:test -Dtest=my_module/**/MyTest.java{code}
It works with:
{code:java}
mvn surefire:test -Dtest=MyTest{code}
> Surefire 2.12 cannot run a single test, regression from 2.11
> ------------------------------------------------------------
>
> Key: SUREFIRE-827
> URL: https://issues.apache.org/jira/browse/SUREFIRE-827
> Project: Maven Surefire
> Issue Type: Bug
> Components: Junit 4.7+ (parallel) support
> Affects Versions: 2.12
> Environment: Ubuntu 11.10
> Reporter: Andrew Gaul
> Assignee: Kristian Rosenvold
> Priority: Major
> Fix For: 2.12.1
>
> Attachments: BUG-827.zip
>
>
> # Surefire 2.11
> $ mvn test -Dtest=DataTest#testDataServerGetNonExistentFile
> ...
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
> # Surefire 2.12
> mvn test -Dtest=DataTest#testDataServerGetNonExistentFile
> ...
> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)