You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jonathan Hsieh (JIRA)" <ji...@apache.org> on 2014/12/18 02:04:38 UTC

[jira] [Created] (HBASE-12709) [mvn] Add unit test excludes command line flag to the build.

Jonathan Hsieh created HBASE-12709:
--------------------------------------

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

mvn test -Dexcludes.pattern=**/TestFoo.java,**/TestBar.java

to exclude the unit tests form TestFoo and TestBar in this run. 



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