Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-12709

[mvn] Add unit test excludes command line flag to the build.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0, 0.98.10, 2.0.0
    • 1.0.0, hbase-11339, 0.98.10, 1.1.0
    • build
    • None

    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:

      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.

      Attachments

        1. hbase-12709.master.patch
          1 kB
          Jonathan Hsieh
        2. hbase-12709.patch
          1 kB
          Jonathan Hsieh

        Activity

          People

            jmhsieh Jonathan Hsieh
            jmhsieh Jonathan Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: