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

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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment