Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3834

Do Not Set Explicit Test Includes in POM

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 3.5.9, 3.6.2
    • None
    • None

    Description

      By default, the Surefire Plugin will automatically include all test classes with the following wildcard patterns:

      "*/Test.java" - includes all of its subdirectories and all Java filenames that start with "Test".
      "**/*Test.java" - includes all of its subdirectories and all Java filenames that end with "Test".
      "**/*Tests.java" - includes all of its subdirectories and all Java filenames that end with "Tests".
      "**/*TestCase.java" - includes all of its subdirectories and all Java filenames that end with "TestCase".

      https://maven.apache.org/surefire/maven-surefire-plugin/examples/inclusion-exclusion.html

      Attachments

        Activity

          People

            belugabehr David Mollitor
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h