hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12709) [mvn] Add unit test excludes command line flag to the build.
Date Thu, 18 Dec 2014 02:14:13 GMT

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

Jonathan Hsieh commented on HBASE-12709:
----------------------------------------

can you give me an example?  I can't seem to get the \! character to work properly

> [mvn] Add unit test excludes command line flag to the build. 
> -------------------------------------------------------------
>
>                 Key: HBASE-12709
>                 URL: https://issues.apache.org/jira/browse/HBASE-12709
>             Project: HBase
>          Issue Type: New Feature
>          Components: build
>    Affects Versions: 1.0.0, 2.0.0, 0.98.10
>            Reporter: Jonathan Hsieh
>            Assignee: Jonathan Hsieh
>         Attachments: hbase-12709.master.patch, hbase-12709.patch
>
>
> I've added a simple way to specify unit test classes to skip when executing unit test
runs. 
> I've added a -D variable called test.exclude.pattern that you can using like this:
> {code}
> mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
> {code}
> to exclude the unit tests form TestFoo and TestBar in this run.   By default there is
nothing excluded.



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

Mime
View raw message