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

Robert Thornton edited comment on SUREFIRE-1191 at 11/4/15 1:16 AM:
--------------------------------------------------------------------

Tibor Digana

This issue is most definitely a bug--not a request for a new feature. Support 
for this feature has been around for a long time.

The following command works for every version of surefire from 2.4 to 2.18:
{code}
mvn org.apache.maven.plugins:maven-surefire-plugin:2.18:test 
-Dtest=mypackage.MyTest
{code}

It only stopped working with surefire:2.19:

{code}
mvn org.apache.maven.plugins:maven-surefire-plugin:2.19:test 
-Dtest=mypackage.MyTest
{code}


was (Author: rptmaestro):
Tibor Digana

This issue is most definitely a bug--not a request for a new feature. Support 
for this feature has been around for a long time.

The following command works for every version of surefire from 2.4 to 2.18:

mvn org.apache.maven.plugins:maven-surefire-plugin:2.18:test 
-Dtest=mypackage.MyTest

It only stopped working with surefire:2.19:

mvn org.apache.maven.plugins:maven-surefire-plugin:2.19:test 
-Dtest=mypackage.MyTest

> Run Single Test with Package Name Doesn't work
> ----------------------------------------------
>
>                 Key: SUREFIRE-1191
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1191
>             Project: Maven Surefire
>          Issue Type: Wish
>    Affects Versions: 2.19
>            Reporter: Gunnar Schmidt
>            Assignee: Tibor Digana
>             Fix For: 3.0
>
>
> Running the following command works:
> mvn test -Dtest=MyTestCaseTest#myTest
> This doesn't work (package name included):
> mvn test -Dtest=my.package.name.MyTestCaseTest#myTest



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to