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] [Created] (HBASE-12709) [mvn] Add unit test excludes command line flag to the build.
Date Thu, 18 Dec 2014 01:04:38 GMT
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)

Mime
View raw message