You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2017/09/15 08:22:00 UTC
[jira] [Closed] (SUREFIRE-1389) Java package regex via command line
selects no tests
[ https://issues.apache.org/jira/browse/SUREFIRE-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tibor Digana closed SUREFIRE-1389.
----------------------------------
Resolution: Not A Bug
Assignee: Tibor Digana
[~elserj]
Closing as you did not read the documentation, i.e. {{pkg/**/Ci*leTest.java}} use forward slash, see http://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.html
> Java package regex via command line selects no tests
> ----------------------------------------------------
>
> Key: SUREFIRE-1389
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1389
> Project: Maven Surefire
> Issue Type: Bug
> Affects Versions: 2.20
> Reporter: Josh Elser
> Assignee: Tibor Digana
>
> We noticed the following problem over in [HBase|https://issues.apache.org/jira/browse/HBASE-18264?focusedCommentId=16082795&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16082795]
> On surefire 2.18.1 and 2.19.1, the following command would have the effect of running all tests which exist in the package {{org.apache.hadoop.hbase.quotas}}:
> {noformat}
> mvn package -Dtest='org.apache.hadoop.hbase.quotas.*'
> {noformat}
> Upon upgrading to 2.20, the same command executes no tests.
> If helpful, plugin configuration (albeit convoluted) can be found at https://github.com/apache/hbase/blob/branch-2/pom.xml. Happy to provide other info to help debug further -- I haven't tried a trivial reproduction.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)