maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Thornton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SUREFIRE-1191) Run Single Test with Package Name Doesn't work
Date Wed, 04 Nov 2015 00:27:27 GMT

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

Robert Thornton commented on SUREFIRE-1191:
-------------------------------------------

Tibor Digana

This issue is most definitely a bug.

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)

Mime
View raw message