[ 
https://issues.apache.org/jira/browse/HBASE-12709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Hsieh updated HBASE-12709:
-----------------------------------
    Description: 
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.

  was:
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 hbase.excludes.pattern that you can using like 
this:

mvn test -Dtest.exclude.pattern=\*\*/TestFoo.java,\*\*/TestBar.java

to exclude the unit tests form TestFoo and TestBar in this run.   By default 
there is nothing excluded.


> [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
>
> 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)

Reply via email to